/* ==========================================================================
   Aprendiz de Chef - Main CSS Stylesheet
   Designed by Antigravity (Google DeepMind)
   ========================================================================== */

/* 1. Design System & Variables */
:root {
    /* Color Palette */
    --clr-bg-primary: #120e0d;        /* Deep chocolate black */
    --clr-bg-secondary: #1e1715;      /* Warm dark brown */
    --clr-bg-tertiary: #2a201d;       /* Soft cocoa brown */
    --clr-bg-glass: rgba(30, 23, 21, 0.75);
    
    --clr-brand-red: #c11c34;         /* Rich red matching the logo "Chef" text */
    --clr-brand-red-hover: #e32b45;   /* Bright red for hover states */
    --clr-brand-red-glow: rgba(193, 28, 52, 0.4);
    
    --clr-accent-gold: #dfb28c;       /* Pastry gold / warm crust */
    --clr-accent-gold-hover: #f0cbb0;
    --clr-accent-gold-glow: rgba(223, 178, 140, 0.3);
    
    --clr-text-primary: #f7ece9;      /* Elegant warm cream-white */
    --clr-text-secondary: #bba9a4;    /* Muted chocolate-gray */
    --clr-text-muted: #8c7a75;        /* Subdued text */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Structure */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px var(--clr-brand-red-glow);
    --shadow-gold-glow: 0 0 25px var(--clr-accent-gold-glow);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-brand-red) var(--clr-bg-primary);
}

body {
    background-color: var(--clr-bg-primary);
    color: var(--clr-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea {
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Custom Scrollbar for Webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--clr-bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-bg-tertiary);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-brand-red);
}

/* Base Layout Helpers */
.section-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 100px 24px;
}

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

.section-subtitle {
    font-family: var(--font-heading);
    color: var(--clr-accent-gold);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.section-description {
    color: var(--clr-text-secondary);
    max-width: 600px;
    margin: 16px auto 0;
    font-size: 1.1rem;
}

/* Highlight text */
.highlight {
    background: linear-gradient(135deg, var(--clr-brand-red), var(--clr-accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--clr-brand-red);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(193, 28, 52, 0.3);
}
.btn-primary:hover {
    background-color: var(--clr-brand-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid var(--clr-bg-tertiary);
}
.btn-secondary:hover {
    border-color: var(--clr-accent-gold);
    background-color: rgba(223, 178, 140, 0.05);
    transform: translateY(-2px);
}

/* 3. Header / Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--clr-bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(18, 14, 13, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: var(--container-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}
.main-header.scrolled .header-logo {
    height: 44px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-secondary);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
    color: #fff;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-brand-red);
    transition: var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-button {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--clr-brand-red);
    padding: 10px 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(193, 28, 52, 0.2);
}
.cta-button:hover {
    background-color: var(--clr-brand-red-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: var(--transition-fast);
}

/* 4. Hero Section */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    animation: fadeInUp 0.8s forwards;
}

.badge {
    background-color: rgba(223, 178, 140, 0.1);
    border: 1px solid rgba(223, 178, 140, 0.25);
    color: var(--clr-accent-gold);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}
.hero-subtitle strong {
    color: #fff;
    font-weight: 600;
}

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

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeInRight 1s forwards;
}

.stat-card {
    background-color: rgba(30, 23, 21, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 24px 30px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition-smooth);
}
.stat-card:hover {
    transform: translateX(-5px);
    border-color: rgba(223, 178, 140, 0.2);
    background-color: rgba(30, 23, 21, 0.8);
    box-shadow: var(--shadow-gold-glow);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-brand-red);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--clr-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}
.scroll-indicator i:hover {
    color: #fff;
}

/* 5. About Section */
.about-section {
    background-color: var(--clr-bg-secondary);
    position: relative;
}

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

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-card-decorative {
    background-color: var(--clr-bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 400px;
    transition: var(--transition-smooth);
}
.about-card-decorative:hover {
    transform: translateY(-5px);
    border-color: var(--clr-brand-red-glow);
    box-shadow: var(--shadow-glow);
}
.about-card-decorative::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: calc(var(--border-radius-lg) + 3px);
    background: linear-gradient(135deg, var(--clr-brand-red), transparent, var(--clr-accent-gold));
    z-index: -1;
    opacity: 0.3;
    transition: var(--transition-smooth);
}
.about-card-decorative:hover::before {
    opacity: 0.7;
}

.about-logo-img {
    max-height: 220px;
    width: auto;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
    transition: var(--transition-smooth);
}
.about-card-decorative:hover .about-logo-img {
    transform: scale(1.05) rotate(2deg);
}

.about-logo-overlay {
    text-align: center;
}
.about-logo-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.about-logo-overlay p {
    font-size: 0.9rem;
    color: var(--clr-accent-gold);
    font-weight: 500;
}

.about-content {
    animation: fadeIn 1s ease;
}

