/* MODERN THEME - Complete Style Overhaul */

:root {
  /* Primary Colors */
  --primary-dark: #1a3a52;
  --primary-light: #2d5a8c;
  --accent-gold: #d4af37;
  --accent-warm: #c8735c;
  
  /* Text Colors */
  --text-dark: #2b3e50;
  --text-light: #5a6c7d;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-alt: #e8ecf3;
  
  /* Border & Shadows */
  --border-color: #e0e6ed;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body,
.u-body,
.u-body.u-xl-mode {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
}

img,
picture,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.u-text-1,
.u-text-2,
.u-text-3,
.u-text-4,
.u-text-5,
.u-text-6 {
  color: var(--primary-dark);
  font-family: 'Georgia', 'Garamond', serif;
}

h1, .u-text-1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2, .u-text-2 {
  font-size: 2rem;
  font-weight: 600;
}

h3, .u-text-3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p, li,
.u-text,
.u-form-label,
.u-label-1 {
  color: var(--text-dark);
  line-height: 1.8;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-warm);
  border-bottom: 1px solid var(--accent-warm);
}

/* Sections */
.u-sheet-1 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.u-section-1,
.u-section-2,
.u-section-3,
.u-section-4,
.u-section-5 {
  padding: 3rem 0;
}

.u-section-1 .u-sheet-1,
.u-section-2 .u-sheet-1,
.u-section-3 .u-sheet-1,
.u-section-4 .u-sheet-1,
.u-section-5 .u-sheet-1 {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

/* Header */
header#kavaHeader,
header.u-header,
.u-header {
  background: var(--bg-white);
  border-bottom: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header#kavaHeader .u-sheet-1,
.u-header .u-sheet-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.u-logo,
.u-logo-image {
  max-height: 50px;
  width: auto;
}

/* Navigation */
.u-menu-1,
.u-nav-1,
.u-nav-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.u-nav-link,
.u-button-style {
  color: var(--text-dark) !important;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.u-nav-link:hover,
.u-button-style:hover {
  color: var(--accent-warm) !important;
  border-bottom-color: var(--accent-warm);
}

/* Buttons */
.u-btn,
.u-btn-1,
.u-btn-2,
.u-btn-3,
button,
input[type=submit],
input[type=button],
.u-form-send-button {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: white !important;
  border: none;
  box-shadow: var(--shadow-md);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.u-btn:hover,
.u-btn-1:hover,
.u-btn-2:hover,
.u-btn-3:hover {
  background: linear-gradient(135deg, #0f2335 0%, #1f4a6f 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Forms */
.u-form-1 {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.u-form-1 .u-input,
.u-form-1 .u-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-white);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.u-form-1 .u-input:focus,
.u-form-1 .u-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45, 90, 140, 0.1);
}

select {
  cursor: pointer;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em 1.2em;
}

/* Audio Players */
.audio-player,
audio {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

audio {
  height: 40px;
}

/* Footer */
footer#kavaFooter,
.u-footer,
footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

footer#kavaFooter a,
footer#kavaFooter p,
.u-footer a,
.u-footer p {
  color: rgba(255, 255, 255, 0.8);
}

footer#kavaFooter a:hover,
.u-footer a:hover {
  color: var(--accent-gold);
}

footer h3,
footer h4 {
  color: var(--accent-gold);
}

/* Text Utilities */
.u-text-white,
.u-text-white a {
  color: #fff !important;
}

/* Responsive */
@media (max-width: 991px) {
  .u-sheet-1 {
    padding: 1.5rem 1.2rem;
  }

  header#kavaHeader .u-sheet-1,
  .u-header .u-sheet-1 {
    justify-content: center;
    text-align: center;
  }

  .u-nav-link,
  .u-button-style {
    width: auto;
  }
}

@media (max-width: 768px) {
  h1, .u-text-1 {
    font-size: 2rem;
  }

  h2, .u-text-2 {
    font-size: 1.5rem;
  }

  .u-sheet-1 {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 675px) {
  .u-form-1,
  .u-btn,
  .u-btn-1,
  .u-btn-2,
  .u-btn-3 {
    width: 100%;
  }
}
