/* ===========================
   LAY FILMS UI ENHANCEMENTS
   Modern Effects & Animations
   =========================== */

/* Import this AFTER design-system.css and styles.css */

/* ===== ENHANCED NAVIGATION ===== */
.navbar {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-link {
    transition: all var(--duration-base) var(--ease-out) !important;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link::after {
    background: linear-gradient(90deg, var(--primary-500), var(--primary-300)) !important;
    border-radius: var(--radius-full);
}

.logo-img {
    transition: transform var(--duration-base) var(--ease-bounce) !important;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.logo-img:hover {
    transform: scale(1.08) rotate(2deg) !important;
}

/* ===== ENHANCED HERO SECTION ===== */
.hero-section {
 
    position: relative;
    overflow: hidden;
}

/* Animated gradient background overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(25, 210, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(25, 210, 124, 0.03) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
    pointer-events: none;
}

@keyframes gradientMove {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1) translateY(0);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1) translateY(-20px);
    }
}

/* Enhanced hero title with gradient */
.hero-title {
    font-size: clamp(3rem, 5vw + 1rem, 6rem) !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, #ffffff 0%, #19d27c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    text-shadow: 0 0 40px rgba(25, 210, 124, 0.2);
    letter-spacing: var(--tracking-tight) !important;
}

.hero-title span {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(25, 210, 124, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced availability badge */
.text .availability {
    background: rgba(25, 210, 124, 0.1) !important;
    border: 1px solid rgba(25, 210, 124, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(25, 210, 124, 0.15);
    transition: all var(--duration-base) var(--ease-out);
}

.text .availability:hover {
    background: rgba(25, 210, 124, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(25, 210, 124, 0.25);
}

.text .dot {
    box-shadow: 0 0 10px rgba(25, 210, 124, 0.6);
}

/* Enhanced tagline */
.tagline {
    font-size: var(--text-sm) !important;
    font-weight: 700 !important;
    letter-spacing: var(--tracking-widest) !important;
    color: var(--primary-400) !important;
    text-shadow: 0 2px 8px rgba(25, 210, 124, 0.3);
}

/* Enhanced intro text */
.intro {
    font-size: var(--text-lg) !important;
    line-height: var(--leading-relaxed) !important;
}

/* Enhanced CTA button with gradient and effects */
.message-btn {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%) !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(25, 210, 124, 0.3) !important;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.message-btn:hover::before {
    left: 100%;
}

.message-btn:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 15px 40px rgba(25, 210, 124, 0.5) !important;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%) !important;
}

.message-btn img {
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Enhanced hero images with better shadows */
.hero-images .img {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--radius-xl) !important;
    transition: transform 1.2s var(--ease-smooth),
        box-shadow 0.6s var(--ease-out),
        filter 0.6s var(--ease-out) !important;
}

.hero-images:hover .img {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 40px rgba(25, 210, 124, 0.2) !important;
}

/* ===== ENHANCED PORTFOLIO CARDS ===== */
.portfolio-category {
    transition: all var(--duration-slow) var(--ease-smooth) !important;
    position: relative;
}

.portfolio-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(25, 210, 124, 0.1), rgba(25, 210, 124, 0.05));
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
    pointer-events: none;
    z-index: 1;
}

.portfolio-category:hover::before {
    opacity: 1;
}

.portfolio-category:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 30px 60px rgba(25, 210, 124, 0.15),
        0 0 0 1px rgba(25, 210, 124, 0.2) !important;
}

/* 3D tilt effect on portfolio cards */
.portfolio-category {
    transform-style: preserve-3d;
}

.category-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.85) 100%) !important;
    transition: background var(--duration-base) var(--ease-out) !important;
}

.portfolio-category:hover .category-overlay {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.95) 100%) !important;
}

.category-title {
    font-size: var(--text-3xl) !important;
    font-weight: 700 !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: all var(--duration-base) var(--ease-out);
}

