/* ============================================
   OCCASION HUB - REBRANDED STYLESHEET
   ============================================ */

/* BRAND COLORS - Gold Luxury Theme */
:root {
    --primary: #D4AF37;        /* Classic Gold */
    --primary-dark: #B8962E;   /* Deep Gold */
    --secondary: #F5D77A;      /* Soft Gold */
    --accent: #8C6A00;         /* Rich Bronze Accent */
    --dark: #1C1C1C;           /* Deep Black */
    --text: #5A4A2C;           /* Warm Gold-Brown */
    --light: #FDF9F1;          /* Cream Background */
    --white: #FFFFFF;

    --gradient: linear-gradient(135deg, #D4AF37 0%, #F5D77A 100%);
    --gradient-alt: linear-gradient(135deg, #8C6A00 0%, #D4AF37 100%);
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    font-size: 32px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 184, 148, 0.4);
}

.nav-cta::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-menu a {
    display: block;
    padding: 16px;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--light);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
    background: var(--light);
}

.mobile-cta {
    background: var(--gradient);
    color: var(--white) !important;
    text-align: center;
    border-radius: 8px;
    margin-top: 16px;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.7) 0%, rgba(85, 239, 196, 0.6) 100%),
                url('https://images.unsplash.com/photo-1519167758481-83f29da8c2f4?w=2000&fit=crop&q=90') center/cover;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-family: 'Rubik', sans-serif;
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.highlight {
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.scroll-arrow {
    font-size: 24px;
}

/* BUTTONS - Completely Restyled */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-transform: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0, 184, 148, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 184, 148, 0.3);
    color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 184, 148, 0.3);
}

.btn-primary-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

.btn-primary-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.4);
    background: #f0f0f0;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* SECTIONS */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
}

