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

body, html {
    height: 100%;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main section with background */
.main-section {
    min-height: 100vh;
    position: relative;
    padding: 20px 0 60px; /* Reduce bottom padding from 120px to 60px */
    overflow: hidden;
    background: linear-gradient(to bottom, #e67e22, #d35400); /* Add orange gradient */
}

/* Background elements */
.main-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/Background-Coquigo.png');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Mountains and ocean */
.main-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 0;
}

header {
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

header h2 {
    color: #3a2c1f;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 600;
    font-family: 'Fraunces', serif;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
}

h1 {
    color: #3a2c1f;
    font-size: 72px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

/* Simplified wooden frame section */
.wood-frame {
    position: relative;
    max-width: 700px;
    width: 100%;
    background-image: url('assets/wood-frame.png'); /* Update this path to your frame image */
    background-size: 100% 100%;
    background-repeat: no-repeat;
}


/* Content area */
.frame-content {
    background-color: #fff8e1;
    text-align: center;
    padding: 30px;
    border-radius: 5px;
    box-shadow: #3a2c1f 0px 0px 20px 0px;
}

.frame-content p {
    color: #3a2c1f;
    line-height: 1.6;
    margin-bottom: 15px;
}

.frame-content p:last-child {
    margin-bottom: 0;
}

/* Coqui character section */
.coqui-section {
    text-align: center;
    position: relative;
    /* Remove any bottom margin/padding that might create space */
    margin-bottom: 0;
    padding-bottom: 0;
    /* Push the element down to touch the signup section */
    display: flex;
    justify-content: center;
}

.coqui-image {
    max-width: 600px; /* Increase from 300px to make image larger */
    position: relative;
    z-index: 2;
    margin-bottom: -80px; /* Create overlap with signup section - negative value */
}

/* Full-width download section */
.download-section {
    background-color: #5d4037;
    color: white;
    padding: 40px 0 40px;
    text-align: center;
    width: 100%;
    position: relative;
}

.download-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.download-section p {
    margin-bottom: 30px;
    font-size: 18px;
}

/* Download buttons container */
.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.2s ease;
}

.app-store-button:hover {
    transform: scale(1.05);
}

.app-store-button img {
    height: 60px;
    width: auto;
}

.android-coming-soon {
    position: relative;
    display: inline-block;
}

.android-coming-soon img {
    height: 60px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%);
}

.coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Responsive adjustments for download section */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .download-section h2 {
        font-size: 28px;
    }
}

/* Full-width footer */
footer {
    display: flex;
    background-color: #3a2c1f;
    color: white;
    padding: 20px 0;
    width: 100%;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}



/* Privacy policy page styles */
.privacy-content {
    padding-bottom: 60px;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 30px;
}

.policy-section {
    margin-bottom: 30px;
}

.policy-section h2 {
    color: #3a2c1f;
    font-family: 'Fraunces', serif;
    font-size: 24px;
    margin-bottom: 15px;
}

.policy-section p, 
.policy-section li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.contact-info {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 5px;
    display: inline-block;
}

/* Add loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e67e22;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 42px;
    }
    
    .wood-frame {
        max-width: 90%;
    }
    
    .frame-content {
        padding: 20px 15px;
    }
    
    .coqui-image {
        max-width: 80%;
    }
}

@media (max-width: 500px) {
    .wood-frame {
        max-width: 95%; /* Make frame take up most of screen width */
    }
    
    .frame-content {
        padding: 15px; /* Less padding on small screens */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }
    
    .signup-section h2 {
        font-size: 24px;
    }
    
    .signup-section p {
        font-size: 16px;
    }
    
    #getWaitlistContainer {
        width: 100%;
    }
}
