/* CSS Variables */
:root {
  --primary-color: #d4a574;
  --secondary-color: #8b4513;
  --accent-color: #ff6b35;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #faf7f2 0%, #f5f0e6 50%, #ede7d6 100%);
  background-attachment: fixed;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 3.5rem;
  color: var(--bg-white);
  font-weight: 700;
}

h2 {
  font-size: 3rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 400;
  line-height: 1.7;
}

/* Hero Section */
.hero {
  height: 65vh;
  min-height: 420px;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.9), rgba(212, 165, 116, 0.8)),
              url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-white);
  transition: var(--transition);
  letter-spacing: -0.01em;
}

.logo-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-inner img {
  height: 40px;
  width: auto;
  display: block;
}

.navbar.scrolled .logo {
  color: var(--secondary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--bg-white);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--secondary-color);
}

/* Hero Content */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--bg-white);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Sections */
.section {
  padding: 80px 0;
}

#media.section {
  padding-top: 30px;
  padding-bottom: 15px;
}

#team.section.section-alt {
  padding-top: 30px;
}

.section-alt {
  background-color: var(--bg-light);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* Instruments Section */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.instrument-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.instrument-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.instrument-card h3 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-size: 1.75rem;
}

.instrument-card p {
  line-height: 1.8;
  color: var(--text-light);
}

.instrument-card .video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.instrument-card .video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* YouTube Shorts - Vertical Video Styling */
.short-video {
  padding-bottom: 177.78%; /* 9:16 aspect ratio */
  max-width: 315px; /* Standard Shorts width */
  margin: 0 auto;
}

.short-video iframe {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-member {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.member-photo {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.photo-placeholder {
  font-size: 4rem;
  color: var(--bg-white);
  opacity: 0.8;
}

.member-info {
  padding: 2.5rem;
  flex: 1;
}

.member-info h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-size: 1.5rem;
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.member-bio {
  line-height: 1.8;
  color: var(--text-light);
}


/* Contact Section */
.contact-list {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-list li {
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--bg-white);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.contact-list strong {
  color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.contact-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Make each card stack title + video nicely */
.media-item {
  display: flex;
  flex-direction: column;
}

/* Small, subtle headers above each video */
.video-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;       /* smaller than normal section headings */
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--text-light); /* or a hex like #666 if you prefer */
}

/* Ensure the video keeps its shape */
.video-container iframe {
  width: 100%;
  aspect-ratio: 16 / 9;     /* keeps nice proportions */
  border-radius: 8px;       /* optional: makes it feel more modern */
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.photo-item {
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.photo-item img {
  width: 100%;
  display: block;
  height: 260px;       /* consistent card height */
  object-fit: cover;   /* fill card, minimal but acceptable cropping */
}

.photo-item img {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-item img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox-overlay.hidden {
  display: none;
}

.lightbox-image-wrapper {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.short-video iframe {
  aspect-ratio: 9 / 16;
}


.contact-form button:hover:not(:disabled) {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.contact-form button:disabled {
  background-color: var(--border-color);
  cursor: not-allowed;
}

.note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: var(--bg-light);
  padding: 2rem 0;
  text-align: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--bg-white);
  margin: 3px 0;
  transition: var(--transition);
}

.navbar.scrolled .mobile-menu-toggle span {
  background-color: var(--text-dark);
}

/* About Page Styles */
.about-page .hero {
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.85), rgba(212, 165, 116, 0.75)),
              url('https://images.unsplash.com/photo-1555127226-18e657c63ee5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-content h2 {
  text-align: left;
  margin-bottom: 2rem;
  font-size: 3rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.instrument-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.instrument-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.instrument-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--bg-white);
  padding: 1.5rem;
  margin: 0;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
}

.instrument-card.detailed {
  padding: 3rem;
}

.instrument-card.detailed h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.instrument-card.detailed p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.instrument-card.detailed p:last-child {
  margin-bottom: 0;
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-content p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.nav-links a.active {
  color: var(--primary-color);
}

.navbar.scrolled .nav-links a.active {
  color: var(--primary-color);
}

/* Scrollbar themed to match site */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f3ebe0; /* light warm background close to page */
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 69, 19, 0.4); /* based on var(--secondary-color) */
  border-radius: 999px;
  border: 2px solid #f3ebe0;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 165, 116, 0.8); /* based on var(--primary-color) */
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 69, 19, 0.5) #f3ebe0;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    color: var(--text-dark);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .instruments-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .about-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-content h2 {
    text-align: center;
  }
  
  .media-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .card {
    padding: 2rem;
  }
}
