/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
   :root {
    /* Colors */
    --primary-color: #0b2e59; /* Deep corporate blue */
    --primary-light: #164d8c;
    --secondary-color: #fca311; /* Accent orange/gold for contrast */
    --secondary-hover: #e59005;
    
    --text-main: #333333;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;
    
    --bg-main: #f8fafc;
    --bg-light: #f1f5f9;
    --bg-dark: #14213d;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing & Layout */
    --section-padding: 5rem 0;
    --container-max: 1200px;
    --border-radius: 8px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.title-light { color: var(--text-light); }

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

.rounded { border-radius: var(--border-radius); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section-tag {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mt-4 { margin-top: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-wrapper {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
}

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

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

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 46, 89, 0.9) 0%, rgba(11, 46, 89, 0.5) 100%);
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-family: var(--font-primary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
}

.about-image img {
    aspect-ratio: 4/3;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    line-height: 1.2;
}

/* ==========================================================================
   Evolution Section
   ========================================================================== */
.evolution-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: center;
}

.evolution-images img {
    aspect-ratio: 1/1;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ==========================================================================
   Brands & Partners Section
   ========================================================================== */
.brands {
    background-color: #fff;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 2rem;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    height: 120px;
    width: 100%;
}

.brand-item img,
.brand-item h4 {
    max-width: 220px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.brand-item:hover img,
.brand-item:hover h4 {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    flex: 1 1 320px;
    max-width: 380px;
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

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

.service-card:hover::before {
    height: 100%;
}

.service-card:hover h4,
.service-card:hover p,
.service-card:hover .service-icon {
    color: #fff;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card h4 {
    transition: var(--transition);
}

.service-card p {
    margin-bottom: 0;
    transition: var(--transition);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.placeholder-item {
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.placeholder-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #adb5bd;
    transition: var(--transition);
}

.placeholder-item:hover {
    background-color: #dee2e6;
    border-color: var(--secondary-color);
    color: var(--text-main);
}

.placeholder-item:hover i {
    color: var(--secondary-color);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */
.projects {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.projects-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.projects-image img {
    aspect-ratio: 16/9;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.tag {
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background-color: var(--bg-main);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background-color: #fff;
    padding: 2.5rem 2rem;
    text-align: center;
    border-top: 4px solid transparent;
    transition: var(--transition);
}

.contact-card:hover {
    border-top-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(252, 163, 17, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background-color: var(--secondary-color);
    color: #fff;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.contact-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-links a i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

.contact-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.email-link {
    word-break: break-all;
}

/* Logo styles handled in Header section */

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 3rem 0;
    text-align: center;
}

.footer .logo h2 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .about-grid,
    .evolution-grid,
    .projects-info {
        grid-template-columns: 1fr;
    }
    
    .evolution-grid {
        gap: 2rem;
    }
    
    .evolution-images {
        grid-row: 2; /* Move image below text on mobile */
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   Lightbox System
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 17, 40, 0.95); /* Deep dark blue overlay */
    backdrop-filter: blur(8px);
    cursor: zoom-out;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.gallery-placeholder img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

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