/**
 * Enhanced Visual Styling
 * Cinematic effects, modern aesthetics, 2025 design trends
 */

/* ===== HERO ENHANCEMENTS ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;  /* Remove dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000000;  /* Black text */
    max-width: 900px;
    padding: var(--space-8);
}

.hero-title {
    font-size: var(--text-7xl);
    font-weight: var(--font-extrabold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ===== BADGES & PILLS ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--blur-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.badge-primary {
    background: var(--primary-100);
    color: var(--primary-700);
}

.badge-success {
    background: var(--success-light);
    color: var(--success);
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

.glass-dark {
    background: rgba(10, 31, 20, 0.8);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== IMAGE ENHANCEMENTS ===== */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-dark);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== SECTION STYLING ===== */
.section-alt {
    background: var(--gray-50);
}

.section-dark {
    background: var(--primary-900);
    color: var(--white);
}

.section-gradient {
    background: var(--gradient-nature);
    color: var(--white);
}

.section-pattern {
    position: relative;
    background: var(--white);
}

.section-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, var(--primary-100) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
}

.section-pattern > * {
    position: relative;
    z-index: 1;
}

/* ===== EXPERIENCE CARDS ===== */
.experience-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.experience-card:hover::before {
    transform: scaleX(1);
}

.experience-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.experience-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.experience-card:hover .experience-card-image {
    transform: scale(1.1);
}

.experience-card-content {
    padding: var(--space-6);
}

.experience-card-title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    color: var(--primary-900);
}

.experience-card-price {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--primary-600);
    margin: var(--space-4) 0;
}

/* ===== TESTIMONIALS ===== */
.testimonial {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-size: 5rem;
    font-family: var(--font-display);
    color: var(--primary-200);
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
    margin-bottom: var(--space-6);
    padding-top: var(--space-8);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

/* ===== STATS / METRICS ===== */
.stat-card {
    text-align: center;
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.stat-number {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-base);
    color: var(--gray-600);
    font-weight: var(--font-medium);
}

/* ===== HEADER ENHANCEMENTS ===== */
header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

/* ===== FOOTER ENHANCEMENTS ===== */
footer {
    background: var(--primary-900);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

/* ===== LOADING STATES ===== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--gray-200) 25%,
        var(--gray-100) 50%,
        var(--gray-200) 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: var(--z-tooltip);
    transform-origin: left;
    transition: transform 0.1s ease-out;
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-xl);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .experience-card-image {
        height: 200px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1A1A1A;
        --gray-50: #2D2D2D;
        --gray-100: #404040;
        --gray-900: #FAFAFA;
    }
}

