@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
    /* Primary Colors - Vibrant Beige & Warm Tones */
    --color-primary: #f4d9a6;
    --color-primary-light: #fff8e7;
    --color-primary-dark: #e0bb7f;

    /* Accent Colors - Lively Pastels */
    --color-accent-sage: #a8d5ba;
    --color-accent-blush: #ffb3c1;
    --color-accent-lavender: #d4b5f0;
    --color-accent-peach: #ffcdb2;

    /* Text Colors */
    --color-text-primary: #3d2f1f;
    --color-text-secondary: #6b5746;
    --color-text-light: #8f7a64;

    /* Background Colors */
    --color-bg-main: #fffef9;
    --color-bg-section: #fff4e0;
    --color-bg-card: #ffffff;

    /* Border Colors */
    --color-border: #f4d9a6;
    --color-border-light: #ffe8c5;

    /* Button Colors */
    --color-button-primary: #d4a574;
    --color-button-primary-hover: #c08d5a;
    --color-button-text: #ffffff;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Add scroll margin to sections for better anchor positioning */
#services-section,
#creators-section,
#planning-section {
    scroll-margin-top: 100px;
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--color-bg-main);
    color: var(--color-text-primary);
}

/* Prevent flash of unstyled content on initial load */
body {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

body.loaded {
    opacity: 1;
}

h1 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 2.986rem;
    color: var(--color-text-primary);
}

h2 {
    font-family: "Cormorant Garamond" serif;
    font-weight: 300;
    font-size: 2.074rem;
    color: var(--color-text-primary);
}

h3 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8rem;
    color: var(--color-text-secondary);
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.spacer {
    margin: 12rem auto;
}

.primary-button {
    display: block;
    padding: 1rem 0;
    width: 16rem;
    background-color: var(--color-button-primary);
    color: var(--color-button-text);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.primary-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

nav .primary-button {
    margin-left: 2rem;
}

.primary-button:hover {
    background-color: var(--color-button-primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 20px rgba(212, 165, 116, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.primary-button:hover::before {
    left: 100%;
}

.primary-button:active {
    transform: translateY(0) scale(1);
    transition: all 0.1s ease;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background-color: var(--color-bg-main);
}

header img {
    height: 40px;
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--color-text-primary);
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

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

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

nav a:hover::after {
    width: 100%;
}

nav a.primary-button::after {
    display: none;
}

#hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: last baseline;
    min-height: calc(
        100vh - 110px
    ); /* Center to viewport height on desktop, accounting for header */
}

#hero-section h1 {
    margin: 0;
    margin-bottom: 1rem;
}

#hero-section p {
    margin: 0;
    margin-bottom: 2.5rem;
}

#hero-section h2 {
    margin: 0;
}

#philosophy-section {
    text-align: center;
}

#creators-section {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.creators-text {
    width: 100%;
    height: auto;
}

.creators-image {
    width: 100%;
    height: auto;
}

#gallery-section {
    text-align: center;
}

#gallery-section h3 {
    margin-bottom: 4rem;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-slot {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-slot img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    font-size: 0;
    color: transparent;
}

.gallery-slot img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Lightbox Styles */
@media (orientation: landscape) and (max-width: 1023px) {
    #lightbox-image {
        max-width: 95%;
        max-height: 85%;
    }

    .lightbox-counter {
        bottom: 0.5rem;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 2rem;
        height: 2rem;
        font-size: 1.8rem;
    }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

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

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    font-weight: 300;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    transform: scale(1.15);
    color: var(--color-primary);
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 2.5rem;
}

.lightbox-close:hover {
    transform: scale(1.15) rotate(90deg);
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem;
    font-size: 3rem;
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.15) translateX(-5px);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 1rem;
    font-size: 3rem;
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.15) translateX(5px);
}

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#services-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-card {
    width: 100%;
    height: 100%;
    /*aspect-ratio: 1 / 1;*/
    border: 2px solid var(--color-border);
    background-color: var(--color-bg-card);
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.service-card:hover {
    border-color: var(--color-button-primary);
    box-shadow: 0 4px 12px rgba(184, 165, 146, 0.15);
}

.service-card-text {
    flex: 1;
}

