:root {
    --bg-color: rgb(234, 227, 215);
    --text-color: #0b0b0b;
    --text-light: #ffffff;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

body {
    background-color: var(--bg-color);
    font-family: var(--font-body);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeInPage 0.5s ease-out forwards;
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 20px;
    opacity: 0;
    animation: fadeDown 0.8s var(--ease-out-cubic) 0.2s forwards;
}

.logo {
    width: 180px;
    height: auto;
    object-fit: contain;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    padding: 0 20px;
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 500;
    text-align: center;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out-cubic) 0.4s forwards;
}

/* 
   Hero Visual Container 
   Matched to the reference site's aspect ratio and behavior.
   The original used a 1200x759 container where items were positioned absolutely.
   We will maintain relative flow but constrain max-width to allow absolute children.
*/
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1200px;
    /* Reference container width */
    height: 760px;
    /* Fixed height to match reference proportions if possible, or auto with padding */
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s var(--ease-out-cubic) 0.6s forwards;

    /* Responsive height adjustment might be needed, but sticking to logic first */
}

/* Hero Image */
.hero-image {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    z-index: 10;
    display: block;
}

/* Coming Soon Text */
/* Original has this in a separate container below the hero visual */
.coming-soon {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);

    position: absolute;
    bottom: 25%;
    /* Adjust based on Hand height */
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
    width: 100%;
}

@keyframes fadeInPage {
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 140px;
    }

    h1 {
        margin-bottom: 20px;
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 100vw;
        /* Aspect ratio scaling for mobile container */
        min-height: 400px;
        max-height: 600px;
        overflow: hidden;
    }

    .coming-soon {
        bottom: 10%;
        font-size: 1.2rem;
    }

}

/* Footer */
footer {
    width: 100%;
    background-color: rgb(43, 78, 57);
    /* Requested Dark Green */
    color: var(--text-light);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: rgb(234, 227, 215);
    color: rgb(43, 78, 57);
    text-decoration: none;
    padding: 20px;
    border-radius: 16px;
    width: 160px;
    height: 120px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
}

.footer-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.footer-btn svg {
    width: 36px;
    height: 36px;
    stroke-width: 1.5;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 20px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    background: #e4e3dd;
    /* Matching the site theme bg roughly */
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow-y: hidden;
    /* Hide overflow on parent to respect border-radius */
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Remove padding from parent */
}

/* Modal Content Wrapper */
.modal-content-wrapper {
    flex: 1;
    overflow-y: auto;
    /* Scroll inside the wrapper */
    padding: 40px;
    /* Padding moves inside */
    scrollbar-width: thin;
    scrollbar-color: rgba(43, 78, 57, 0.3) transparent;
}

/* Custom Scrollbar for Wrapper */
.modal-content-wrapper::-webkit-scrollbar {
    width: 6px;
    /* Return to slim width since it's now inset by padding? No, let's keep it floating at edge */
    width: 14px;
}

.modal-content-wrapper::-webkit-scrollbar-track {
    background: transparent;
    margin: 20px 0;
}

.modal-content-wrapper::-webkit-scrollbar-thumb {
    background-color: rgba(43, 78, 57, 0.3);
    border-radius: 14px;
    border: 4px solid transparent;
    background-clip: content-box;
}

.modal-content-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: rgba(43, 78, 57, 0.6);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-color);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.modal-header p {
    font-family: var(--font-body);
    font-size: 1rem;
    opacity: 0.7;
}

/* Form Styles */
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 4px;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.2s ease;
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(43, 78, 57, 0.2);
    border-color: rgba(43, 78, 57, 0.5);
}

/* Submit Button */
.submit-btn {
    margin-top: 10px;
    padding: 16px;
    background-color: rgb(43, 78, 57);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 78, 57, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 20px;
        padding-top: 60px;
        /* Space for close button */
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}