/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Color Palette */
    --primary-accent: #B43F69;
    /* Deep Pink/Magenta */
    --secondary-accent: #A2AFA8;
    /* Sage Green */
    --text-dark: #2B2B2B;
    /* Dark Grey */
    --bg-cream: #F5F4EF;
    /* Off-white/Cream */
    --white: #FFFFFF;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 5rem 2rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-dark);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Reusable Components */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-accent);
    color: var(--white);
    border-color: var(--primary-accent);
}

.btn-primary {
    background: var(--primary-accent);
    color: var(--white);
    border-color: var(--primary-accent);
}

.btn-primary:hover {
    background: #963255;
    border-color: #963255;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 3rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    /* backdrop-filter: blur(10px);  Removed blur to avoid visual glitches with colored bar */
    z-index: 1000;
    padding: 0;
    /* Removed padding to let container handle spacing */
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

/* Nav Container spacing */
header .container {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    width: 100%;
}

.name-day-trigger {
    position: relative;
    width: 100%;
    background-color: var(--secondary-accent);
    /* Sage Green */
    color: var(--white);
    text-align: center;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s;
    /* Reset old styles */
    top: auto;
    left: auto;
    transform: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
    white-space: normal;
    z-index: 1001;
    /* Ensure above hero content if margin fails */
}

.name-day-trigger:hover {
    background-color: #8da399;
    /* Slightly darker sage */
    color: var(--white);
    transform: none;
}

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

.logo {
    height: 60px;
    width: auto;
}

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

.nav-links a {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    z-index: -1;
    filter: brightness(0.85);
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 4rem;
    /* Slightly smaller for longer titles */
    margin-bottom: 1rem;
    color: var(--white);
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero .btn {
    border-color: var(--white);
    color: var(--white);
}

.hero .btn:hover {
    background: var(--white);
    color: var(--text-dark);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
}

.about-image {
    margin-top: 4rem;
    /* Push image down to align bottom with specific text */
}

.about-image img {
    width: 100%;
    border-radius: 4px;
}

/* Message Section */
.message-section {
    background-color: var(--bg-cream);
    padding: 6rem 1rem;
    text-align: center;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-accent);
}

.message-sign {
    margin-top: 2rem;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 1rem;
    color: var(--text-dark);
}


/* Services / Offer */
.services {
    padding: var(--section-padding);
}

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

.service-card {
    display: block;
    /* Make anchor act like block */
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    /* Remove underline */
    color: inherit;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-accent);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-more-btn {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-more-btn:hover {
    letter-spacing: 2px;
    border-bottom-color: var(--primary-accent);
}

.services-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1rem;
    color: var(--secondary-accent);
    line-height: 1.7;
    font-family: var(--font-sans);
    font-weight: 300;
}

.services-note-accent {
    color: var(--primary-accent);
    font-weight: 400;
}

/* Gallery */
.gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

/* JS-generated featured item */
.gallery-item--featured {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
    cursor: pointer;
}

/* Opening Hours Section */
.opening-hours {
    background-color: var(--primary-accent);
    padding: 2.5rem 1.5rem;
}

.opening-hours-inner {
    max-width: 65%;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border-radius: 22px;
    padding: 2.2rem 3rem 1.8rem;
    box-shadow: 0 4px 24px rgba(180, 63, 105, 0.13);
}

.opening-hours-inner h2 {
    font-size: 2.2rem;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hours-table {
    border-top: 1px solid rgba(180, 63, 105, 0.18);
    margin-bottom: 1.4rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(180, 63, 105, 0.18);
    gap: 2rem;
}

.hours-day {
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--primary-accent);
    text-align: left;
}

.hours-time {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-accent);
    text-align: right;
    white-space: nowrap;
}

.hours-note {
    font-size: 0.85rem;
    color: rgba(180, 63, 105, 0.75);
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 1.4rem;
    padding: 0 0.5rem;
}

.hours-social .social-icons a {
    color: var(--primary-accent);
}

/* Contact */
.contact {
    padding: var(--section-padding);
    background-color: var(--secondary-accent);
    color: var(--white);
}

.contact h2 {
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
    font-size: 3.5rem;
    /* Larger prominent heading */
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: stretch;
    /* crucial for equal height */
}

.map-container {
    height: 100%;
    width: 100%;
    min-height: 300px;
    /* Fallback */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    /* Removes bottom space */
}

.contact-info-block {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.contact-small-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    /* Help keep on one line if space permits */
}

.contact-large-number {
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
    color: var(--white);
    line-height: 1.2;
}

.contact-email-bold {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.social-icons a {
    color: var(--white);
    transition: transform 0.2s ease, opacity 0.2s;
}

.social-icons a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}


/* Footer */
footer {
    background: var(--text-dark);
    color: #999;
    padding: 4rem 1rem;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

footer .footer-company-info {
    margin-top: 0.8rem;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.6;
}

footer .footer-company-info strong {
    font-weight: 600;
    color: #999;
}

/* Detail Page Styles */
.detail-hero {
    height: 15vh;
    background-color: var(--secondary-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 130px;
    /* Offset for fixed header + sticky bar */
    color: var(--white);
    text-align: center;
    position: relative;
}

.detail-content {
    padding: 2rem 1rem;
    background: var(--white);
}

.detail-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.detail-description {
    padding-bottom: 0;
}

.detail-description .section-subtitle {
    margin-bottom: 0.5rem;
}

.detail-description h2 {
    margin-bottom: 1rem;
}

.detail-description {
    max-width: 800px;
    margin: 0 auto;
}

.detail-description .btn {
    margin-top: 2rem;
    display: inline-block;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.detail-gallery img {
    border-radius: 4px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
}

.modal-contact-details {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.modal-contact-details a {
    color: var(--primary-accent);
    font-weight: 600;
}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

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

    .about-image {
        margin-top: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Fix map height on mobile */
    .map-container {
        height: 300px;
        width: 100%;
    }

    /* Opening Hours mobile */
    .opening-hours {
        padding: 1.8rem 1rem;
    }

    .opening-hours-inner {
        max-width: 95%;
        padding: 1.6rem 1.2rem 1.3rem;
        border-radius: 16px;
    }

    .opening-hours-inner h2 {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    .hours-row {
        padding: 0.6rem 0.5rem;
        gap: 1rem;
    }}

/* Legacy styles removed to fix sticky bar conflict */

.name-day-list {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.name-day-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.name-day-item.today {
    font-weight: 700;
    color: var(--primary-accent);
    border-bottom: 2px solid var(--primary-accent);
}

.name-day-date {
    color: #888;
}

.header-socials a {
    color: var(--text-dark);
    line-height: 0;
    transition: color 0.3s;
}

.header-socials a:hover {
    color: var(--primary-accent);
}

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

/* Subtle Button for Gallery Link */
.btn-subtle {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-subtle:hover {
    color: var(--primary-accent);
    border-bottom: 1px solid var(--primary-accent);
    letter-spacing: 2px;
}

/* Image Modal Styles */
.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.close-image-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

.close-image-modal:hover {
    color: var(--primary-accent);
}
/* Back Arrow for Subpages */
.back-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.back-arrow:hover {
    opacity: 1;
}

.back-arrow svg {
    flex-shrink: 0;
}
