/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
}

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-md) 0;
        gap: var(--spacing-sm);
        border-top: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: var(--transition-normal);
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 var(--spacing-md);
    overflow: hidden;
    /* Fallback background */
    background: var(--bg-light); 
}

/* Background Image Layer with Blur */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero-bg.png') no-repeat center center/cover;
    filter: blur(4px); /* Blur effect as requested */
    opacity: 0.6; /* Adjust opacity to blend with white background */
    z-index: 1;
}

/* Content needs z-index to sit on top of blur layer */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 5.5rem; /* Larger size */
    font-weight: 800; /* Bolder */
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    line-height: 1.1;
    /* Strong white outer glow for contrast against any background */
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 255, 0.7),
        0 0 40px rgba(255, 255, 255, 0.5);
    letter-spacing: -1px;
}

/* Upgrade "Velvet" styling */
.hero h1 .text-accent {
    color: var(--accent-color);
    font-style: italic;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 0px #ffffff, 0 0 20px rgba(216, 27, 96, 0.4); 
}

.hero p {
    font-size: 1.3rem;
    font-weight: 600; /* Increased weight for visibility without bg */
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5); /* Halo for readability */
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h2 {
    color: var(--accent-color); /* Matches stat-number color */
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background-color: var(--bg-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--accent-color);
}

.footer-col p, .footer-col a {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.8rem;
}
/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.feature-card {
    background: #ffffff;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition-normal);
    text-align: center;
    border-top: 4px solid var(--accent-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(216, 27, 96, 0.1);
    border-color: var(--accent-color);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
