:root {
    --navy: #1a2e5a;
    /* Ana lacivert */
    --navy-dark: #0f1d3a;
    /* Koyu lacivert (header, footer) */
    --navy-light: #2a4080;
    /* Açık lacivert */
    --accent: #c9a84c;
    /* Altın/amber aksan */
    --accent-hover: #b8942e;
    --white: #ffffff;
    --bg: #f5f7fa;
    /* Çok açık gri/beyaz arka plan */
    --bg-alt: #edf0f6;
    /* Bölüm arası biraz koyu */
    --text: #374151;
    /* Ana metin */
    --text-light: #6b7280;
    /* Açık metin */
    --heading: #1a2e5a;
    /* Başlıklar lacivert */
    --border: #d1daea;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    border: 2px solid var(--accent);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.8);
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* ====== HEADER ====== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--navy-dark);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 24px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo .logo-img {
    height: 65px;
    /* Sadece logo kaldı, biraz daha büyük olabilir */
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-list a {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--accent);
}

.nav-list .btn-primary {
    font-size: 1rem;
    padding: 11px 26px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* ====== HERO ====== */
.hero {
    height: 100vh;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 29, 58, 0.88) 0%, rgba(26, 46, 90, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    padding: 0 40px;
}

.hero h1 {
    font-size: clamp(2.8rem, 4.5vw, 5.5rem);
    margin-bottom: 24px;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 1.6vw, 1.5rem);
    margin-bottom: 44px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ====== SECTIONS ====== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    margin: 0 auto 18px;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ====== ABOUT ====== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 14px;
    color: var(--text);
    line-height: 1.75;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    padding: 28px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(26, 46, 90, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ====== SERVICES ====== */
.services {
    background-color: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(26, 46, 90, 0.15);
    border-color: var(--navy-light);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-info {
    padding: 24px;
}

.service-info h3 {
    margin-bottom: 12px;
    color: var(--navy);
}

.service-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ====== WORKS SLIDER ====== */
.works-section {
    background-color: var(--white);
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 calc(100% / 3);
    padding: 6px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
    cursor: zoom-in;
}

.slide img:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.slider-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.slider-btn svg {
    width: 22px;
    height: 22px;
}

.slider-btn:hover {
    background: var(--navy);
    color: var(--white);
}

.slider-counter {
    text-align: center;
    margin-top: 14px;
    font-size: 0.88rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

/* Thumbnail strip */
.slider-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--navy) var(--bg);
}

.slider-thumbs::-webkit-scrollbar {
    height: 4px;
}

.slider-thumbs::-webkit-scrollbar-track {
    background: var(--bg);
    border-radius: 2px;
}

.slider-thumbs::-webkit-scrollbar-thumb {
    background: var(--navy);
    border-radius: 2px;
}

.thumb-item {
    flex-shrink: 0;
    width: 68px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transition: all 0.25s;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover {
    opacity: 0.75;
}

.thumb-item.active {
    border-color: var(--navy);
    opacity: 1;
}

/* ====== CONTACT ====== */
.contact {
    background-color: var(--bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-item {
    margin-bottom: 28px;
}

.info-item h3 {
    color: var(--navy);
    margin-bottom: 8px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.info-item p {
    color: var(--text);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--text);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
}

/* ====== FOOTER ====== */
.footer {
    background-color: var(--navy-dark);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo span {
    color: var(--accent);
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ====== LIGHTBOX ====== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 40, 0.94);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--navy-dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
    }

    .nav-list.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--accent);
        margin: 5px 0;
        transition: var(--transition);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-stats {
        margin-top: 30px;
    }

    .slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 600px) {
    .slide {
        flex: 0 0 100%;
    }
}