/* ==========================================
   HOMEPAGE HERO & FEATURED WORK STYLES
   ========================================== */

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*mobile responsive css for hero video poster*/
@media (max-width: 768px) {
    .hero-video-bg {
        background-image: url('assets/home/home-hero-poster.png');
        background-size: cover;
        background-position: center;
    }
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
    animation: fadeUp 1s ease-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--foreground);
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.hero-content .cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--foreground);
    padding: 15px 30px;
    border-radius: 35px;
    font-weight: 600;
    font-size: 1.0rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content .cta-button:hover {
    background-color: var(--foreground);
    color: var(--background);
    transform: translateY(-3px);
}

/* ========================================
   NAVIGATION HIGHLIGHT - "Our Work" Card
   ======================================== */
/*.nav-links a.nav-highlight {
    background: var(--accent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 20px;
    border-radius: 20px;
    transition: none;
}*/


/* ========================================
   FEATURED WORK SECTION
   ======================================== */
#featured-work {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

#featured-work h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    color: var(--foreground);
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Featured Item Card */
.featured-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    height: 350px;
    background: var(--card-bg);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

/* Featured Item Image */
.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) contrast(1.2);
    transition: all 0.5s ease;
}

/* Overlay */
.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Featured Info */
.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--foreground);
}

.featured-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hover Effects */
.featured-item:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

.featured-item:hover .featured-info {
    transform: translateY(0);
}


/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 2 columns */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .featured-item {
        height: 300px;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content .cta-button {
        padding: 15px 40px;
        font-size: 1rem;
    }
    
    /* Navigation highlight adjustment for mobile */
    .nav-links a.nav-highlight {
        background: transparent;
        border: none;
        padding: 15px;
    }
    
    .nav-links a.nav-highlight:hover {
        background: transparent;
        transform: none;
    }
    
    #featured-work {
        padding: 60px 20px;
    }
    
    #featured-work h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .featured-item {
        height: 280px;
    }
    
    .featured-info {
        padding: 20px;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .featured-desc {
        font-size: 0.9rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-content .cta-button {
        width: 100%;
        padding: 15px 30px;
    }
    
    .featured-item {
        height: 240px;
    }
}

/* Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}