:root {
    --primary-color: #d4a574;
    --secondary-color: #8b6f47;
    --accent-color: #e8d5c4;
    --text-dark: #2c2416;
    --text-light: #f9f6f3;
    --background-light: #fdfbf8;
    --background-cream: #f4ede4;
    --shadow-soft: 0 4px 20px rgba(139, 111, 71, 0.1);
    --shadow-medium: 0 8px 30px rgba(139, 111, 71, 0.15);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: var(--primary-color);
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow-medium);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--background-light);
        flex-direction: column;
        padding: 80px 30px;
        gap: 1.5rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-logo {
        font-size: 1.4rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-decoration {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-decoration {
        width: 400px;
        height: 400px;
        right: -200px;
        top: -50px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 111, 71, 0.25);
}

/* About Section */
.about-section {
    padding: 100px 20px;
    background: var(--background-light);
}

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

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    margin: 0 auto;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.image-placeholder svg {
    width: 70%;
    height: 70%;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.about-highlight {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.2rem !important;
    margin-top: 1.5rem !important;
}

/* Services Section */
.services-section {
    padding: 100px 20px;
    background: var(--background-cream);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 900;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

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

.service-icon {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    overflow: hidden;
    border-radius: 50%;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.service-card p {
    text-align: center;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 20px;
    background: var(--background-light);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(212, 165, 116, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}

.gallery-modal.active {
    display: flex !important;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    cursor: default;
    animation: modalZoom 0.3s ease;
}

@keyframes modalZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: rgba(212, 165, 116, 0.9);
    border: none;
    cursor: pointer;
    z-index: 10000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--primary-color);
}

/* Contact Section */
.contact-section {
    padding: 100px 20px;
    background: var(--background-cream);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3,
.contact-hours h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-detail {
    font-size: 1.1rem;
    margin: 0.8rem 0;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link.facebook {
    background: #1877f2;
    color: white;
}

.social-link.facebook:hover {
    background: #0d5dc7;
    transform: translateY(-3px);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(188, 24, 136, 0.4);
}

.hours-list {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--accent-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item span:first-child {
    font-weight: 600;
    color: var(--secondary-color);
}

.hours-note {
    margin-top: 1.5rem;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 30px 20px;
}

.footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

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

    .hero {
        min-height: 80vh;
        padding: 80px 15px 40px 15px;
    }

    .services-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

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

    .social-links {
        flex-direction: column;
    }

    /* Mobile modal close button - larger and more visible */
    .modal-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    /* Mobile modal content */
    .modal-content {
        max-width: 95vw;
        max-height: 85vh;
        padding: 0;
    }

    .modal-content img {
        max-width: 95vw;
        max-height: 85vh;
        border-radius: 5px;
    }

    /* Mobile gallery */
    .gallery-modal {
        padding: 10px;
    }

    /* Ensure hero title is readable */
    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

    /* Mobile menu already handled, ensure it works */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1001;
    }

    /* Adjust section padding for mobile */
    .about-section,
    .services-section,
    .gallery-section,
    .contact-section {
        padding: 60px 15px;
    }

    /* Make sure service icons are visible on mobile */
    .service-icon {
        width: 120px;
        height: 120px;
    }
}

/* Smooth Animations on Scroll */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .gallery-item {
        animation: fadeIn 0.6s ease backwards;
    }

    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}
