/* ============================================
   TEMA 4: TURUNCU PREMIUM
   Koyu Lacivert / Turuncu / Beyaz
   Güçlü, enerjik, profesyonel
============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0c1829;
    --navy-mid: #12203a;
    --navy-light: #182a48;
    --orange: #e05a1a;
    --orange-light: #f06a2a;
    --orange-dark: #c04a12;
    --orange-muted: rgba(224,90,26,0.08);
    --white: #ffffff;
    --off-white: #f8f8f7;
    --cream: #faf9f7;
    --gray-100: #f0efed;
    --gray-200: #e0dedb;
    --gray-300: #c8c5c0;
    --gray-500: #7a7670;
    --text: #1a1816;
    --text-light: #5c5750;
    --border: #e3e1dd;
    --shadow-sm: 0 1px 3px rgba(12,24,41,0.05);
    --shadow-md: 0 4px 20px rgba(12,24,41,0.08);
    --shadow-lg: 0 8px 40px rgba(12,24,41,0.12);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER - TEK SATIR ===== */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 10px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 15px;
    color: var(--navy);
    flex-shrink: 0;
}

.logo-icon {
    width: 48px; height: 48px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--orange);
    flex-shrink: 0;
}

.logo-icon::before { content: '★'; color: var(--orange); font-size: 20px; }
.logo img { height: 55px; object-fit: contain; flex-shrink: 0; }

/* NAV - Tek satır */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}

.main-nav > li { position: relative; flex-shrink: 0; }

.main-nav > li > a {
    display: block;
    padding: 24px 9px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.main-nav > li > a:hover,
.main-nav > li.active > a {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.main-nav > li > a.btn-apply {
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 3px;
    padding: 9px 18px;
    margin-left: 6px;
    letter-spacing: 1.2px;
    font-size: 11px;
    font-weight: 700;
}

.main-nav > li > a.btn-apply:hover {
    background: var(--orange-dark);
}

/* Dropdown */
.main-nav li .dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 290px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--orange);
    opacity: 0; visibility: hidden;
    transform: translateY(5px);
    transition: var(--transition);
    z-index: 100;
}

.main-nav li:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown li a {
    display: block;
    padding: 11px 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--gray-100);
}

.dropdown li a:hover {
    background: var(--orange-muted);
    color: var(--orange);
    padding-left: 26px;
}

.dropdown li:last-child a { border-bottom: none; }

/* Mobile toggle - SAĞ TARAF */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--navy);
    font-size: 22px;
    cursor: pointer;
    color: var(--navy);
    padding: 8px 12px;
    border-radius: 3px;
    margin-left: auto;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) contrast(1.1);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(12,24,41,0.3) 0%, rgba(12,24,41,0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 850px;
    padding: 0 30px;
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h1::after {
    content: '';
    display: block;
    width: 55px;
    height: 3px;
    background: var(--orange);
    margin: 25px auto 0;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-btn {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 15px 44px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: none;
    transition: var(--transition);
}

.hero-btn:hover {
    background: var(--orange-light);
    box-shadow: 0 6px 25px rgba(224,90,26,0.35);
}

/* ===== SLIDER ===== */
.slider-section {
    position: relative;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
    background: var(--navy);
}

.slider-wrapper { position: relative; width: 100%; height: 100%; }

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.9s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active { opacity: 1; z-index: 2; }
.slide .hero-bg { filter: brightness(0.3) contrast(1.1); }

.slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(12,24,41,0.3) 0%, rgba(12,24,41,0.75) 100%);
    z-index: 1;
}

.slide .hero-content { z-index: 2; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(224,90,26,0.15);
    border: 1px solid var(--orange);
    color: var(--orange);
    width: 48px; height: 48px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-arrow:hover { background: var(--orange); color: var(--white); }
.slider-prev { left: 30px; }
.slider-next { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 30px; height: 3px;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover { background: var(--orange); width: 45px; }

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }

.section-title {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 55px;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--orange);
    margin: 16px auto 0;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--orange);
    transition: width 0.4s ease;
}

.service-card:hover::after { width: 100%; }
.service-card:hover { box-shadow: var(--shadow-lg); }

.service-card .card-image { height: 220px; overflow: hidden; }

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

.service-card:hover .card-image img { transform: scale(1.05); }

.service-card .card-body { padding: 28px; }

.service-card .card-line {
    width: 30px; height: 3px;
    background: var(--orange);
    margin: 0 0 16px;
}

.service-card .card-body h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.5;
    letter-spacing: 0.5px;
}

.service-card .card-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.read-more i { margin-left: 6px; font-size: 10px; transition: var(--transition); }
.service-card:hover .read-more i { transform: translateX(5px); }
a.service-card { display: block; color: inherit; }

.btn-all-services {
    display: inline-block;
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 13px 40px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 45px;
    transition: var(--transition);
}

.btn-all-services:hover { background: var(--navy); color: var(--orange); }

/* ===== ABOUT ===== */
.about-section {
    position: relative;
    padding: 110px 0;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(12,24,41,0.88);
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.about-content p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 35px;
    font-weight: 300;
}

.about-label {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--orange);
    border-top: 2px solid var(--orange);
    display: inline-block;
    padding-top: 15px;
    font-weight: 600;
}

