/* Hero Section - Two Column Layout */
.hero {
    margin-top: 80px;
    min-height: 80vh;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: wave 10s ease-in-out infinite;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Text Column - Completely Separate */
.hero-text-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Hero Heading - Each line separate */
.hero-heading {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-heading h1 {
    font-size: 3.5rem;
    color: white;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

/* Typed Text Container - Separate Line */
.typed-container {
    min-height: 4rem; /* Fixed height for typed text */
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.typed-text {
    font-size: 3.5rem;
    color: white;
    font-weight: 700;
    position: relative;
    display: inline-block;
    min-width: 280px;
}

/* Cursor - Properly positioned */
.typed-text::after {
    content: '|';
    display: inline;
    animation: blink 1s infinite;
    color: white;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Description - Completely Separate */
.hero-description {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-description p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin: 0;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

/* Image Column - Completely Separate */
.hero-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.hero-image-inner {
    position: relative;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    width: 100%;
    z-index: 2; /* Ensure image stays above shadow */
}

.hero-image:hover .hero-image-inner {
    transform: rotateY(5deg) rotateX(5deg) scale(1.08);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2; /* Image above shadow */
}

/* Static Shadow - Locked Behind Image */
.hero-image::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: -25px;
    bottom: -25px;
    background: var(--gradient);
    border-radius: 20px;
    z-index: 1; /* Behind the image */
    opacity: 0.3;
    /* No transition = completely static */
}

/* Button Styles */
.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary::before,
.hero-buttons .btn-secondary::before {
    display: none;
}

.btn-primary {
    background: white;
    color: var(--primary);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255,255,255,0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px) scale(1.05);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
    .hero {
        margin-top: 70px;
        min-height: 70vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }
    
    .hero-heading h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .typed-text {
        font-size: 2.2rem;
        min-width: 200px;
    }
    
    .typed-container {
        min-height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    
    .hero-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-image::after {
        top: 15px;
        left: 15px;
        right: -15px;
        bottom: -15px;
    }
    
    /* Reduce animations on mobile */
    .hero-image:hover .hero-image-inner {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-heading h1 {
        font-size: 1.8rem;
    }
    
    .typed-text {
        font-size: 1.8rem;
        min-width: 160px;
    }
    
    .typed-container {
        min-height: 2.2rem;
    }
    
    .hero-description p {
        font-size: 0.9rem;
    }
}