:root {
    --primary: #8AB4B2; /* Muted Ocean Blue */
    --primary-light: #B2DFDB;
    --secondary: #D4A373; /* Muted Sand */
    --accent: #E9EDC9; /* Light Sage */
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #FAFCFC; /* Crisp, almost white */
    --bg-card: #FFFFFF;
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: #2b3a42;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 300;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.text-white { color: white !important; }

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--primary);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

.navbar.scrolled .feather {
    color: var(--text-main);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
}

.nav-links a {
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a {
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
    transition: var(--transition);
}

.hamburger.active,
.navbar.scrolled .hamburger {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.25)), url('assets/bg.png');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed moved to media query for desktop only */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.15) 0%, rgba(255, 255, 255, 0) 70%); /* warm sunlight glow */
    animation: rotateGlow 30s linear infinite;
    z-index: 1;
}

@keyframes rotateGlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 5rem;
    background: rgba(255, 255, 255, 0.03); /* almost invisible glass */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px; /* softer organic corners */
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-welcome {
    font-family: 'Birthstone Bounce', cursive;
    font-size: 3.5rem;
    color: #ffd8ba; /* sun-kissed soft peach/gold */
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero h1 {
    color: white;
    font-size: 5rem; /* Larger and bolder */
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-weight: 500;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero-divider {
    width: 50px;
    height: 2px;
    background: #ffd8ba;
    margin: 0 auto 2.5rem;
    opacity: 0.8;
}

.hero p {
    color: white;
    font-size: 1.1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(138, 180, 178, 0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-primary:hover {
    background-color: var(--text-main);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover:not(:disabled) {
    background-color: white;
    color: var(--text-main);
}

.btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Story Section */
.story-section {
    background-color: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.story-image-wrapper {
    position: relative;
}

.story-image {
    width: 100%;
    border-radius: 20px;
    aspect-ratio: 4/5;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.8s ease;
}

.story-image:hover {
    transform: scale(1.02);
}

.accent-box {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 60%;
    height: 60%;
    background-color: var(--accent);
    border-radius: 20px;
    z-index: 1;
}

.story-text {
    padding-right: 2rem;
}

.story-text .section-title {
    text-align: left;
}

.story-text .section-subtitle {
    text-align: left;
}

.empowerment-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    border-left: 3px solid var(--secondary);
    padding-left: 1.5rem;
    margin-top: 2rem;
    line-height: 1.5;
}

/* Explore Section */
.explore-section {
    background-color: white;
}

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

.category-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.read-more .feather {
    width: 16px;
    transition: transform 0.3s ease;
}

.category-card:hover .read-more .feather {
    transform: translateX(5px);
}

/* Connect Section */
.connect-section {
    background-color: #F1F3EF; /* Slightly darker soft sage for better definition */
    padding: 6rem 0;
    text-align: center;
}

.connect-container {
    max-width: 800px;
    margin: 0 auto;
}

.connect-email {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-main);
    display: block;
    margin: 2rem 0;
    transition: var(--transition);
    word-break: break-all;
}

.connect-email:hover {
    color: var(--primary);
    transform: scale(1.02);
}

.connect-icon {
    width: 40px;
    height: 40px;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background-image: linear-gradient(rgba(138, 180, 178, 0.7), rgba(138, 180, 178, 0.7)), url('assets/bg.png');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed moved to media query for desktop only */
    padding: 8rem 0;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 1rem 1.5rem;
    width: 350px;
    max-width: 100%;
    border-radius: 50px;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-main);
    color: var(--text-main);
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-logo img {
    margin-bottom: 2rem;
    /* Removed the filter so the logo displays naturally */
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-socials a {
    color: var(--text-muted);
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-in { animation: fadeIn 1.5s ease-out forwards; }
.animate-slide-up { animation: slideUp 1.2s ease-out forwards; }
.animate-slide-up-delay { opacity: 0; animation: slideUp 1.2s ease-out 0.3s forwards; }
.animate-slide-up-delay-2 { opacity: 0; animation: slideUp 1.2s ease-out 0.6s forwards; }

/* Responsive Media Queries */
@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .story-text {
        padding-right: 0;
    }
    .accent-box {
        left: 5%;
        top: 5%;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary);
    color: white;
}

@media (max-width: 1400px) {
    .nav-container {
        justify-content: flex-end;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s ease;
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-main) !important;
        font-size: 1.1rem;
        text-shadow: none !important;
    }

    .hamburger {
        display: block;
    }

    .hero {
        padding: 0; /* Remove fixed top offset as flex-centering handles vertical balance */
        min-height: 100vh;
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .newsletter-section {
        background-attachment: scroll !important;
        background-position: center center !important;
    }

    .hero-content {
        padding: 3rem 1.5rem;
        border-radius: 30px;
        width: 90%;
        max-width: 500px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-welcome {
        font-size: 2.6rem;
    }

    .section-title {
        font-size: 2.3rem;
    }
}

/* Enable parallax effect only for larger desktop screens */
@media (min-width: 1401px) {
    .hero, 
    .newsletter-section {
        background-attachment: fixed;
    }
}
