/* ========================================
   BAKCHOM CONSTRUCTION - MODERN DESIGN
   Ultra Premium Construction Website
   ======================================== */

/* CSS Variables - Modern Color System */
:root {
    /* Primary Colors */
    --primary-color: #0d2137;
    --primary-dark: #061220;
    --primary-light: #1a4a7a;
    --primary-gradient: linear-gradient(135deg, #0d2137 0%, #1a4a7a 100%);
    
    /* Accent Colors - Gold */
    --secondary-color: #d4af37;
    --secondary-dark: #b8941f;
    --secondary-light: #e8c547;
    --secondary-gradient: linear-gradient(135deg, #d4af37 0%, #f0d878 50%, #d4af37 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #fafbfc;
    --light-gray: #f0f2f5;
    --medium-gray: #d0d5dd;
    --dark-gray: #667085;
    --text-color: #1d2939;
    --text-light: #475467;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    /* Effects */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 8px 24px rgba(16, 24, 40, 0.12);
    --shadow-xl: 0 16px 48px rgba(16, 24, 40, 0.18);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    
    /* Animations */
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--off-white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ========================================
   HEADER - Glassmorphism Effect
   ======================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

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

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

/* Logo - Premium Style */
.logo a {
    display: flex;
    flex-direction: column;
    position: relative;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    position: relative;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--bounce);
}

.logo a:hover .logo-text::after {
    transform: scaleX(1);
    transform-origin: left;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--dark-gray);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: -3px;
}

/* Navigation - Modern Style */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 35px 18px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-item.active .nav-link::before {
    width: 30px;
}

.nav-item.active .nav-link,
.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown - Glassmorphism */
.has-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    min-width: 240px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s var(--bounce);
    list-style: none;
    overflow: hidden;
    padding: 8px 0;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.dropdown-menu li a::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--secondary-color);
    transition: var(--transition-fast);
    opacity: 0;
}

.dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-menu li a:hover::before {
    opacity: 1;
}

/* Modern Mobile Navigation */
.mobile-nav-btn {
    display: none;
    background: var(--secondary-gradient);
    border: none;
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s var(--bounce);
    box-shadow: var(--shadow-md);
}

.mobile-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.mobile-nav-btn svg {
    color: var(--primary-dark);
    transition: transform 0.3s ease;
}

.mobile-nav-btn:hover svg {
    transform: scale(1.1);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 33, 55, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--smooth);
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform 0.4s var(--bounce);
}

.mobile-nav-overlay.active .mobile-nav-container {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--primary-gradient);
    color: var(--white);
}

.mobile-nav-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s var(--bounce);
    color: var(--white);
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.mobile-nav-menu {
    padding: 20px 0;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s var(--bounce);
    cursor: pointer;
}

.mobile-nav-link:hover {
    background: var(--off-white);
    color: var(--primary-color);
    padding-left: 25px;
}

.mobile-nav-item.active .mobile-nav-link {
    color: var(--primary-color);
    background: var(--off-white);
    border-left: 4px solid var(--primary-color);
}

.mobile-dropdown {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--off-white);
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s var(--smooth);
}

.mobile-dropdown.active {
    display: block;
    max-height: 300px;
}

.mobile-dropdown li a {
    display: block;
    padding: 12px 20px 12px 35px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s var(--bounce);
    font-size: 0.9rem;
}

.mobile-dropdown li a:hover {
    background: var(--white);
    color: var(--primary-color);
    padding-left: 40px;
}

/* ========================================
   HERO SECTION - Parallax & Animated
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

/* Animated Background Elements */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 74, 122, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(212, 175, 55, 0.1) 0%, transparent 30%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(2deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s var(--smooth);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s 0.2s var(--smooth) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s 0.4s var(--smooth) both;
}

/* Buttons - Premium Style */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.6s var(--smooth) both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    transition: all 0.4s var(--bounce);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--secondary-gradient);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-4px);
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2s infinite;
}

.hero-scroll span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

