html {
    scroll-behavior: smooth;
}

:root {
    /* Brand colors */
    --color-primary-green: #3F5D50;
    --color-seconday-green: #6F8F7A;

    /* Accent colors */
    --color-brown: #7A5C3A;
    --color-cream: #F7F1EA;
    --color-cream-light: #FBF8F3; /* New light cream for alternating sections */

    /* Text colors */
    --color-text-primary: #2E2E2E;
    --color-text-muted: #5F5F5F;
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-text-primary);
    line-height: 1.2;
    margin: 0;
}

address {
    font-style: normal;
}

figure {
    margin: 0;
}



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


/* Header */
.header {
    background-color: var(--color-cream);
    padding: 0.5rem 0; /* Reduce padding for a tighter header */
    border-bottom: 1px solid #e0d8cf;
    position: relative;
    z-index: 500;
}

#scrolling-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    background-color: rgba(247, 241, 234, 0.95); /* Slightly less transparent */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e0d8cf;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

#scrolling-header.visible {
    transform: translateY(0);
    opacity: 1;
}

#scrolling-header .navbar .logo {
    display: flex; /* Ensure logo container is a flex item */
    align-items: center; /* Vertically align logo image */
}

#scrolling-header .header-logo {
    height: 40px; /* Slightly smaller logo for the scrolling header */
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-green);
    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-item a {
    color: var(--color-text-primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.burger {
    display: none;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        align-items: center;
        gap: 2.5rem;
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .burger {
        display: inline-block;
        font-size: 1.8rem;
        color: var(--color-primary-green);
        cursor: pointer;
        z-index: 1100;
    }
}

/* Menu container */
.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #111;
  color: #fff;

  /* hidden by default */
  transform: translateX(100%);
  transition: transform 0.35s ease-in-out;

  padding: 2rem;
  z-index: 1000;
}

/* Open state */
.side-menu.open {
  transform: translateX(0);
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu li {
  margin: 1.5rem 0;
}

.side-menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

@media (min-width: 769px) {
    .side-menu, .side-menu ul {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}


.btn-primary {
    background-color: var(--color-primary-green);
    color: #fff;
    border-color: var(--color-primary-green);
}

.btn-primary:hover {
    background-color: var(--color-seconday-green);
    border-color: var(--color-seconday-green);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary-green);
    border-color: var(--color-primary-green);
}

.btn-secondary:hover {
    background-color: var(--color-primary-green);
    color: #fff;
}

@media (max-width: 768px) {
    .btn-secondary {
        display: none;
    }
}


/* Hero Section */
.hero {
    padding: 6rem 0; /* Slightly more padding */
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content when max-width is applied */
    gap: 4rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.hero-content {
    max-width: 500px; /* Control text width */
    text-align: left;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem; /* Make title more prominent */
    color: var(--color-primary-green);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.15rem; /* Slightly larger text */
    margin-bottom: 2.5rem; /* More space below text */
    color: var(--color-text-muted);
}

.hero-image {
    flex: 1;
    max-width: 450px; /* Reduced image width */
    text-align: center;
}

.hero-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}

/* Responsive for Hero */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-image {
        margin-top: 3rem;
        max-width: 100%;
    }
}


/* Services Section */
.services {
    padding: 6rem 0; /* More padding */
    background-color: var(--color-cream); /* Main cream background */
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--color-primary-green);
    margin-bottom: 1rem; /* Adjusted margin */
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 4rem; /* Space below subtitle */
}

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

.pricing-card {
    background-color: var(--color-cream-light);
    border: 1px solid #e0d8cf;
    border-radius: 8px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    background-color: var(--color-primary-green);
    color: #fff;
    transform: scale(1.05);
    border-color: var(--color-primary-green);
}

.pricing-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--color-primary-green);
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
    transition: color 0.3s ease;
}

.pricing-card:hover h3 {
    color: #fff;
}

.pricing-card-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.pricing-card:hover .pricing-card-description {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-divider {
    border: 0;
    height: 1px;
    background-color: #e0d8cf;
    margin: 0 0 1.5rem 0;
    transition: background-color 0.3s ease;
}

.pricing-card:hover .pricing-divider {
    background-color: rgba(255, 255, 255, 0.2);
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #d3c9bd;
    margin: 0;
    transition: border-color 0.3s ease;
}

.pricing-card:hover .price-item {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.price-item span {
    transition: color 0.3s ease;
}

.price-item span:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
}

.price-item span:last-child {
    font-weight: 700;
    color: var(--color-primary-green);
}

.pricing-card:hover .price-item span {
    color: #fff;
}

@media (max-width: 992px) {
    .pricing-card.featured {
        transform: scale(1); /* Don't scale on tablet/mobile */
    }
}

/* Footer Section */
.footer {
    background-color: var(--color-primary-green);
    color: var(--color-cream);
    padding: 4rem 0 2rem 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--color-cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-about p {
    color: var(--color-cream);
    line-height: 1.7;
    max-width: 350px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
}

.copyright a {
    color: var(--color-cream);
    font-weight: 700;
}

.footer .social-links {
    display: flex;
    gap: 1.5rem;
}

.footer .social-links a {
    color: var(--color-cream);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #fff;
}

/* Responsive for Footer */
@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about p {
        margin: 0 auto 1rem auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background-color: var(--color-cream-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: minmax(120px, auto);
    grid-auto-flow: dense;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-tag {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.gallery-item-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.gallery-item-1 {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item-2 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-3 {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item-4 {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-5 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item-6 {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item-7 {
    grid-column: span 2;
    grid-row: span 1;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Reset all spans for mobile and define a simpler layout */
    .gallery-item-1,
    .gallery-item-2,
    .gallery-item-3,
    .gallery-item-4,
    .gallery-item-5,
    .gallery-item-6,
    .gallery-item-7 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item-1, .gallery-item-7 {
      grid-column: span 2; /* Make first and last wider on mobile */
      grid-row: span 1;
    }
}


/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--color-cream);
}

.about .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.about-image {
    flex: 1;
    max-width: 450px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-content {
    flex: 1;
    max-width: 600px;
}

.section-title-left {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--color-primary-green);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: left;
}

.about-subtitle {
    font-weight: 700;
    color: var(--color-brown);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-signature {
    font-family: 'Playfair Display', serif; /* A more elegant, script-like font would be ideal here */
    font-size: 2rem;
    color: var(--color-primary-green);
    margin-top: 2rem;
    text-align: left;
}


/* Responsive for About Section */
@media (max-width: 992px) {
    .about .container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .section-title-left,
    .about-signature {
        text-align: center;
    }
}

/* Scroll Animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.contact .container {
    display: flex;
    gap: 4rem;
    align-items: center; /* Changed to center for better visual alignment */
}

.contact-content {
    flex: 1;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.contact-details .contact-item {
    margin-bottom: 1.5rem;
}

.contact-details .contact-item strong {
    display: block;
    font-size: 1rem;
    color: var(--color-primary-green);
    margin-bottom: 0.3rem;
}

.contact-details .contact-item p {
    margin: 0;
    color: var(--color-text-muted);
}

.contact-details .contact-item a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details .contact-item a:hover {
    color: var(--color-primary-green);
}

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 10px;
}

/* Responsive for Contact Section */
@media (max-width: 992px) {
    .contact .container {
        flex-direction: column;
    }

    .contact-content {
        text-align: center;
    }

    .contact-details .contact-item strong {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-map {
        width: 100%; /* Ensure map takes full width */
    }
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    font-size: 1.8rem;
    color: var(--color-primary-green);
    cursor: pointer;
}


