/* Global Styles */
:root {
    --color-background: #FFFFFF;
    --color-text: #1E1E1E;
    --color-text-light: #4a4a4a;
    --color-accent: #ebe0d88f;
    --color-button: #ff000000;
    --color-footer: #fff8f0;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'PT Serif', serif;
    --font-decorative: 'Source Sans 3', sans-serif;
    --spacing-unit: 10px;
    --content-width: 1440px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.179), 16px);
    line-height: 1.65;
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Layout */
.wp-site-blocks {
    width: 100%;
    overflow: hidden;
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header */
.header {
    background-color: var(--color-accent);
    padding: 20px 40px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-family: var(--font-secondary);
    font-size: clamp(15.747px, 0.984rem + ((1vw - 3.2px) * 0.737), 24px);
    font-weight: 600;
}

.site-title a {
    text-decoration: none;
    color: var(--color-text);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link svg {
    fill: currentColor;
}

.book-button {
    display: inline-block;
    padding: 14px 22px;
    border: 3px solid var(--color-text);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    background-color: var(--color-button);
    transition: background-color 0.3s ease;
}

.book-button:hover {
    background-color: var(--color-text);
    color: var(--color-background);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background-image: url(./images/background1.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-decorative);
    font-size: clamp(72.137px, 4.509rem + ((1vw - 3.2px) * 7.845), 160px);
    font-weight: 900;
    letter-spacing: 19px;
    color: var(--color-text);
}

.hero-subtitle {
    font-family: 'Alegreya', serif;
    font-size: 16px;
    letter-spacing: 5px;
    font-weight: 500;
    margin-top: 20px;
}

.scroll-button {
    display: inline-block;
    margin-top: 50px;
    font-family: 'Rufina', serif;
    color: #c4bcb0;
    text-decoration: none;
    font-weight: bold;
    font-size: 24px;
}

/* Showcase Section */
.showcase {
    min-height: 630px;
    background-image: url(./images/background3.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    min-height: 50rem;
    background-image: url(./images/background4.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: clamp(50.171px, 3.136rem + ((1vw - 3.2px) * 4.449), 100px);
    font-weight: 900;
    letter-spacing: 6px;
    color: #3c3b3b;
    margin-bottom: 40px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about p {
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.268), 17px);
    color: var(--color-text-light);
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.about-image {
    flex: 0 0 380px;  /* Smaller fixed width */
    height: 380px;    /* Smaller fixed height */
    border-radius: 50%;
    overflow: hidden;
    margin-left: 20px; /* Add some space from the text */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gallery Section */
.gallery {
    padding: 80px 40px;
    position: relative;
    background-image: url(./images/background1.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;  /* Ensure gallery images appear above the overlay */
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

/* Pricing Section */
.pricing {
    background-color: var(--color-footer);
    padding: 80px 40px;
}

.pricing h2 {
    text-align: center;
    font-weight: 800;
    margin-bottom: 40px;
    background-color: #ffdfc03d;
    display: inline-block;
    padding: 10px 20px;
    margin: 0 auto 40px;
    display: block;
    width: fit-content;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--color-background);
    border: 1px solid var(--color-text);
    padding: 30px 40px 50px;
}

.pricing-card.featured {
    border-width: 2px;
}

.card-label {
    font-size: 14px;
    font-weight: 700;
}

.price {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0 20px;
}

.features {
    list-style: none;
    margin-bottom: 20px;
}

.features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.features li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--color-text);
}

.book-now {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    background-color: #f6e4d3;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3px;
    transition: background-color 0.3s ease;
}

.pricing-card.featured .book-now {
    background-color: var(--color-text);
    color: #ffe3cd;
}

/* Stats Section */
.stats {
    padding: 60px 40px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-style: italic;
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: var(--color-footer);
    padding: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.designer-credit {
    background-color: #2d2d2d;
    color: var(--color-footer);
    text-decoration: none;
    padding: 20px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .about-container {
        flex-direction: column;
    }

    .hero-title {
        font-size: clamp(40px, 8vw, 120px);
        letter-spacing: 10px;
    }

    .pricing-container {
        grid-template-columns: 1fr;
    }

    /* Adjust sections for mobile */
    .hero, .showcase, .about, .gallery {
        min-height: auto;
        background-attachment: scroll; /* Disable parallax on mobile */
        padding: 40px 20px;
    }

    .about-content {
        padding: 20px 0;
    }

    /* Ensure content fills the space */
    .about-container {
        margin: 0;
        gap: 20px;
    }

    .gallery-grid {
        gap: 15px;
    }
}

/* Parallax Effect */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}