@keyframes scrollWheel {
    0% { top: 10px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    padding-top: 80px;
}

/* ========================================
   SECTIONS - Modern Spacing
   ======================================== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-dark);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title span {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   SERVICES - 3D Card Effect
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
    perspective: 1000px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--bounce);
    position: relative;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s var(--bounce);
}

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

.service-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s var(--smooth);
}

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

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(13, 33, 55, 0.8), transparent);
}

.service-content {
    padding: 35px;
    position: relative;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-top: -70px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-gold);
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s var(--bounce);
}

.service-link svg,
.service-link::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
    transition: transform 0.3s;
}

.service-link:hover {
    color: var(--secondary-dark);
    gap: 15px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    transition: all 0.4s var(--bounce);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.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.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--secondary-gradient);
    color: var(--primary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-4px);
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Content */
.main-content {
    padding-top: 90px;
}

/* Sections */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-gradient);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title span {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
    perspective: 1000px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--bounce);
    position: relative;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--secondary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s var(--bounce);
}

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

.service-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s var(--smooth);
}

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

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(13, 33, 55, 0.8), transparent);
}

.service-content {
    padding: 35px;
    position: relative;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-top: -70px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-gold);
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s var(--bounce);
}

.service-link::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
    transition: transform 0.3s;
}

.service-link:hover {
    color: var(--secondary-dark);
    gap: 15px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--white);
    border-radius: 20px;
    transition: all 0.4s var(--bounce);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--primary-gradient);
    transform: translateY(100%);
    transition: transform 0.4s var(--bounce);
    z-index: 0;
}

.feature-card:hover::before {
    transform: translateY(0);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    color: var(--white);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    -webkit-text-fill-color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.feature-card:hover h3 {
    color: var(--white);
}

.feature-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.feature-card:hover p {
    opacity: 1;
}

/* About Section */
.about-section {
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
    position: relative;
    background: var(--primary-color);
}

.about-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26,58,92,0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-overlay p {
    color: var(--white);
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.contact-detail p {
    color: var(--dark-gray);
    line-height: 1.6;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--secondary-color);
}

.team-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-card .position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Footer */
.main-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-desc {
    margin-top: 20px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

/* Base footer column styles */
.footer-col {
    margin-bottom: 0;
    min-height: fit-content;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-col {
        margin-bottom: 0;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-nav-btn {
        display: flex;
    }
    
    .main-nav .nav-menu {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }
    
    /* Footer Mobile Fix */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col {
        margin-bottom: 0;
    }
    
    .footer-col h4 {
        text-align: center;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links li,
    .footer-contact li {
        margin-bottom: 8px;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 15px 0;
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Footer grid already handled in mobile styles above */
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .btn-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
}

/* ========================================
   ADDITIONAL MODERN STYLES - INDEX PAGE
   ======================================== */

/* Hero Additional Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    animation: float 15s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.gradient-text {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* About Section Enhancements */
.about-image-wrapper {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--secondary-gradient);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    animation: floatBadge 3s ease-in-out infinite;
}

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

.experience-badge .exp-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: block;
    line-height: 1;
}

.experience-badge .exp-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-check {
    width: 28px;
    height: 28px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-dark);
    flex-shrink: 0;
}

/* Projects Preview Enhancements */
.projects-preview-section {
    background: var(--off-white);
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary-color);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-top: 20px;
    transition: all 0.3s var(--bounce);
}

.project-link:hover {
    background: var(--secondary-color);
    transform: rotate(45deg);
}

.text-center {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: var(--primary-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s var(--bounce);
}

.btn-phone:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-lg {
    padding: 20px 45px;
    font-size: 1rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.cta-feature svg {
    color: var(--secondary-color);
}

/* Animation Classes */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Section Background Variants */
.services-section {
    background: var(--white);
}

.features-section {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.about-section {
    background: var(--off-white);
}

/* Responsive Additions */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .experience-badge {
        right: 10px;
        padding: 15px 20px;
    }
    
    .experience-badge .exp-number {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* ========================================
   MODERN GALLERY STYLES - PROJE-KATEGORI.PHP
   ======================================== */

/* Page Header with Floating Elements */
.page-header {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.header-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.header-bg-elements .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    animation: float 20s infinite ease-in-out;
}

.header-bg-elements .shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.header-bg-elements .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: -10s;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header .breadcrumb {
    justify-content: center;
    margin-top: 30px;
}

.page-header .breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.page-header .breadcrumb a:hover {
    opacity: 1;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.gallery-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1rem;
}

.gallery-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-stats .stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.gallery-stats .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.gallery-stats .stat-divider {
    color: var(--medium-gray);
    font-weight: 300;
}

/* Gallery Controls */
.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--off-white);
    border-radius: 16px;
    border: 1px solid var(--light-gray);
}

.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--bounce);
}

.view-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.view-btn.active {
    background: var(--secondary-gradient);
    color: var(--primary-dark);
    border-color: var(--secondary-color);
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--bounce);
}