.about-text {
    font-size: 1.1rem;
    color: var(--clr-text-secondary);
    margin-bottom: 24px;
    font-weight: 300;
}
.about-text strong {
    color: #fff;
    font-weight: 500;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-item i {
    font-size: 1.4rem;
    color: var(--clr-brand-red);
    background-color: rgba(193, 28, 52, 0.08);
    border: 1px solid rgba(193, 28, 52, 0.15);
    padding: 16px;
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.highlight-item h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.highlight-item p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
}

/* 6. Journey Section */
.journey-section {
    background-color: var(--clr-bg-primary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 20px 0;
}

/* Vertical center line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--clr-brand-red), var(--clr-bg-tertiary), var(--clr-accent-gold));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 50px;
    transition: var(--transition-smooth);
}

/* Alternate sides */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

/* Dots on the center line */
.timeline-dot {
    position: absolute;
    top: 5px;
    left: 100%;
    width: 20px;
    height: 20px;
    background-color: var(--clr-bg-primary);
    border: 3px solid var(--clr-brand-red);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: var(--transition-smooth);
}
.timeline-item:nth-child(even) .timeline-dot {
    left: 0;
    border-color: var(--clr-accent-gold);
}

.timeline-item:hover .timeline-dot {
    background-color: #fff;
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Dates */
.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: var(--transition-fast);
}
.timeline-item:nth-child(odd) .timeline-date {
    color: var(--clr-brand-red);
}

/* Cards */
.timeline-content {
    background-color: var(--clr-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition-smooth);
}
.timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    width: 0;
    height: 0;
    border-style: solid;
}
.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--clr-bg-secondary);
}
.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--clr-bg-secondary) transparent transparent;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.timeline-content p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* 7. Gallery Section */
.gallery-section {
    background-color: var(--clr-bg-secondary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--clr-bg-tertiary);
    color: var(--clr-text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--clr-brand-red);
    border-color: var(--clr-brand-red);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

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

.gallery-item {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: var(--clr-bg-primary);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.gallery-img-container {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 14, 13, 0.95) 20%, rgba(18, 14, 13, 0.4) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none; /* Allows click through overlay to the container */
}

/* Card details shown on hover */
.gallery-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.gallery-item-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.gallery-item-desc {
    color: var(--clr-text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: 300;
}

.view-details-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px dashed var(--clr-brand-red);
    width: max-content;
    padding-bottom: 2px;
}

/* Hover behaviors */
.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.08);
}
.gallery-item:hover .gallery-img-container img {
    transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* 8. Contact Section */
.contact-section {
    background-color: var(--clr-bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
}

.contact-intro-text {
    font-size: 1.1rem;
    color: var(--clr-text-secondary);
    margin-top: 16px;
    font-weight: 300;
}

.contact-details {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-detail-item .icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background-color: var(--clr-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-accent-gold);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}
.contact-detail-item:hover .icon-box {
    background-color: var(--clr-brand-red);
    border-color: var(--clr-brand-red);
    color: #fff;
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.detail-text {
    display: flex;
    flex-direction: column;
}
.detail-text span {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.detail-text a, .detail-text p {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
    margin-top: 4px;
}
.detail-text a:hover {
    color: var(--clr-accent-gold);
}

.social-links-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--clr-bg-tertiary);
    padding-top: 30px;
}
.social-links-area span {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--clr-bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--clr-text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}
.social-icon:hover {
    background-color: #fff;
    color: var(--clr-bg-primary);
    transform: translateY(-3px) scale(1.05);
}
.social-icon[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.4);
}
.social-icon[aria-label="Facebook"]:hover {
    background-color: #1877f2;
    color: #fff;
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.contact-form-panel {
    background-color: var(--clr-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-form-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}
.contact-form-panel h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--clr-brand-red);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-secondary);
}

.form-group input, .form-group textarea {
    background-color: var(--clr-bg-primary);
    border: 1px solid var(--clr-bg-tertiary);
    color: #fff;
    padding: 14px 18px;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--clr-accent-gold);
    box-shadow: 0 0 0 3px rgba(223, 178, 140, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--clr-brand-red);
    color: #fff;
    border: none;
    padding: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(193, 28, 52, 0.3);
    margin-top: 10px;
    transition: var(--transition-smooth);
}
.submit-btn:hover {
    background-color: var(--clr-brand-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* 9. Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(18, 14, 13, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--clr-text-secondary);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    z-index: 2100;
}
.lightbox-close:hover {
    color: #fff;
    transform: scale(1.1);
}

.lightbox-content-wrapper {
    max-width: 900px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background-color: var(--clr-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-modal.active .lightbox-content-wrapper {
    transform: scale(1);
}

.lightbox-img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 550px;
    object-fit: cover;
}

.lightbox-caption {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-cat {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.lightbox-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.lightbox-desc {
    color: var(--clr-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

/* 10. Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: -400px; /* Hidden offscreen by default */
    background-color: var(--clr-bg-secondary);
    border-left: 4px solid #10b981; /* Success Green */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 20px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3000;
    width: 360px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
    right: 30px;
}

.toast-notification i {
    font-size: 1.8rem;
    color: #10b981;
}

.toast-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.toast-content p {
    font-size: 0.85rem;
    color: var(--clr-text-secondary);
}

/* 11. Footer */
.main-footer {
    background-color: #0b0808;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 24px;
    text-align: center;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--clr-text-secondary);
}

.footer-school {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}
.footer-school a {
    color: var(--clr-accent-gold);
}
.footer-school a:hover {
    color: #fff;
    text-decoration: underline;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 13. Responsive Media Queries */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
    .section-container {
        padding: 80px 24px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 24px;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 20px;
    }
    
    .stat-card {
        padding: 16px 24px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-wrapper {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .lightbox-content-wrapper {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .lightbox-img {
        min-height: 250px;
        max-height: 350px;
    }
    
    .lightbox-caption {
        padding: 24px;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .main-header {
        background-color: var(--clr-bg-primary);
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--clr-bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-smooth);
        padding-bottom: 80px;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    /* Toggle icon state active */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Timeline Mobile adjustments (Timeline runs on single side) */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 20px !important;
    }
    
    .timeline-content::before {
        left: -10px !important;
        border-width: 10px 10px 10px 0 !important;
        border-color: transparent var(--clr-bg-secondary) transparent transparent !important;
    }
    
    .gallery-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
    
    .toast-notification {
        width: calc(100% - 40px);
        left: 20px;
        right: auto;
        bottom: -200px;
        transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .toast-notification.active {
        bottom: 20px;
    }
}