.section-header p {
    font-size: 18px;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

/* SERVICES PREVIEW */
.services-preview {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: var(--secondary);
}

.service-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: var(--light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-overlay {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    color: var(--primary);
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-family: 'Rubik', sans-serif;
}

.service-content p {
    margin-bottom: 20px;
    color: var(--text);
    font-family: 'Roboto', sans-serif;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

/* WHY CHOOSE */
.why-choose {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-content {
    padding-right: 40px;
}

.lead {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text);
    font-family: 'Roboto', sans-serif;
}

.features-list {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    align-items: start;
}

.feature-icon {
    font-size: 40px;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-item h4 {
    font-size: 20px;
    margin-bottom: 8px;
    font-family: 'Rubik', sans-serif;
}

.feature-item p {
    color: var(--text);
    font-family: 'Roboto', sans-serif;
}

.why-images {
    position: relative;
}

.image-stack {
    position: relative;
    height: 600px;
}

.image-stack img {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    object-fit: cover;
}

.stack-img-1 {
    width: 380px;
    height: 480px;
    top: 0;
    right: 0;
    z-index: 2;
}

.stack-img-2 {
    width: 320px;
    height: 400px;
    bottom: 0;
    left: 0;
    z-index: 1;
}

/* PORTFOLIO SHOWCASE */
.portfolio-showcase {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.portfolio-item {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--light);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: 820px;
}

.portfolio-item.wide {
    grid-column: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-category {
    display: inline-block;
    background: var(--gradient);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.portfolio-overlay h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Rubik', sans-serif;
}

.portfolio-overlay p {
    opacity: 0.9;
    font-family: 'Roboto', sans-serif;
}

/* TESTIMONIALS */
.testimonials {
    background: var(--gradient);
    color: var(--white);
}

.testimonials .section-tag {
    background: var(--white);
    color: var(--primary);
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    color: var(--text);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stars {
    font-size: 20px;
    margin-bottom: 20px;
    color: #FFD700;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    font-family: 'Roboto', sans-serif;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    font-size: 18px;
    margin-bottom: 4px;
    font-family: 'Rubik', sans-serif;
}

.testimonial-author span {
    color: var(--text);
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1d2e 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Rubik', sans-serif;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    font-family: 'Roboto', sans-serif;
}

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

/* FOOTER */
.footer {
    background: var(--dark);
    color: #B8B8B8;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

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

.footer-col p {
    line-height: 1.8;
    margin-bottom: 24px;
    font-family: 'Roboto', sans-serif;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
    font-family: 'Rubik', sans-serif;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #B8B8B8;
    transition: color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.contact-info li {
    margin-bottom: 20px;
}

.contact-info strong {
    display: block;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Rubik', sans-serif;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.footer-credit a {
    color: var(--primary);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* UTILITIES */
.text-center {
    text-align: center;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-content {
        padding-right: 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item.large {
        grid-column: span 2;
        height: 400px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .why-images {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item,
    .portfolio-item.large,
    .portfolio-item.wide {
        grid-column: span 1;
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* ============================================
   NEW SECTIONS - SLIDER, CTA, FULLWIDTH
   ============================================ */

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    margin-top: 0;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 52, 54, 0.5) 0%, rgba(0, 184, 148, 0.4) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: var(--white);
    max-width: 900px;
    padding: 0 24px;
}

.slide-content h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 22px;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 3;
}

.slider-btn {
    background: rgba(255,255,255,0.3);
    border: 2px solid var(--white);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.3);
}

/* QUICK CTA BANNER */
.quick-cta-banner {
    background: var(--light);
    padding: 40px 0;
}

.quick-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.quick-cta-text h3 {
    font-size: 28px;
    margin-bottom: 8px;
    font-family: 'Rubik', sans-serif;
}

.quick-cta-text p {
    font-size: 16px;
    color: var(--text);
}

.quick-cta-buttons {
    display: flex;
    gap: 16px;
}

/* FULL WIDTH SERVICE SECTIONS */
.fullwidth-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.fullwidth-service.reverse {
    direction: rtl;
}

.fullwidth-service.reverse > * {
    direction: ltr;
}

.fullwidth-service-image {
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.fullwidth-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fullwidth-service:hover .fullwidth-service-image img {
    transform: scale(1.05);
}

.fullwidth-service-content {
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: var(--white);
}

.fullwidth-service:nth-child(even) .fullwidth-service-content {
    background: var(--light);
}

.fullwidth-service-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
    font-family: 'Rubik', sans-serif;
}

.fullwidth-service-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--text);
}

.service-highlights {
    list-style: none;
    margin: 32px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-highlights li {
    font-size: 16px;
    color: var(--text);
    font-family: 'Roboto', sans-serif;
}

/* CTA IMAGE SECTION */
.cta-image-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 52, 54, 0.7) 0%, rgba(0, 184, 148, 0.6) 100%);
}

.cta-image-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 700px;
    padding: 0 24px;
}

.cta-image-content h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 20px;
    font-family: 'Rubik', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-image-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* RESPONSIVE UPDATES */
@media (max-width: 1024px) {
    .fullwidth-service {
        grid-template-columns: 1fr;
    }

    .fullwidth-service.reverse {
        direction: ltr;
    }

    .fullwidth-service-image {
        min-height: 400px;
    }

    .service-highlights {
        grid-template-columns: 1fr;
    }

    .quick-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .quick-cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 600px;
    }

    .slide-content h1 {
        font-size: 42px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .slider-controls {
        padding: 0 20px;
    }

    .fullwidth-service-content h2 {
        font-size: 32px;
    }

    .cta-image-content h2 {
        font-size: 36px;
    }

    .quick-cta-text h3 {
        font-size: 24px;
    }

    .quick-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .quick-cta-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   IMAGE LOADING IMPROVEMENTS
   Add these to your existing styles.css
   ============================================ */

/* BASE IMAGE IMPROVEMENTS */
img {
    display: block;
    max-width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* Ensure images take up space even before loading */
.slide,
.service-image,
.portfolio-item,
.fullwidth-service-image,
.why-images img {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

/* HERO SLIDER IMAGE LOADING */
.slide {
    min-height: 700px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}

.slide img {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active img.loaded {
    opacity: 1;
}

/* Loading shimmer effect for slider */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    z-index: 0;
    pointer-events: none;
}

.slide.active::after,
.slide img.loaded ~ .slide::after {
    display: none;
}

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

/* SERVICE CARDS IMAGE LOADING */
.service-image {
    min-height: 320px;
    position: relative;
    background: linear-gradient(135deg, var(--light) 0%, #e8e8e8 100%);
}

.service-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    opacity: 0.5;
}

.service-image img.loaded ~ .service-image::before {
    display: none;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* PORTFOLIO ITEMS */
.portfolio-item {
    background: linear-gradient(135deg, var(--light) 0%, #e8e8e8 100%);
    min-height: 400px;
}

.portfolio-item.large {
    min-height: 820px;
}

/* FULLWIDTH SERVICE SECTIONS */
.fullwidth-service-image {
    min-height: 600px;
    background: linear-gradient(135deg, var(--light) 0%, var(--secondary) 20%, var(--light) 100%);
    position: relative;
}

.fullwidth-service-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2.5s infinite;
}

.fullwidth-service-image img.loaded + ::before {
    display: none;
}

/* IMAGE ERROR STATES */
.image-error {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    padding: 20px;
}

/* LAZY LOADING OPTIMIZATION */
img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* EAGER LOADING (critical images) */
img[loading="eager"] {
    opacity: 1;
}

/* SKELETON LOADERS */
.skeleton {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

.skeleton-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* PREVENT LAYOUT SHIFT */
.slide img,
.service-image img,
.portfolio-item img,
.fullwidth-service-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WHY CHOOSE IMAGES */
.why-images .stack-img-1,
.why-images .stack-img-2 {
    background: linear-gradient(135deg, var(--light) 0%, #e8e8e8 100%);
}

/* CTA IMAGE BACKGROUND */
.cta-image-bg {
    background-color: var(--dark);
}

.cta-image-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* LOGO IMAGES */
.logo-icon img,
.footer-logo img {
    opacity: 1 !important;
    transition: none !important;
}

/* RESPONSIVE IMAGE LOADING */
@media (max-width: 768px) {
    .slide {
        min-height: 600px;
    }
    
    .fullwidth-service-image {
        min-height: 400px;
    }
    
    .service-image {
        min-height: 250px;
    }
}

/* PRELOAD OPTIMIZATION */
/* Images marked with fetchpriority="high" */
img[fetchpriority="high"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[fetchpriority="high"].loaded {
    opacity: 1;
}

/* PROGRESSIVE IMAGE LOADING */
.progressive-image {
    position: relative;
    overflow: hidden;
}

.progressive-image-placeholder {
    position: absolute;
    inset: 0;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 0.5s ease;
}

.progressive-image-main {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.progressive-image-main.loaded {
    opacity: 1;
}

.progressive-image-main.loaded ~ .progressive-image-placeholder {
    opacity: 0;
}

/* NETWORK STATUS INDICATOR (OPTIONAL) */
.network-status {
    position: fixed;
    bottom: 100px;
    right: 32px;
    background: #ff4757;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.network-status.show {
    opacity: 1;
    transform: translateY(0);
}

.network-status.online {
    background: #2ed573;
}

/* IMAGE RETRY INDICATOR */
.image-retrying {
    position: relative;
}

.image-retrying::after {
    content: 'Retrying...';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

/* SMOOTH FADE IN FOR ALL IMAGES */
@media (prefers-reduced-motion: no-preference) {
    img {
        animation: fadeIn 0.5s ease forwards;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* RESPECT USER PREFERENCE FOR REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    img,
    .slide,
    .skeleton {
        animation: none !important;
        transition: none !important;
    }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    .slide::after,
    .service-image::before {
        display: none;
    }
}

/* PRINT STYLES */
@media print {
    img {
        opacity: 1 !important;
    }
    
    .skeleton,
    .slide::after,
    .service-image::before {
        display: none !important;
    }
}

/* ============================================
   ADDITIONAL PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Contain paint operations */
.slide,
.service-card,
.portfolio-item {
    contain: layout style paint;
}

/* Use GPU acceleration for transforms */
.service-card:hover,
.portfolio-item:hover img,
.fullwidth-service:hover .fullwidth-service-image img {
    will-change: transform;
}

/* Reset will-change after animation */
.service-card,
.portfolio-item img,
.fullwidth-service-image img {
    will-change: auto;
}

/* Optimize for smooth scrolling */
.hero-slider,
.service-image,
.portfolio-item {
    backface-visibility: hidden;
    transform: translateZ(0);
}