.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    transition: all 0.5s var(--smooth);
}

.gallery-grid.masonry {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-flow: dense;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--bounce);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item.small {
    grid-row: span 1;
}

.gallery-grid.masonry .gallery-item.large {
    grid-row: span 3;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-item.large .gallery-image-wrapper {
    height: 400px;
}

.gallery-grid.masonry .gallery-item.large .gallery-image-wrapper {
    height: 350px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--smooth);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(13, 33, 55, 0.1) 0%, 
        rgba(13, 33, 55, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s var(--bounce);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.image-number {
    background: var(--secondary-gradient);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.image-size {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.view-fullscreen {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--bounce);
}

.view-fullscreen:hover {
    background: var(--secondary-color);
    color: var(--primary-dark);
    transform: rotate(90deg);
}

/* Gallery Empty State */
.gallery-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
}

.gallery-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.gallery-empty p {
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Gallery Footer */
.gallery-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--bounce);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s var(--smooth);
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s var(--bounce);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.5s var(--smooth);
}

.lightbox-image.loaded {
    opacity: 1;
}

.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.lightbox-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.lightbox-nav {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s var(--bounce);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox-nav:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1);
}

.lightbox-info {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    color: var(--white);
}

.lightbox-counter {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   SIMPLE GALLERY STYLES - CLEAN VERSION
   ======================================== */

.simple-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.simple-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--bounce);
    cursor: pointer;
}

.simple-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.simple-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.simple-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Performance optimizations */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    /* Remove will-change for better performance */
    opacity: 1;
}

.simple-gallery-image.loaded {
    opacity: 1;
}

/* Preload items - immediate visibility */
.simple-gallery-item.preload {
    opacity: 1;
    transform: translateY(0);
}

.simple-gallery-item.preload .simple-gallery-image {
    opacity: 1;
}

/* Lazy load items - fade in when visible */
.simple-gallery-item.lazy-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.simple-gallery-item.lazy-load.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Remove loading animation for performance */
.simple-image-wrapper::before {
    display: none;
}

.simple-gallery-item:hover .simple-gallery-image {
    transform: scale(1.08);
}

.simple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(13, 33, 55, 0) 0%, 
        rgba(13, 33, 55, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s var(--bounce);
}

.simple-gallery-item:hover .simple-overlay {
    opacity: 1;
}

.simple-view-btn {
    width: 50px;
    height: 50px;
    background: var(--secondary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--bounce);
    transform: translateY(20px);
}

.simple-gallery-item:hover .simple-view-btn {
    transform: translateY(0);
}

.simple-view-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

/* ========================================
   WHATSAPP BUTTON - SITE COMPATIBLE
   ======================================== */

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    animation: whatsappFloat 3s ease-in-out infinite;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s var(--bounce);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.whatsapp-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s var(--bounce);
}

.whatsapp-link:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* Up-down floating animation */
@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse animation for attention */
.whatsapp-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.3);
    transform: translate(-50%, -50%);
    animation: whatsappPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes whatsappPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-link:hover .whatsapp-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        padding: 10px 14px;
        border-radius: 50%;
        width: 56px;
        height: 56px;
        justify-content: center;
    }
    
    .whatsapp-link svg {
        width: 28px;
        height: 28px;
    }
}

/* Simple Gallery Responsive */
@media (max-width: 768px) {
    .simple-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .simple-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .simple-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .simple-image-wrapper {
        height: 250px;
    }
}
