/* ==========================
   Theme Variables
========================== */
:root {
  --primary: #1bb6b1;
  --accent: #e0b15c;
  --dark: #222;
  --light: #ffffff;
  --muted: #666;
}

/* ==========================
   Base Styles
========================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--dark);
  background-color: var(--light);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================
   Header
========================== */
.site-header {
  background: var(--light);
  border-bottom: 1px solid #eee;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo span {
  color: var(--primary);
}

nav a {
  margin-left: 1.25rem;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

nav a:hover {
  color: var(--primary);
}

/* ==========================
   Hero
========================== */
.hero {
  background: linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.45)
    ),
    url("../images/hero-placeholder.jpg") center / cover no-repeat;
  color: var(--light);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  background: var(--accent);
  color: var(--dark);
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
}

.cta-button:hover {
  background: #cfa048;
}

/* ==========================
   About
========================== */
.about {
  padding: 4rem 0;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
}

/* ==========================
   Footer
========================== */
.site-footer {
  background: #f8f8f8;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================
   Page Hero
========================== */
.page-hero {
  background: linear-gradient(
      rgba(27, 182, 177, 0.85),
      rgba(27, 182, 177, 0.85)
    );
  color: var(--light);
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================
   Classes
========================== */
.classes {
  padding: 4rem 0;
}

.class-category {
  margin-bottom: 3rem;
}

.class-category h2 {
  color: var(--primary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.class-category ul {
  list-style: none;
  padding: 0;
}

.class-category li {
  padding: 0.4rem 0;
  font-size: 1.05rem;
  border-bottom: 1px dashed #ddd;
}

/* Weddings Highlight */
.class-category.highlight {
  background: #f9f9f9;
  padding: 2rem;
  border-left: 5px solid var(--accent);
}

.class-category.highlight p {
  font-size: 1.05rem;
  color: var(--muted);
}

/* ==========================
   Classes Grid & Cards
========================== */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.class-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.class-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-content h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.card-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-content li {
  padding: 0.35rem 0;
  border-bottom: 1px dashed #ddd;
  font-size: 1rem;
}

/* ==========================
   Card Button
========================== */
.card-button {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.6rem 1.5rem;
  background: var(--primary);
  color: var(--light);
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.card-button:hover {
  background: #159a96;
  transform: translateY(-2px);
}

/* Accent button for highlighted card */
.highlight-card .card-button {
  background: var(--accent);
  color: var(--dark);
}

.highlight-card .card-button:hover {
  background: #cfa048;
}


/* ==========================
   Highlight Card (Weddings)
========================== */
.highlight-card {
  border-top: 5px solid var(--accent);
}

.highlight-card p {
  font-size: 1.05rem;
  color: var(--muted);
}


/* ==========================
   Active Nav Link
========================== */
nav a.active {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================
   Contact Form
========================== */
.contact {
  padding: 4rem 0;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

#form-status {
  margin-top: 1rem;
  font-weight: 600;
}

/* ==========================
   Contact Grid
========================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ==========================
   Instructor Card
========================== */
.instructor-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.instructor-card img {
  width: 100%;
  max-width: 340px;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.instructor-card h2 {
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.instructor-title {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
}

.instructor-card p {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

/* ==========================
   Social Links
========================== */
.social-links {
  margin-top: 1.25rem;
}

.social-links a {
  display: inline-block;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--primary);
}

.social-links a:hover {
  text-decoration: underline;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    order: 1;
  }

  .contact-form-container {
    order: 2;
  }
}

/* ==========================
   Gallery
========================== */
.gallery {
  padding: 4rem 0;
}

.gallery-event {
  margin-bottom: 4rem;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.event-header h2 {
  color: var(--primary);
  font-size: 1.9rem;
  margin: 0;
}

.event-date {
  font-weight: 600;
  color: var(--muted);
  font-size: 1rem;
}

.event-description {
  margin: 1rem 0 1.75rem;
  max-width: 800px;
  color: var(--dark);
  font-size: 1.05rem;
}

/* ==========================
   Image Grid
========================== */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.event-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* ==========================
   Events
========================== */
.events {
  padding: 4rem 0;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ==========================
   Event Card
========================== */
.event-card {
  display: flex;
  gap: 2rem;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  align-items: flex-start;
}

.event-date-box {
  background: var(--primary);
  color: var(--light);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  min-width: 90px;
}

.event-month {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.event-day {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.event-year {
  font-size: 0.85rem;
  opacity: 0.9;
}

.event-details h2 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.6rem;
}

.event-details p {
  margin: 0.75rem 0 1.25rem;
  font-size: 1.05rem;
  color: var(--dark);
  max-width: 800px;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
    align-items: stretch;
  }

  .event-date-box {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  .event-day {
    font-size: 1.8rem;
  }
}

/* ==========================
   Logo
========================== */
.logo img {
  height: 64px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 52px;
  }
}

.footer-logo {
  height: 48px;
  margin-bottom: 0.75rem;
}

/* ==========================
   Logo Card (Header)
========================== */
.logo-card {
  border: 1px solid rgba(27, 182, 177, 0.35); /* turquoise */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.logo-card img {
  height: 72px;
  width: auto;
  display: block;
}

.site-logo {
  height: 64px;
  width: auto;
}

@media (max-width: 768px) {
  .logo-card img {
    height: 52px;
  }
}

/* ==========================
   Social Links (Contact Page)
========================== */
.social-links {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a.social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.social-links a.social svg {
  width: 36px;   /* ⬅ smaller icon */
  height: 36px;
  flex-shrink: 0;
}

/* Platform colors */
.social-links a.facebook svg {
  fill: #1877F2; /* Facebook blue */
}

.social-links a.instagram svg {
  fill: #E1306C; /* Instagram pink */
}

.social-links a.linkedin svg {
  fill: #0A66C2; /* LinkedIn blue */
}

/* Hover effect (subtle, professional) */
.social-links a.social:hover {
  transform: translateY(-1px);
}

/* ==========================
   Merchandise
========================== */
.merchandise {
  padding: 4rem 0;
}

.merchandise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

/* ==========================
   Merchandise Card
========================== */
.merch-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.merch-card img {
  max-width: 200px;
  margin-bottom: 1.25rem;
}

.merch-card h2 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.merch-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.merch-card .price {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* ==========================
   Size Selector
========================== */
.size-select {
  margin: 0.75rem 0 1rem;
  text-align: center;
}

.size-select label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.size-select select {
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* ==========================
   Mobile Navigation
========================== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Desktop */
.site-nav {
  display: flex;
  gap: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {

  /* Show hamburger */
  .nav-toggle {
    display: block;
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
  }

  /* Header anchor */
  .header-content {
    position: relative;
    padding-bottom: 0;   /* FIX #1 */
  }

  /* Mobile menu */
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    display: none;
    flex-direction: column;
    margin: 0;
    padding: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .site-nav.open {
    display: flex;
  }

  /* Menu items */
  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    height: 44px;
    padding: 0 1rem;
    margin: 0;           /* FIX #2 */

    font-size: 0.95rem;
    line-height: 1;
    border-bottom: 1px solid #eeeeee;
    text-decoration: none;
    color: inherit;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }
}




.header-content {
  position: relative;
}