/* ==========================================================================
   Mfumu Investments CC - Static HTML Website
   Namibian Agricultural Business Theme
   ========================================================================== */

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    scroll-behavior: smooth;
}

/* ==========================================================================
   Color Palette (Modern Namibian Professional Theme)
   ========================================================================== */

:root {
    /* Professional Namibian Corporate Colors */
    --primary-color: #0d4a3a;      /* Rich Emerald Green - Trust and stability */
    --primary-light: #1a6b5a;     /* Lighter emerald for gradients */
    --secondary-color: #b8860b;    /* Rich Gold - Prosperity and excellence */
    --secondary-light: #d4af37;   /* Bright gold for accents */
    --tertiary-color: #8b4513;     /* Saddle Brown - Earthy, Namibian roots */

    /* Professional Grays */
    --text-primary: #1a202c;       /* Deep charcoal - main text */
    --text-secondary: #4a5568;     /* Medium gray - secondary text */
    --text-light: #718096;         /* Light gray - muted text */
    --bg-primary: #ffffff;         /* Pure white */
    --bg-secondary: #f8fafc;       /* Off-white */
    --bg-tertiary: #edf2f7;        /* Light gray background */

    /* Hero Overlay System - Much Lighter for Better Image Visibility */
    --hero-overlay-base: rgba(13, 74, 58, 0.3);  /* Light emerald overlay */
    --hero-overlay-gradient: linear-gradient(135deg,
        rgba(13, 74, 58, 0.4) 0%,
        rgba(184, 134, 11, 0.3) 50%,
        rgba(139, 69, 19, 0.2) 100%);
    --hero-overlay-vignette: radial-gradient(ellipse at center,
        rgba(13, 74, 58, 0.1) 0%,
        rgba(13, 74, 58, 0.6) 100%);

    /* Professional Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Gold Gradient for Premium Elements */
    --gold-gradient: linear-gradient(135deg, #b8860b 0%, #d4af37 50%, #daa520 100%);
    --emerald-gradient: linear-gradient(135deg, #0d4a3a 0%, #1a6b5a 50%, #2d7a63 100%);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section--hero {
    background-image:
        var(--hero-overlay-vignette),
        var(--hero-overlay-gradient),
        url('../images/Windhoek city.jpg');
    background-size: cover, cover, cover;
    background-position: center, center, center;
    background-attachment: scroll; /* Changed from fixed for better performance */
    background-repeat: no-repeat, no-repeat, no-repeat;
    color: var(--bg-primary);
    padding: 180px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section--hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-overlay-base);
    z-index: 1;
    pointer-events: none;
}

.section--hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(13, 74, 58, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(13, 74, 58, 0.2) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.section--hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px; /* Wider container for better hero layout */
}


.section--gray {
    background-color: var(--light-gray);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-lg);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(13, 74, 58, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    box-shadow: var(--shadow-xl);
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}

.main-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    width: 56px;
    height: 56px;
    margin-right: 1.25rem;
    background: url('../images/logo-icon.png') center center / contain no-repeat;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


.site-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.8px;
    text-transform: uppercase;
    font-feature-settings: "kern" 1;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2.5rem;
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    left: 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--bg-primary);
    text-shadow:
        0 2px 4px rgba(13, 74, 58, 0.3),
        0 4px 8px rgba(13, 74, 58, 0.2),
        0 8px 16px rgba(13, 74, 58, 0.1);
    letter-spacing: -1.5px;
    line-height: 1.05;
    text-transform: uppercase;
    font-feature-settings: "kern" 1, "liga" 1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 3.5rem;
    color: var(--bg-primary);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow:
        0 1px 2px rgba(13, 74, 58, 0.4),
        0 2px 4px rgba(13, 74, 58, 0.2);
    line-height: 1.4;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    margin: 0 12px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.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.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: var(--gold-gradient);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid transparent;
    box-shadow: var(--shadow-lg);
}

.btn--primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-light);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Shop button specific styling for better visibility */
.btn--shop {
    background: var(--gold-gradient);
    color: var(--text-primary);
    border: 2px solid transparent;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.btn--shop::before {
    content: '🛒';
    margin-right: 8px;
    font-size: 1.1em;
}

.btn--shop:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-light);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
    color: var(--bg-primary);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: 1px solid rgba(13, 74, 58, 0.08);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--emerald-gradient);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(184, 134, 11, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 0.03;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gold-gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border-radius: inherit;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 30px;
    color: var(--primary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a2a1c 50%, var(--tertiary-color) 100%);
    color: var(--bg-primary);
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(13, 74, 58, 0.1);
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gold-gradient);
    box-shadow: 0 2px 10px rgba(184, 134, 11, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #e67300;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* ==========================================================================
   Team Section
   ========================================================================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

/* ==========================================================================
   Certifications Section
   ========================================================================== */

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.certification-item img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
button:focus,
.btn:focus,
.nav-menu a:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ==========================================================================
   Loading Animation
   ========================================================================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--bg-tertiary);
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive Design & Mobile Optimizations
   ========================================================================== */

/* Global Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tablet & Mobile Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
    .section--hero {
        background-attachment: scroll; /* Disable parallax on touch devices */
        padding: 140px 0 100px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Layout Adjustments */
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Header & Navigation */
    .site-header {
        padding: 0;
    }

    .main-navigation {
        padding: 1rem 0;
        justify-content: space-between;
        position: relative;
    }

    .site-logo {
        width: 45px;
        height: 45px;
        margin-right: 1rem;
    }

    .site-title {
        font-size: 1.2rem;
    }

    /* Mobile Menu Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        padding: 10px; /* Larger touch target */
        z-index: 1002;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    /* Full Screen Mobile Menu */
    .nav-menu {
        position: fixed;
        top: 70px; /* Height of header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
        overflow-y: auto;
        box-shadow: none;
        border-radius: 0;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        display: flex;
        box-shadow: inset 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-menu a {
        font-size: 1.2rem;
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 8px;
    }

    .nav-menu a:active {
        background-color: var(--bg-tertiary);
    }

    /* Hero Adjustments */
    .hero-content {
        text-align: left; /* Often better for readability on mobile */
        padding: 0 5px;
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .hero-content .btn {
        width: 100%;
        margin: 0.5rem 0;
        text-align: center;
    }

    /* Grid Adjustments */
    .about-content,
    .services-grid,
    .team-grid,
    .certifications-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    /* Footer */
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section--hero {
        padding: 120px 0 80px;
    }

    .btn {
        padding: 14px 24px; /* Larger touch target */
        font-size: 1rem;
    }

    .site-title {
        font-size: 1rem; /* Prevent text overflow */
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ==========================================================================
   Animation Classes
   ========================================================================== */

.fade-in {
    animation: fadeIn 1s ease-out;
}

.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.loading {
    opacity: 0.8;
}

.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.menu-open {
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
