/* --- Global Setup & Variables --- */
:root {
    --deep-blue: #1A233A;
    --gold: #C5A56D;
    --light-cream: #F5EFE1;
    --off-white: #FDFBF6;
    --dark-text: #333333;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--off-white);
    color: var(--dark-text);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--deep-blue);
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.2rem; text-align: center; color: var(--deep-blue); }

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--deep-blue);
}

.btn-secondary {
    background-color: var(--gold);
    color: var(--deep-blue);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Navbar --- */
.navbar {
    background-color: var(--light-cream);
    color: var(--deep-blue);
    padding: 0.75rem 2 rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 2rem; /* Adjust gap between nav menu and button as needed */
    margin-left: auto; /* Pushes the group to the far right */
}

.navbar .container {
    max-width: 100%; /* Added to allow logo to go to the edge */
    padding: 0;      /* Added to remove default container spacing */
    display: flex;
    align-items: center;
}

.logo img {
    height: 75px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 3.5rem;
}

.nav-menu a {
    transition: color 0.3s ease;
    color: var(--deep-blue); /* Explicitly set color */
    font-weight: 600;        /* Made text bolder */
    font-size: 1.1rem;         /* Made text bigger */
}

.nav-menu a:hover {
    color: var(--gold);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--off-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--deep-blue);
    color: var(--off-white);
    padding: 3rem 0;
    min-height: 60vh;
}

.hero-brand-name {
    color: var(--gold);
    font-weight: bolder 600;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 0 4rem; 
}

.hero-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.hero-text h1 {
    color: var(--off-white);
    font-weight: 700;
}

.hero-text p {
    color: rgba(253, 251, 246, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    max-width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    max-width: 500px; /* Optional: Sets a max size for the image itself */
    height: auto; /* Ensures image scales proportionally */
}
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column; /* Stacks items vertically on small screens */
        text-align: center;
        padding: 0 2rem; /* Adjust padding for smaller screens */
    }

    .hero-text, .hero-image {
        max-width: 100%; /* Allows them to take full width */
    }

    .hero-text {
        order: 2; /* Puts text after image on mobile, if desired, remove this for text first */
    }
    .hero-image {
        order: 1; /* Puts image first on mobile */
        margin-bottom: 2rem; /* Add some space below image on mobile */
    }
}

/* --- How It Works Section --- */
.how-it-works {
    background-color: var(--light-cream);
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.step-card {
    padding: 2rem;
}

.icon-wrapper {
    background-color: var(--deep-blue);
    color: var(--gold);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

/* --- Features Section --- */
.features {
    padding: 5rem 0;
    background-color: var(--deep-blue);
}

.features h2 {
    color: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--off-white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.feature-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #eee;
}

/* --- CTA Section --- */
.cta {
    background-color: var(--light-cream);
    padding: 5rem 0;
    text-align: center;
}

.cta .container {
    max-width: 700px;
}

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

.subscribe-form input {
    width: 100%;
    max-width: 350px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: var(--font-family);
    font-size: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--deep-blue);
    color: var(--off-white);
    padding: 3rem 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 35px;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: rgba(253, 251, 246, 0.8);
    transition: color 0.3s ease;
}

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

.footer-socials {
    text-align: right;
}

.footer-socials p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(253, 251, 246, 0.6);
}

.social-icons {
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    font-size: 1.2rem;
}

.social-icons a {
    color: rgba(253, 251, 246, 0.8);
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--gold);
}

/* --- Form Honeypot for Netlify Forms (Anti-spam) --- */
.hidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

/* Hide mobile-only items on desktop */
.mobile-only {
    display: none;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; margin-bottom: 2rem; }
    
    /* Navbar - Logo smaller on mobile */
    .logo img {
        height: 40px;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }

    /* Hamburger Menu */
    .hamburger { 
        display: block;
        color: var(--deep-blue);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        width: 100%;
        background-color: var(--deep-blue);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu a {
        color: var(--off-white);
        font-size: 1rem;
    }
    
    /* Hide desktop Get Started, show in mobile menu */
    .nav-btn { 
        display: none;
    }
    
    /* Show Get Started button in mobile menu only */
    .mobile-only {
        display: block !important;
    }
    
    .mobile-only a {
        width: 80%;
        margin: 1rem auto;
        display: inline-block;
    }

    /* Hero Section */
    .hero {
        padding: 2rem 0;
    }
    
    .hero-brand-name {
        font-size: 2rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 0 2rem;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
        order: 2;
    }
    
    .hero-image {
        max-width: 100%;
        order: 1;
    }
    
    .hero-text p {
        font-size: 1rem;
    }

    /* Steps Grid */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Subscribe Form */
    .subscribe-form {
        flex-direction: column;
        align-items: center;
    }

    .subscribe-form input, 
    .subscribe-form button {
        width: 100%;
        max-width: 100%;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-socials {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo img {
        height: 60px;
    }
    
    .nav-menu ul {
        gap: 2rem;
    }
    
    .nav-menu a {
        font-size: 1rem;
    }
}