/* Variable Definitions */
:root {
    --primary-color: #E63946;
    /* Solar Gold */
    --primary-hover: #D32F2F;
    --secondary-color: #F8F9FA;
    /* Midnight Blue */
    --secondary-light: #E9ECEF;
    --text-color: #212529;
    /* Slate White */
    --text-muted: #6C757D;
    --bg-color: #FFFFFF;
    --card-bg: #FFFFFF;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary-color);
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.center-text {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.btn-outline {
    border: 2px solid var(--text-color);
    color: var(--text-color);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader-logo img {
    height: 100px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background-color: var(--secondary-light);
    overflow: hidden;
    border-radius: 2px;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    animation: load 2s ease-in-out forwards;
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

.nav-links ul {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -7px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide video,
.slide img {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(2, 12, 27, 0.7) 0%,
            rgba(2, 12, 27, 0.4) 50%,
            rgba(2, 12, 27, 0.9) 100%);
    z-index: 2;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 100px;
    right: 50px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.control-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-controls {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-content .badge {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    margin-top: 10px;
}

/* About Section */
.about-section {
    background-color: var(--secondary-color);
}

.grid {
    display: grid;
    gap: 50px;
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    filter: grayscale(20%);
    transition: var(--transition);
}

.about-image:hover img {
    filter: grayscale(0%);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

.feature-list h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-list p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    flex-direction: column;
    gap: 15px;
}

.project-card:hover .card-overlay {
    opacity: 1;
}

.category {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition);
}

.details-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-card:hover .category,
.project-card:hover .details-btn {
    transform: translateY(0);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services Section */
.dark-bg {
    background-color: var(--bg-color);
}

.capabilities {
    margin-top: 40px;
}

.capability-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    margin-bottom: 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.capability-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.cap-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.cap-detail h4 {
    color: var(--text-color);
    margin-bottom: 5px;
}

.cap-detail p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.visual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
}

.v-item {
    border-radius: 8px;
    overflow: hidden;
}

.v-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.v-item:hover img {
    transform: scale(1.05);
}

.v-1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.v-2 {
    grid-column: 2;
    grid-row: 1;
}

.v-3 {
    grid-column: 2;
    grid-row: 2;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--secondary-color);
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* Video Gallery Section */
.video-gallery-section {
    background-color: var(--bg-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.video-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.video-item video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.video-item h3 {
    padding: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin: 0;
}


/* References Section */
.references-section {
    background-color: #fff;
    padding: 60px 0;
}

.references-section .section-title {
    color: var(--bg-color);
}

.references-image-container {
    text-align: center;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.references-image-container img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}


/* Contact Section */
.contact-section {
    background: linear-gradient(rgba(2, 12, 27, 0.9), rgba(2, 12, 27, 0.95));
    background-size: cover;
    background-attachment: fixed;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info { color: #fff; } .contact-info h3, .contact-info p, .contact-info strong { color: #fff;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 3px 0;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

.full-width {
    width: 100%;
    display: block;
    text-align: center;
}

/* Footer */
footer {
    background-color: #010812;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links a {
    margin-left: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}


/* Animations */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes load {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-bottom {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 50px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--secondary-light);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-container {
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .visual-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .v-1,
    .v-2,
    .v-3 {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }
}

/* ========================================================================= */
/* PROJECT DETAILS PAGE & LIGHTBOX STYLES                                   */
/* ========================================================================= */

.project-hero {
    padding: 150px 0 80px;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    color: var(--text-color);
    transition: var(--transition);
    font-weight: 500;
}

.back-btn:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.project-title {
    font-size: 3.5rem;
    color: var(--text-color);
    margin-top: 10px;
}

.project-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.detail-block {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.detail-block:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.detail-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.detail-text h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.detail-text p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* Mixed Media Grid */
.media-mixed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.media-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #000;
}

.media-card img, 
.media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.media-overlay i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transform: scale(0.5);
    transition: var(--transition);
}

.media-card:hover img {
    transform: scale(1.05);
}

.media-card:hover .media-overlay {
    opacity: 1;
}

.media-card:hover .media-overlay i {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content-wrapper {
    position: relative;
    margin: auto;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content-wrapper img,
.lightbox-content-wrapper video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
    }
    
    .media-mixed-grid {
        grid-template-columns: 1fr;
    }
}
/* Timeline Page Process Component */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-dot {
    position: absolute;
    width: 44px;
    height: 44px;
    right: -22px;
    background-color: var(--secondary-color);
    border: 4px solid var(--primary-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--text-color);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -22px;
}
.timeline-content {
    padding: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}
.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(230, 57, 70, 0.15);
}
.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
}
.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 20px; left: 0 !important; text-align: left !important; }
    .timeline-item:nth-child(even) .timeline-dot, .timeline-item:nth-child(odd) .timeline-dot { left: 11px; right: auto; }
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* =====================================================================
   PREMIUM POLISH (SCROLLBAR, SELECTION, GLOW FX)
   ===================================================================== */

/* Webkit Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-light);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Custom Text Selection */
::selection {
    background: var(--primary-color);
    color: #000;
}
::-moz-selection {
    background: var(--primary-color);
    color: #000;
}

/* Button Glow Effects */
.btn-primary {
    transition: all 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
    transform: translateY(-2px);
}

/* Stats / Number Counter UI */
.stat-item {
    padding: 30px 20px;
    background: var(--glass-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}
.stat-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px -10px rgba(230, 57, 70, 0.15);
    transform: translateY(-5px);
}
.stat-value {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.stat-number {
    font-weight: 700;
}
.stat-text {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* =====================================================================
   Hava Ray Özel Sayfası (havaray-ozel.html)
   ===================================================================== */

.havaray-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 12, 27, 0.8) 0%, rgba(2, 12, 27, 0.5) 50%, rgba(2, 12, 27, 0.95) 100%);
}

.havaray-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.havaray-hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.havaray-hero-content p {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 40px;
}

/* System Details Row Layout */
.system-details-section {
    background: var(--secondary-color);
    padding: 100px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.feature-row:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-video {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.feature-video video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.feature-info {
    flex: 1;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

@media (max-width: 900px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
}