.service-card-booking {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card-booking a {
    width: 100%;
}

.service-card-button {
    padding: 1rem 0;
    width: 100%;
    background-color: var(--color-button-primary);
    color: var(--color-button-text);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: block;
}

.service-card-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.service-card-button:hover {
    background-color: var(--color-button-primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 8px 20px rgba(212, 165, 116, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card-button:hover::before {
    left: 100%;
}

.service-card-button:active {
    transform: translateY(0) scale(1);
    transition: all 0.1s ease;
}

.services-headings {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 4rem;
    text-align: center;
}

#final-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-section);
    height: 40vh;
    text-align: center;
}

.final-cta-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*gap: 2rem;*/
    text-align: center;
}

.final-cta-section-content h2 {
    width: 55%;
    margin: 0;
}

.final-cta-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

#planning-section {
    text-align: center;
    margin-bottom: 6rem;
}

/* Contact Form Styles */
.contact-form {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-group label {
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border-light);
    background-color: var(--color-bg-card);
    color: var(--color-text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-button-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b5746' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    padding: 0.5rem;
}

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

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.form-submit .primary-button {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-submit .primary-button:disabled {
    background-color: var(--color-text-light);
    cursor: not-allowed;
    opacity: 0.6;
}

.form-submit .primary-button:disabled:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    display: none;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    display: block;
    background-color: rgba(168, 213, 186, 0.2);
    color: #2d5a3d;
    border: 1px solid var(--color-accent-sage);
}

.form-message.error {
    display: block;
    background-color: rgba(255, 179, 193, 0.2);
    color: #8b2e3a;
    border: 1px solid var(--color-accent-blush);
}

.form-message.loading {
    display: block;
    background-color: rgba(244, 217, 166, 0.2);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

/* Booking Modal Styles */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.booking-modal-content {
    position: relative;
    background-color: var(--color-bg-main);
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

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

.booking-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    font-size: 3rem;
    color: var(--color-text-primary);
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    padding: 0;
    opacity: 0.6;
}

.booking-modal-close:hover {
    opacity: 1;
    transform: rotate(90deg);
    color: var(--color-button-primary);
}

.booking-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 1;
}

/* Package Details Section */
.booking-modal-package {
    background-color: var(--color-bg-section);
    padding: 4rem;
    border-right: 2px solid var(--color-border-light);
    overflow-y: auto;
}

.booking-modal-package h2 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
    color: var(--color-text-primary);
}

.modal-package-meta {
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-package-details {
    font-family: "Inter", sans-serif;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.modal-package-details h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.modal-package-details p {
    margin: 0.5rem 0;
}

.modal-package-details ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-package-details li {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.modal-package-details strong {
    color: var(--color-text-primary);
}

/* Booking Form Section */
.booking-modal-form-section {
    padding: 4rem;
    background-color: var(--color-bg-main);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.booking-modal-form-section h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    text-transform: none;
    letter-spacing: normal;
    color: var(--color-text-primary);
}

.modal-form-intro {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.booking-form {
    max-width: 100%;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.booking-form .form-group {
    margin-bottom: 1.25rem;
}

.booking-form .form-submit {
    margin-top: 2rem;
}

.booking-form .primary-button {
    width: 100%;
}

/* Make modal scrollable on smaller content */
@media (max-height: 900px) {
    .booking-modal-content {
        margin: 1rem auto;
    }

    .booking-modal-package,
    .booking-modal-form-section {
        padding: 3rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--color-bg-section);
    border-top: 1px solid var(--color-border-light);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.footer-nav {
    text-align: left;
}

.footer-nav h4 {
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin: 0 0 1rem 0;
    text-align: left;
}

.footer-nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.footer-nav nav a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    width: fit-content;
}

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

.footer-nav nav a.primary-button {
    margin-top: 0.5rem;
    margin-left: 0;
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
    align-self: flex-start;
    width: auto;
}

.footer-social {
    text-align: left;
}

.footer-social h4 {
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin: 0 0 1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--color-button-primary);
    border-color: var(--color-button-primary);
    color: var(--color-button-text);
    transform: translateY(-2px);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-light);
}

.footer-bottom p {
    font-family: "Inter", sans-serif;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}
