/* Font Face Declarations */
@font-face {
    font-family: 'Geist Mono';
    src: url('assets/fonts/Geist_Mono/GeistMono-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raftwork';
    src: url('assets/fonts/Raftwork/Raftwork-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GiveYouGlory';
    src: url('assets/fonts/Give_You_Glory/GiveYouGlory-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables for Colors and Fonts */
:root {
    /* Color Scheme */
    --ivory-white: #F2EFDF;
    --yellow-green: #D5D5AF;
    --something-blue: #CEDfE9;
    --brown-black: #23201E;
    --olive-green: #67674E;
    
    /* Fonts */
    --font-title: 'Raftwork', monospace;
    --font-heading: 'Raftwork', monospace;
    --font-text: 'Geist Mono', monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Breakpoints */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--ivory-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    background-image: url('assets/images/brandmark.olive.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: spin 2s linear infinite;
    margin: 0 auto var(--spacing-sm) auto;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--brown-black);
    background-color: var(--ivory-white);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

h1 {
    font-family: var(--font-title);
    font-size: 7.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 16px;
}

/* Navigation */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.navigation.scrolled {
    background-color: var(--ivory-white);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 913.7px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--brown-black);
    font-family: var(--font-heading);
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus {
    color: #4A4A4A;
}

/* Hero Section */
.hero-section {
    text-align: center;
    position: relative;
}

.hero-section h1 {
    margin-bottom: var(--spacing-xs);
    position: relative;
    z-index: 2;
}

.wordmark-logo {
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

.hero-tagline {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-top: -100px;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-tagline.thank-you-tagline {
    font-size: 1.2rem;
    margin-top: 0px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* .hero-section h1.thank-you-heading {
    margin-bottom: var(--spacing-md);
} */



/* Button Styles */
.btn {
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 35px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    transform: translateY(0);
}

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

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-0.5px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.12),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    color: var(--brown-black);
    border: 1.5px solid var(--brown-black);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: linear-gradient(
        135deg,
        var(--brown-black),
        var(--brown-black)
    );
    color: var(--ivory-white);
    border-color: var(--brown-black);
    box-shadow: 
        0 4px 12px rgba(35, 32, 30, 0.12),
        0 2px 6px rgba(35, 32, 30, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--yellow-green),
        var(--yellow-green)
    );
    color: var(--brown-black);
    border: 1.5px solid var(--yellow-green);
    box-shadow: 
        0 2px 8px rgba(213, 213, 175, 0.2),
        0 1px 3px rgba(213, 213, 175, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        #E0E0B8,
        #E0E0B8
    );
    border-color: #E0E0B8;
    box-shadow: 
        0 4px 12px rgba(224, 224, 184, 0.3),
        0 2px 6px rgba(224, 224, 184, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Full Screen Sections */
.full-screen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    scroll-snap-align: start;
}

/* Join section specific styling */
#join {
    position: relative;
    z-index: 5;
}

.hero-section {
    padding-top: 0;
}

.section-content {
    max-width: 913.7px;
    width: 100%;
    text-align: center;
}

/* Form Styles */
.form-description {
    margin: 0 auto 0 auto;
    max-width: 750px;
}

.join-form {
    max-width: 830px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.join-form button {
    width: 100%;
}

/* HubSpot form specific styling */
.hs-form-frame {
    position: relative;
    z-index: 15;
}

.hs-form-frame iframe {
    position: relative;
    z-index: 15;
}


/* Section 2 - About */
.about-section {
    position: relative;
}

.about-section .section-content {
    position: relative;
    z-index: 2;
    max-width: 755px;
}

/* Two Column Layout */
.two-column-layout {
    display: flex;
    align-items: center;
    overflow: hidden;
    height: auto;
    justify-content: space-between;
}

.text-column {
    flex: 0 0 625px;
    width: 625px;
    height: auto;
    background-color: var(--something-blue);
    padding: 40px;
    text-align: left;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    z-index: 2;
    margin-right: -225px;
}

.text-column p {
    font-size: 16px;
    margin-bottom: var(--spacing-md);
}

.text-column p.signature {
    font-family: 'GiveYouGlory', sans-serif;
    margin-bottom: 0;
    font-size: 1.3rem;
}

.image-column {
    flex: 0 0 400px;
    width: 400px;
    max-height: 560px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    z-index: 1;
    border-radius: 3px;
    overflow: hidden;
}

.mood-board-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq-list {
    border-top: 1px solid #cacaca;
    border-bottom: 1px solid #cacaca;
    margin: 0 auto var(--spacing-md) auto;
}

.faq-item {
    border-bottom: 1px solid #cacaca;
    padding: 20px 0;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--brown-black);
    text-transform: uppercase;
}

.faq-question:hover {
    color: #4A4A4A;
}

.faq-chevron {
    color: var(--brown-black);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 0;
}

.faq-answer p {
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 400;
    color: var(--brown-black);
    margin: 0;
    padding-top: var(--spacing-sm);
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-contact {
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.contact-link {
    color: var(--brown-black);
    text-decoration: none;
    font-weight: 400;
}

.contact-link:hover {
    color: #4A4A4A;
}

.faq-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contact Section */
.contact-content {
    margin-bottom: var(--spacing-xl);
}

.contact-intro,
.contact-message,
.contact-closing {
    font-family: var(--font-text);
    font-weight: 400;
    color: var(--brown-black);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contact-email {
    color: var(--brown-black);
    text-decoration: underline;
    font-weight: 400;
}

.contact-email:hover {
    color: #4A4A4A;
}


/* Chevron Icon */
.chevron-down {
    color: var(--brown-black);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin-top: var(--spacing-lg);
}

.chevron-down:hover {
    transform: translateY(5px);
    opacity: 0.7;
}

.chevron-down svg {
    width: 60px;
    height: 60px;
}

.chevron-down svg path {
    stroke-width: 0.8;
}

/* Contact Section */
.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 90px; /* Space for footer */
    overflow: hidden; /* Ensure footer stays within section */
}

.contact-section .section-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: transparent;
    padding: var(--spacing-sm) 0 90px 0;
    text-align: center;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-image: url('assets/images/border.lightgreen.transparent.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 100%;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-content p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

.privacy-policy-link {
    color: var(--brown-black);
    text-decoration: underline;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.privacy-policy-link:hover {
    color: #4A4A4A;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 1.5px;
    background-color: var(--brown-black);
    transition: all 0.3s ease;
    transform-origin: center;
    border-radius: 1.5px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--ivory-white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

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

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--brown-black);
    padding: 10px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-menu li {
    margin-bottom: 1rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brown-black);
    text-decoration: none;
    display: block;
    padding: 0.8rem 1.5rem;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.mobile-nav-link:hover {
    color: #666;
}

/* Privacy Policy Page Styles */
.privacy-policy-section {
    min-height: 100vh;
    padding: var(--spacing-xl) var(--spacing-md) 0 var(--spacing-md);
    padding-top: calc(var(--spacing-xl) + 60px); /* Account for navigation overlay */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.privacy-policy-section .footer {
    position: relative;
    margin-top: var(--spacing-xl);
}

.privacy-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.privacy-policy-heading {
    font-family: var(--font-title);
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--brown-black);
}

.privacy-text {
    width: 100%;
    text-align: left;
    line-height: 1.7;
}

.privacy-text h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--brown-black);
}

.privacy-text h5 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--brown-black);
}

.privacy-text p {
    font-family: var(--font-text);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    color: var(--brown-black);
}

.privacy-text ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.privacy-text li {
    font-family: var(--font-text);
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--brown-black);
}

.privacy-text a {
    color: var(--brown-black);
    text-decoration: underline;
    font-weight: 400;
}

.privacy-text a:hover {
    color: #4A4A4A;
}

/* Mobile Responsive for Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy-section {
        padding: var(--spacing-md) var(--spacing-sm) 0 var(--spacing-sm);
        padding-top: calc(var(--spacing-md) + 50px); /* Account for navigation overlay on mobile */
    }
    
    .privacy-policy-heading {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .privacy-text h4 {
        font-size: 1.2rem;
    }
    
    .privacy-text h5 {
        font-size: 16px;
    }
    
    .privacy-text p,
    .privacy-text li {
        font-size: 0.95rem;
    }
}

/* Contact Form Overlay */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--ivory-white);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow-y: auto;
}

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

.contact-form-container {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    max-width: 913.7px;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    position: relative;
    box-shadow: none;
}

.contact-close {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--brown-black);
    padding: var(--spacing-sm);
    z-index: 2001;
}

