:root {
  --primary-color: #1B3022;
  /* Dark Forest Green */
  --secondary-color: #4B644A;
  /* Medium Sage Green */
  --accent-color: #1B3022;
  /* Dark Forest Green (used for accents) */
  --text-color: #333333;
  --bg-color: #F8F9F5;
  /* Off-white/Cream */
  --light-gray: #E2E4DE;
  /* Light Neutral Gray */
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-gray);
}

/* Fix for sticky header covering section titles */
section[id] {
  scroll-margin-top: 160px;
}

/* Mobile: Adjust scroll margin for smaller header */
@media (max-width: 768px) {
  section[id] {
    scroll-margin-top: 100px;
  }
}

/* Header */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 2100;
}

.top-bar {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 0;
  font-size: 1.1rem;
}

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

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-info span {
  margin-right: 15px;
}

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

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: 90px;
  width: auto;
  transition: var(--transition);
  mix-blend-mode: multiply;
}

.logo img:hover {
  opacity: 0.8;
}

/* Navigation */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(27, 48, 34, 0.6), rgba(75, 100, 74, 0.6)), url('images/index_hero_pinar.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 0;
  text-align: center;
  border-bottom: 1px solid #e1e4e8;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h3 {
  font-size: 1.2rem;
  color: white;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid #e1e4e8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--box-shadow);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img {
  height: 200px;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 600;
  overflow: hidden;
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card-body p {
  color: #555;
  line-height: 1.6;
}

/* Prices Table */
.prices-section {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
  margin-top: 2rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
}

.prices-table-container {
  overflow-x: auto;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  background: white;
  width: fit-content;
  margin: 0 auto;
}

.prices-table {
  width: auto;
  border-collapse: collapse;
  min-width: unset;
}

.prices-table th,
.prices-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.prices-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.prices-table tr:last-child td {
  border-bottom: none;
}

.prices-table tr:hover {
  background-color: #f0f9ff;
}

/* About Section */
.about-section {
  padding: 4rem 0;
  background-color: var(--bg-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 400px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.8;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background-color: var(--light-gray);
}

.contact-section h2 {
  color: var(--accent-color);
  margin-bottom: 3rem;
}

.contact-section .section-title::after {
  background-color: var(--primary-color);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: stretch;
}

/* Contact Form */
.contact-form-wrapper,
.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  flex: 1;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e1e4e8;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(27, 48, 34, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.submit-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27, 48, 34, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Checkbox Group */
.checkbox-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.2rem;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label span {
  flex: 1;
  line-height: 1.5;
  color: var(--text-color);
  font-size: 0.95rem;
}

/* Contact Info Box */
.contact-info-box {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.info-section {
  margin-bottom: 2rem;
}

.info-section h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.info-section p {
  color: #555;
  line-height: 1.8;
  margin: 0;
  font-size: 1rem;
}

/* Full Width Map Container */
.map-container-full {
  margin-top: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-top: 2px solid var(--primary-color);
  width: 100%;
}

.map-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.map-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.map-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  color: var(--primary-color);
}

.map-overlay-text span {
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: #1B3022;
  /* Darker than accent */
  color: white;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

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

  /* Reduce header size on mobile */
  .top-bar {
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }
}

/* Mobile Menu - Hidden by default on desktop */
.hamburger-menu,
.mobile-menu,
.mobile-menu-overlay {
  display: none;
}

/* Helper class for JS */
body.no-scroll {
  overflow: hidden;
}

/* Mobile: Adjust Header and Navigation */
@media (max-width: 768px) {

  /* Show Hamburger */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
    /* Higher than menu */
  }

  .hamburger-menu span {
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: center;
  }

  /* Mobile Menu Styles */
  .mobile-menu {
    display: flex;
    /* Reset display for mobile */
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100vh;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease-in-out;
    z-index: 2000;
    padding-top: 80px;
    flex-direction: column;
  }

  .mobile-menu.active {
    left: 0;
  }

  .mobile-menu-overlay {
    display: none;
    /* Hidden until active */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }

  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav-links li {
    border-bottom: 1px solid #eee;
  }

  .mobile-nav-links a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: background-color 0.2s;
  }

  .mobile-nav-links a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
  }

  /* Hamburger active animation */
  .hamburger-menu.active span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hide default nav */
  .main-nav {
    display: none;
  }

  /* Container Width Adjustment */
  .container {
    width: 100%;
    padding: 0 1.5rem;
  }


  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .contact-info span {
    display: block;
    margin: 0;
    font-size: 0.8rem;
  }

  /* Main Header Layout */
  .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    position: relative;
    /* For logo centering */
    height: 80px;
  }

  /* Logo - Centered and Large */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo img {
    height: 80px;
    /* Larger logo */
    width: auto;
    mix-blend-mode: multiply;
  }

  /* Reduce hero section padding */
  .hero {
    padding: 2.5rem 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Convert pricing table to card layout on mobile */
  .prices-table-container {
    overflow-x: visible;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .prices-table {
    min-width: unset;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .prices-table thead {
    display: none;
  }

  .prices-table tbody {
    display: block;
  }

  .prices-table tr {
    display: block;
    margin-bottom: 1.5rem;
    /* Increased margin for better separation */
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Slightly stronger shadow */
    border: 1px solid #eee;
    overflow: hidden;
  }

  .prices-table tr:hover {
    background-color: white;
  }

  .prices-table td {
    display: block;
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .prices-table td:last-child {
    border-bottom: none;
  }

  .prices-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    text-transform: uppercase;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 300px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }


  .contact-info-box {
    padding: 1.5rem;
  }

  .map-container-full {
    margin-top: 2rem;
  }
}

/* Dress text */
.dress-text {
  text-align: justify;
}