/* ===== PAGE ===== */
.page-banner {
    background: var(--navy);
    padding: 55px 0;
    text-align: center;
    position: relative;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 3px;
    background: var(--orange);
}

.page-banner h1 {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.page-content { padding: 50px 0 70px; min-height: 400px; }

.page-content .content-inner { max-width: 850px; margin: 0 auto; font-size: 15px; line-height: 1.9; }
.page-content .content-inner h3, .page-content .content-inner h4 { color: var(--navy); margin: 28px 0 14px; }
.page-content .content-inner ul, .page-content .content-inner ol { padding-left: 20px; margin: 15px 0; }
.page-content .content-inner li { margin-bottom: 6px; }
.page-content .content-inner a { color: var(--orange); font-weight: 600; }
.page-content .content-inner a:hover { color: var(--orange-dark); }
.page-content .content-inner img { max-width: 100%; margin: 15px 0; }
.page-content .content-inner table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.page-content .content-inner table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-size: 13px; }
.page-content .content-inner table td { padding: 11px 16px; border-bottom: 1px solid var(--gray-200); font-size: 14px; }

/* EXAM */
.exam-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.exam-table thead { background: var(--navy); color: var(--white); }
.exam-table th { padding: 14px 16px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-align: left; }
.exam-table td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--gray-200); }
.exam-table tbody tr:hover { background: var(--orange-muted); }
.exam-table tbody tr:nth-child(even) { background: var(--cream); }
.exam-table-styled { border: 2px solid var(--navy); }
.exam-table-styled thead { background: var(--navy); }
.exam-table-styled th { padding: 16px; font-size: 13px; border-right: 1px solid rgba(255,255,255,0.15); }
.exam-table-styled th:last-child { border-right: none; }
.exam-table-styled td { padding: 18px 16px; font-size: 15px; border-right: 1px solid var(--gray-200); }
.exam-table-styled td:last-child { border-right: none; }
.exam-table-styled tbody tr:nth-child(even) { background: var(--orange-muted); }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { overflow: hidden; cursor: pointer; aspect-ratio: 1; border: 1px solid var(--gray-200); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.08); }

/* FORMS */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 11px; font-weight: 700; color: var(--navy); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--gray-200); font-size: 14px; font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px var(--orange-muted); }
.form-group textarea { height: 120px; resize: vertical; }
.btn-submit { background: var(--orange); color: var(--white); padding: 15px 50px; border: none; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; text-transform: uppercase; letter-spacing: 2px; transition: var(--transition); }
.btn-submit:hover { background: var(--orange-dark); }

/* FOOTER */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.55); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-title { font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 22px; }
.footer-about p { font-size: 13px; line-height: 1.9; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 13px; }
.footer-contact li i { color: var(--orange); margin-top: 3px; min-width: 16px; }
.footer-posts li { border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 14px; margin-bottom: 14px; }
.footer-posts li a { font-size: 13px; }
.footer-posts li a:hover { color: var(--orange); }
.footer-posts li .date { color: var(#9b9693); font-size: 11px; margin-top: 5px; }
.social-links { display: flex; gap: 8px; margin-top: 25px; }
.social-links a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,0.4); transition: var(--transition); }
.social-links a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; display: flex; justify-content: space-between; font-size: 12px; }
.footer-bottom a { color: var(--orange); font-weight: 600; }

/* MISC */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.35); z-index: 999; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float i { font-size: 28px; color: white; }
.scroll-top { position: fixed; bottom: 30px; right: 100px; width: 44px; height: 44px; background: var(--navy); color: var(--orange); border: 1px solid var(--orange); display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 999; font-size: 16px; transition: var(--transition); }
.scroll-top:hover { background: var(--orange); color: var(--white); }
.alert { padding: 15px 20px; margin-bottom: 20px; font-size: 14px; border-left: 3px solid; }
.alert-success { background: #f0f7f0; color: #1a5c1a; border-color: #2a9d2a; }
.alert-error { background: #fdf0f0; color: #8b1a1a; border-color: #d42a2a; }
.breadcrumb { display: flex; align-items: center; gap: 10px; padding: 18px 0; font-size: 12px; color: var(--gray-500); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .mobile-toggle { display: block; }
    
    .header-inner {
        flex-wrap: nowrap;
    }
    
    .main-nav {
        display: none;
        flex-direction: column;
        flex-wrap: wrap;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        z-index: 100;
        border-top: 3px solid var(--orange);
    }
    
    .main-nav.active { display: flex; }
    .main-nav > li > a { padding: 14px 24px; border-bottom: 1px solid var(--gray-100); font-size: 12px; }
    .main-nav li .dropdown { position: static; box-shadow: none; border-top: none; opacity: 1; visibility: visible; transform: none; display: none; background: var(--cream); }
    .main-nav li .dropdown.show { display: block; }
    
    .services-grid, .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid, .form-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 26px; letter-spacing: 1px; }
    .hero, .slider-section { height: 55vh; min-height: 380px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 14px; }
    .slider-prev { left: 12px; }
    .slider-next { right: 12px; }
    .section { padding: 60px 0; }
}

@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 22px; }
    .section-title { font-size: 12px; letter-spacing: 3px; }
    .page-banner h1 { font-size: 18px; letter-spacing: 2px; }
}