.contact-form-content {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-md) 0 var(--spacing-md);
}

.contact-description {
    margin: 0 auto 0 auto;
    max-width: 750px;
}


.contact-link {
    color: var(--brown-black);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #4A4A4A;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .full-screen-section#join {
        padding: var(--spacing-xl) 0;
    }
    .full-screen-section#join h2, .full-screen-section#join p {
        padding: 0 var(--spacing-md);
    }

    h1 {
        font-size: 4.2rem;
    }
    
    .wordmark-logo {
        max-height: 120px;
    }
    h2 {
        font-size: 1.6rem;
    }
    p {
        font-size: 1rem;
        text-align: center;
    }
    h1, h2, h3, h4, h5, h6, p {
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-tagline {
        font-size: 1.2rem;
        margin-top: 0;
        line-height: 1.5rem;
    }
    
    .hero-tagline .tagline-break {
        display: block;
    }

    h1.thank-you-heading {
        font-size: 3.6rem;
    }

    .contact-overlay {
        align-items: flex-start;
        padding: 0;
    }
    
    .contact-form-container {
        width: 100%;
        padding: 0;
        margin-top: 0;
    }
    
    .contact-form-content {
        padding: var(--spacing-md) var(--spacing-md) 0 var(--spacing-md);
    }
    
    .contact-form-content h3 {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 16px;
    }
    
    .contact-close {
        top: 0px;
        right: 0px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-container {
        justify-content: flex-end;
        gap: var(--spacing-sm);
    }
    
    /* Two Column Layout Mobile */
    .two-column-layout {
        flex-direction: column;
        max-width: 100%;
        height: auto;
        gap: var(--spacing-lg);
    }
    
    .text-column {
        flex: none;
        width: 100%;
        margin-right: 0;
        min-height: auto;
        padding: var(--spacing-sm);
    }

    .text-column p {
        font-size: 1rem;
    }

    .faq-question {
        font-size: 1rem;
        text-align: left;
    }

    .faq-answer p {
        font-size: 1rem;
    }
    
    .image-column {
        flex: none;
        width: 100%;
        max-height: none;
        justify-content: center;
    }
    
    .mood-board-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: 400px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .contact-overlay {
        padding-bottom: calc(var(--spacing-xl) + 80px); /* Extra padding for iPhone toolbar */
    }
}