.portfolio-category:hover .category-title {
    transform: translateY(-4px);
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

/* Enhanced view button */
.view-button {
  
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all var(--duration-base) var(--ease-bounce) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.view-button:hover {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
    transform: translateX(8px) scale(1.05) !important;
    box-shadow: 0 6px 20px rgba(25, 210, 124, 0.4) !important;
}

/* ===== ENHANCED SERVICES SECTION ===== */
.gk-tool {
    transition: all var(--duration-base) var(--ease-bounce) !important;
    cursor: pointer;
}

.gk-tool:hover {
    border-color: var(--primary-500) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(25, 210, 124, 0.2);
    background: rgba(25, 210, 124, 0.05) !important;
}

.service-item {
    transition: all var(--duration-base) var(--ease-out) !important;
    padding: var(--space-4) !important;
    border-radius: var(--radius-lg);
}

.service-item:hover {
    transform: translateX(8px) !important;
    background: rgba(25, 210, 124, 0.03);
}

.gk-circle {
    transition: all var(--duration-base) var(--ease-bounce) !important;
}

.service-item:hover .gk-circle {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 6px 20px rgba(25, 210, 124, 0.4) !important;
    background: var(--primary-500) !important;
}

/* ===== ENHANCED STORY SECTION ===== */
.story-badge {
    transition: all var(--duration-base) var(--ease-out);
}

.story-badge:hover {
    transform: scale(1.05);
    background: rgba(25, 210, 124, 0.15);
    box-shadow: 0 4px 12px rgba(25, 210, 124, 0.2);
}

.photo-container {
    transition: all var(--duration-slow) var(--ease-out) !important;
}

.photo-container:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(25, 210, 124, 0.2) !important;
}

.stat-number {
    font-size: var(--text-4xl) !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 8px rgba(25, 210, 124, 0.3);
}

.cta-link {
    transition: all var(--duration-base) var(--ease-bounce) !important;
}

.cta-link:hover {
    background: rgba(25, 210, 124, 0.15) !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(25, 210, 124, 0.2);
}

/* ===== ENHANCED FOOTER ===== */
.social-icons a {
    transition: all var(--duration-base) var(--ease-bounce) !important;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%) !important;
    transform: translateY(-4px) rotate(5deg) scale(1.1) !important;
    box-shadow: 0 8px 20px rgba(25, 210, 124, 0.4) !important;
}

/* ===== FLOATING WHATSAPP BUTTON ENHANCEMENT ===== */
.floating-message-icon {
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
    transition: all var(--duration-base) var(--ease-bounce) !important;
}

.floating-message-icon:hover {
    transform: scale(1.15) rotate(5deg) !important;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6) !important;
}

/* ===== SCROLL ANIMATIONS ===== */
.section-header,
.portfolio-category,
.service-item,
.story-section>* {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s var(--ease-out) forwards;
}

.section-header {
    animation-delay: 0.1s;
}

.portfolio-category:nth-child(1) {
    animation-delay: 0.2s;
}

.portfolio-category:nth-child(2) {
    animation-delay: 0.3s;
}

.portfolio-category:nth-child(3) {
    animation-delay: 0.4s;
}

.portfolio-category:nth-child(4) {
    animation-delay: 0.5s;
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item:nth-child(5) {
    animation-delay: 0.5s;
}

.service-item:nth-child(6) {
    animation-delay: 0.6s;
}

.service-item:nth-child(7) {
    animation-delay: 0.7s;
}

/* ===== SECTION TITLES ENHANCEMENT ===== */
.section-title {
    font-size: var(--text-5xl) !important;
    font-weight: 300 !important;
    letter-spacing: var(--tracking-tight) !important;
}

.section-title em {
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal !important;
}

.section-subtitle {
    font-size: var(--text-xl) !important;
    opacity: 0.9;
}

/* ===== LOADING STATES ===== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.loading-shimmer {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0.05) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===== LIGHT MODE ENHANCEMENTS ===== */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 50%, #f5f5f5 100%) !important;
}

body.light-mode .hero-section::before {
    background: radial-gradient(circle at 20% 50%, rgba(25, 210, 124, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(25, 210, 124, 0.05) 0%, transparent 50%);
}

body.light-mode .hero-title {
    background: linear-gradient(135deg, #111 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .message-btn {
    box-shadow: 0 10px 30px rgba(25, 210, 124, 0.25) !important;
}

body.light-mode .portfolio-category:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(25, 210, 124, 0.3) !important;
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
:focus-visible {
    outline: 3px solid var(--primary-500) !important;
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
    }

    .section-title {
        font-size: var(--text-3xl) !important;
    }

    .portfolio-category:hover {
        transform: translateY(-6px) !important;
    }

    /* Reduce animation complexity on mobile */
    .portfolio-category,
    .service-item,
    .section-header {
        animation-duration: 0.4s !important;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.portfolio-category,
.hero-images .img,
.message-btn,
.view-button {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

    .portfolio-category,
    .service-item,
    .section-header,
    .hero-title {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}