/* ==========================================================================
   PORTFOLIO OFFICIEL DE EL HADJ BOLLÉ SARR
   Poste Principal: Développeur Web • Secondary: Photographe & Graphiste
   Thème: Bleu & Blanc Premium | Tech + Créativité
   ========================================================================== */

:root {
    --primary: #1e40af;          /* Bleu Royal Principal */
    --primary-dark: #0b132b;     /* Bleu Marine Profond Tech */
    --primary-medium: #1c2541;   /* Bleu Marine Intermédiaire */
    --primary-light: #2563eb;    /* Bleu Vif Accent */
    --accent: #3b82f6;           /* Electric Blue */
    --accent-light: #60a5fa;     /* Bleu Ciel Doux */
    --bg-main: #f8fafc;          /* Fond Clair Soigné */
    --bg-card: #ffffff;          /* Carte Blanche Pur */
    --bg-alt: #eff6ff;           /* Fond Glacé Très Légèrement Bleuté */
    --text-dark: #0f172a;        /* Texte Foncé Haute Lisibilité */
    --text-muted: #475569;      /* Texte Secondaire Gray-Blue */
    --text-light: #94a3b8;       /* Texte Discret */
    --border-color: #e2e8f0;     /* Bordures Discrètes */
    --border-hover: #93c5fd;     /* Bordures Survol */
    --whatsapp-green: #25d366;   /* Vert WhatsApp Officiel */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(30, 64, 175, 0.08);
    --shadow-lg: 0 20px 35px -10px rgba(30, 64, 175, 0.15);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.25);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Typography & Badges */
.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dbeafe;
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--primary-light);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.brand-role {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

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

.nav-link.active::after, .nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
    transition: var(--transition);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 150px 0 90px 0;
    background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-greeting {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid #bfdbfe;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-weight: 700;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* Presentation Naturelle & Élégante de la Photo Officielle (Hero) */
.hero-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: white;
    padding: 14px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: var(--transition);
}

.hero-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.25);
}

.hero-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.12;
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    background: #0f172a;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.hero-photo-card:hover .hero-img {
    transform: scale(1.02);
}

.profile-tag-overlay {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    color: white;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.profile-tag-name {
    font-size: 1.1rem;
    font-weight: 800;
}

.profile-tag-title {
    font-size: 0.85rem;
    color: var(--accent-light);
    font-weight: 600;
}

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

.section-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-tag {
    color: var(--primary-light);
    font-weight: 800;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Section À Propos */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-img-box {
    background: white;
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.about-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: calc(var(--radius-lg) - 6px);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.7;
}

/* Mon Univers (3 Domaines) */
.universe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.universe-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.universe-card.featured {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    background: linear-gradient(to bottom, #ffffff, #f0f7ff);
}

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

.universe-icon {
    width: 60px;
    height: 60px;
    background: #dbeafe;
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: bold;
}

.universe-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
}

.universe-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Compétences Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.skill-item {
    background: white;
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.skill-item:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.skill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-light);
}

/* Mes Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.98rem;
    color: var(--text-muted);
}

/* Mes Projets Web Section (6 Real Hosted Projects) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.project-header {
    background: linear-gradient(135deg, #0b132b, #1e40af);
    padding: 24px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.project-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.project-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.project-tech {
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.project-footer {
    padding: 0 28px 28px 28px;
}

.btn-project {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-project:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

/* Galeries Photographie & Graphisme */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.gallery-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-hover);
}

.card-img-box {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
    background: #f1f5f9;
}

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

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

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.overlay-btn {
    background: white;
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Processus de travail (01, 02, 03, 04) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.process-step {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.process-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.process-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Pourquoi me choisir */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.why-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.why-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.why-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Section Contact & Netlify Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.contact-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
}

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

.contact-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-main);
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

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

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1500;
    transition: var(--transition);
}

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

/* Lightbox Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: 1000px;
    max-height: 90vh;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.lightbox-img-box {
    position: relative;
    max-height: 70vh;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 5;
}

.lightbox-nav-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-info {
    padding: 24px 32px;
    background: white;
}

.lightbox-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
}

.lightbox-category {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close:hover {
    background: white;
    transform: scale(1.1);
}

/* Footer (Sans 'Powered by Netlify') */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px 0;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.footer-brand p {
    color: var(--text-light);
    max-width: 420px;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Media Queries (1440px, 1024px, 768px, 480px, 375px) */
@media (max-width: 1024px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding-top: 130px;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .universe-grid, .process-grid, .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-160%);
        transition: transform 0.4s ease;
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }
    
    .projects-grid, .gallery-grid, .universe-grid, .process-grid, .why-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.75rem;
    }
}
