@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0A2647;
    --secondary: #1a3a5c;
    --accent: #D47800;
    --light-blue: #2C74B3;
    --green: #D47800;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --gray: #64748B;
    --dark: #1E293B;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: 0;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background: rgba(10, 38, 71, 0.98);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav ul {
    display: flex;
    gap: 35px;
}

.nav a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
    transition: 0.3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: 0.3s;
}

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

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

.hamburger {
    display: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 100px 40px 40px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu a {
    color: white;
    font-size: 20px;
    font-weight: 500;
    opacity: 0.9;
    transition: 0.3s;
}

.mobile-menu a:hover {
    opacity: 1;
    transform: translateX(10px);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 38, 71, 0.92) 0%, rgba(20, 66, 114, 0.85) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
    color: white;
}

.slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
    color: white;
}

.slide-content .highlight {
    color: var(--green);
}

.slide-content .lead {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
    color: rgba(255,255,255,0.9);
}

.slide-content .hero-buttons {
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn.active,
.nav-btn:hover {
    background: var(--green);
    border-color: var(--green);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow:hover {
    background: var(--green);
    border-color: var(--green);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--light-blue) 100%);
    color: white;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(44, 116, 179, 0.25) 0%, transparent 40%);
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--green);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.15;
    animation: fadeInUp 0.8s ease;
}

.hero .highlight {
    color: var(--green);
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero .btn {
    animation: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
}

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

/* Page Hero (Inner Pages) */
.page-hero {
    min-height: 50vh;
    padding: 150px 0 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&h=600&fit=crop');
    color: white;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 38, 71, 0.95) 0%, rgba(20, 66, 114, 0.9) 100%);
}

.page-hero .container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: white;
}

.page-hero .lead {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
    color: rgba(255,255,255,0.9);
}

.hero-tagline {
    animation: fadeInUp 0.8s ease 0.5s both;
}

.tagline-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--green), #059669);
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.hero-image-card {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background: var(--white);
    color: var(--dark);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    animation: floatCard 4s ease-in-out infinite;
}

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

.hero-image-card .card-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--green), #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.hero-image-card .card-text {
    display: flex;
    flex-direction: column;
}

.hero-image-card strong {
    font-size: 1.4rem;
    color: var(--primary);
}

.hero-image-card span {
    font-size: 0.85rem;
    color: var(--gray);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--light-blue));
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(44, 116, 179, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(44, 116, 179, 0.4);
    background: linear-gradient(135deg, var(--light-blue), var(--accent));
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--green);
    color: var(--white);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--green);
    margin: 15px auto 50px;
    border-radius: 2px;
}

.bg-light {
    background: linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
}

.features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 500;
}

.features li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--green), #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.about-img {
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(10, 38, 71, 0.15);
    transition: transform 0.4s;
}

.about-img:hover img {
    transform: scale(1.02);
}

.about-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--green);
    border-radius: 20px;
    z-index: -1;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(10, 38, 71, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--green));
    transform: scaleX(0);
    transition: 0.4s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(10, 38, 71, 0.15);
}

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

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}

.product-card:hover img {
    transform: scale(1.08);
}

.product-card h3 {
    padding: 25px 25px 12px;
    color: var(--primary);
    font-size: 1.25rem;
}

.product-card p {
    padding: 0 25px 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

.product-card ul {
    padding: 0 25px 25px;
}

.product-card ul li {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.product-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--green);
}

/* Why Choose Us */
.why-choose {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
}

.why-choose h2 {
    color: white;
}

.why-choose h2::after {
    background: var(--green);
}

.choose-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.choose-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.4s;
}

.choose-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.choose-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--green), #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.choose-content h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.choose-content p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 38, 71, 0);
    transition: all 0.3s;
}

.gallery-item:hover::after {
    background: rgba(10, 38, 71, 0.3);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    padding: 40px 30px;
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(10, 38, 71, 0.08);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--green));
}

.stat-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(10, 38, 71, 0.12);
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--gray);
    font-size: 0.95rem;
    margin-top: 8px;
    font-weight: 500;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta h2::after {
    display: none;
}

.cta p {
    opacity: 0.9;
    font-size: 1.15rem;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer p {
    opacity: 0.85;
    line-height: 1.8;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--green);
    border-radius: 1px;
}

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

.footer a {
    opacity: 0.75;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer a:hover {
    opacity: 1;
    color: var(--green);
    transform: translateX(5px);
    display: inline-block;
}

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

/* Mobile */
@media (max-width: 992px) {
    .nav {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: 150px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .choose-grid {
        flex-direction: column;
    }
    
    .about-grid,
    .products-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .about-img::before {
        display: none;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 130px 0 50px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .stat-num {
        font-size: 2rem;
    }
}

/* Hero Slider Responsive */
@media (max-width: 768px) {
    .hero-slider {
        min-height: 600px;
    }
    
    .slide-content {
        padding: 100px 20px 60px;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .slide-content .lead {
        font-size: 1rem;
    }
    
    .slider-arrows {
        display: none;
    }
    
    .slider-nav {
        bottom: 25px;
    }
    
    .nav-btn {
        width: 10px;
        height: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 107, 53, 0.8);
    border: none;
    color: white;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
}

.lightbox-nav:hover {
    background: var(--accent);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media (max-width: 900px) {
    .lightbox-prev {
        left: 10px;
        padding: 10px 15px;
        font-size: 24px;
    }
    
    .lightbox-next {
        right: 10px;
        padding: 10px 15px;
        font-size: 24px;
    }
}
