/* ==========================================
   AZDEMİR OTO YIKAMA & HALI YIKAMA
   MAIN STYLESHEET
========================================== */


/* ========== 1. GENEL AYARLAR ========== */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter.ttf') format('truetype');
    font-style: normal;
}

@font-face {
    font-family: 'Inter-italic';
    src: url('../fonts/Inter-Italic.ttf') format('truetype');
    font-style: normal;
}


:root {
    --primary: #f5b800;
    --primary-dark: #cc9600;
    --primary-light: #ffd34d;

    --bg: #090909;
    --bg-secondary: #111111;
    --bg-card: #181818;

    --text: #ffffff;
    --text-muted: #a8a8a8;

    --border: rgba(245, 184, 0, 0.14);

    --container: 1200px;
    --header-height: 90px;

    --transition: all 0.3s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: min(var(--container), calc(100% - 50px));
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 50px;
}

.center-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

.center-heading .section-label {
    justify-content: center;
}

.label-line {
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-heading h2 {
    color: white;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
}


/* ========== 2. BUTONLAR ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 25px;
    border-radius: 6px;

    font-size: 13px;
    font-weight: 700;

    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #090909;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 184, 0, 0.25);
}

.btn-outline {
    background: rgba(255,255,255,0.04);
    color: white;
    border-color: rgba(255,255,255,0.35);
}

.btn-outline:hover {
    background: var(--primary);
    color: #090909;
    border-color: var(--primary);
    transform: translateY(-3px);
}


/* ========== 3. HEADER ========== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: var(--header-height);

    background: rgba(9,9,9,0.97);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: scale-down !important;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-text strong {
    color: white;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary-light);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* Menü */

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    color: #d0d0d0;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;

    width: 0;
    height: 2px;

    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}


/* Header iletişim */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 17px;

    background: var(--primary);
    color: #090909;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}

.header-contact:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.header-contact i {
    font-size: 17px;
}


/* Mobil menü */

.menu-toggle {
    display: none;

    width: 43px;
    height: 43px;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile-contact {
    display: none;
}


/* ========== 4. HERO SLIDER ========== */

.hero-slider {
    position: relative;
    height: min(760px, calc(100vh - 90px));
    min-height: 620px;
    overflow: hidden;
    background: var(--bg);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.8s ease, visibility 0.8s ease;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide1 {
    background-image: url('../images/sliders/hero-car.jpg');
}

.slide2 {
    background-image: url('../images/sliders/hero-carpet.jpg');
}

.slide3 {
    background-image: url('../images/sliders/hero-detailing.jpg');
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,5,5,0.98) 0%,
            rgba(5,5,5,0.91) 32%,
            rgba(5,5,5,0.55) 60%,
            rgba(5,5,5,0.12) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5,5,5,0.75) 0%,
            transparent 45%
        );
}

.slide-container {
    position: relative;
    z-index: 3;
    width: min(var(--container), calc(100% - 60px));
}

.slide-content {
    max-width: 760px;
    padding: 40px 0;
}

.slide-content h1 {
    font-size: clamp(42px, 5.3vw, 76px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 25px;
    color: white;
}

.slide-content h1 span {
    display: block;
    color: var(--primary);
}

.slide-content > p {
    max-width: 550px;
    color: #d0d0d0;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.slide-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #d0d0d0;
    font-size: 12px;
    font-weight: 600;
}

.hero-features i {
    color: var(--primary);
    font-size: 14px;
}

.slide-badge {
    position: absolute;
    right: 6%;
    bottom: 85px;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px 22px;

    background: rgba(7,7,7,0.82);
    border: 1px solid rgba(245,184,0,0.5);
    border-radius: 12px;

    backdrop-filter: blur(15px);
}

.slide-badge > i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(245,184,0,0.18);
    border: 1px solid rgba(245,184,0,0.35);
    border-radius: 50%;

    color: var(--primary);
    font-size: 21px;
}

.slide-badge div {
    display: flex;
    flex-direction: column;
}

.slide-badge strong {
    color: white;
    font-size: 14px;
}

.slide-badge span {
    color: var(--text-muted);
    font-size: 12px;
}


/* Slider okları */

.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50%;

    background: rgba(7,7,7,0.45);
    color: white;
    font-size: 16px;

    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #090909;
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}


/* Slider noktaları */

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;

    padding: 0;
    border: none;
    border-radius: 20px;

    background: rgba(255,255,255,0.45);
    cursor: pointer;

    transition: var(--transition);
}

.slider-dot.active {
    width: 32px;
    background: var(--primary);
}


/* ========== 5. ANA HİZMETLER ========== */

.main-services {
    background: var(--bg);
}

.main-services-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 25px;
}

.main-service-card {
    position: relative;

    flex: 1 1 calc(50% - 25px);
    min-width: 280px;

    display: flex;
    align-items: stretch;
    gap: 0;

    min-height: 390px;

    background: var(--bg-card);
    border: 1px solid rgba(245,184,0,0.3);
    border-radius: 12px;

    overflow: hidden;

    transition: var(--transition);
}

.main-service-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}


/* Kart arka planı */

.main-service-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.main-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0.5;
    transition: transform 0.6s;
}

.main-service-card:hover .main-service-image img {
    transform: scale(1.06);
}

.main-service-image-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(5,5,5,0.97) 0%,
        rgba(5,5,5,0.91) 43%,
        rgba(5,5,5,0.48) 100%
    );
}


/* Kart içeriği */

.main-service-content {
    position: relative;
    z-index: 2;

    flex: 1 1 60%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 35px 28px;
}

.main-service-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 22px;
}

.main-service-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
    font-size: 27px;

    background: rgba(245,184,0,0.13);
    border: 1px solid rgba(245,184,0,0.4);
    border-radius: 12px;
}

.service-tag {
    padding: 7px 12px;

    border: 1px solid rgba(245,184,0,0.4);
    background: rgba(245,184,0,0.12);
    border-radius: 30px;

    color: var(--primary-light);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.main-service-content h3 {
    display: flex;
    flex-direction: column;

    color: white;
    font-size: clamp(23px, 2vw, 30px);
    font-weight: 800;
    line-height: 1.3;

    margin-bottom: 15px;
}

.main-service-content h3 span {
    color: var(--primary);
}

.main-service-content > p {
    max-width: 350px;

    color: #c8c8c8;
    font-size: 13px;
    line-height: 1.9;

    margin-bottom: 22px;
}

.main-service-content .btn {
    padding: 12px 18px;
    font-size: 12px;
}


/* Hizmet listesi */

.main-service-list {
    position: relative;
    z-index: 3;

    flex: 0 1 200px;
    align-self: center;

    display: flex;
    flex-direction: column;
    gap: 0;

    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 20px 0 0 20px;

    border: 1px solid rgba(245,184,0,0.3);
    border-right: none;
    background: rgba(7,7,7,0.45);
    backdrop-filter: blur(8px);
}

.main-service-list a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    color: #e0e0e0;
    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.main-service-list a:last-child {
    border-bottom: none;
}

.main-service-list a:hover {
    color: var(--primary);
}

.list-icon {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(245,184,0,0.2);
    color: var(--primary);
    font-size: 15px;
}


/* ========== 6. HAKKIMIZDA ========== */

.about-section {
    background: var(--bg-secondary);
}

.about-inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
}

.about-image > img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 12px;
}

.about-image-box {
    position: absolute;
    right: -25px;
    bottom: 30px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px 25px;

    background: var(--primary);
    color: #090909;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.about-image-box > i {
    font-size: 28px;
    color: #090909;
}

.about-image-box div {
    display: flex;
    flex-direction: column;
}

.about-image-box strong {
    font-size: 15px;
    font-weight: 900;
    color: #090909;
}

.about-image-box span {
    font-size: 11px;
    color: rgba(0,0,0,0.68);
}

.about-content {
    flex: 1 1 50%;
    min-width: 0;
}

.about-content h2 {
    font-size: clamp(32px, 3.5vw, 46px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.about-content h2 span {
    display: block;
    color: var(--primary);
}

.about-content > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 30px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #dedede;
    font-size: 13px;
    font-weight: 600;
}

.about-feature i {
    color: var(--primary);
    font-size: 18px;
}


/* ========== 7. OTO HİZMET DETAYLARI ========== */

.service-details {
    background: var(--bg);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.service-card {
    flex: 1 1 calc(25% - 25px);
    min-width: 220px;

    overflow: hidden;

    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.07);
}

.service-content {
    position: relative;
    padding: 30px 25px;
}

.service-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: -58px;
    margin-bottom: 20px;

    position: relative;
    z-index: 2;

    background: var(--primary);
    color: #090909;
    border-radius: 10px;

    border: 4px solid var(--bg-card);
    font-size: 22px;
}

.service-content h3 {
    color: white;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.9;
}


/* ========== 8. HALI YIKAMA ========== */

.carpet-details {
    background: #f7f4ea;
    color: #111111;
}

.carpet-details-inner {
    display: flex;
    align-items: center;
    gap: 70px;
}

.carpet-details-image {
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
}

.carpet-details-image > img {
    width: 100%;
    height: 580px;

    border-radius: 14px;
    object-fit: cover;

    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.carpet-image-label {
    position: absolute;
    left: 25px;
    bottom: 25px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 18px 25px;

    border-radius: 12px;
    border: 1px solid rgba(245,184,0,0.3);

    background: rgba(7,7,7,0.93);
    color: white;

    backdrop-filter: blur(15px);
}

.carpet-image-label > i {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(245,184,0,0.18);

    color: var(--primary);
    font-size: 21px;
}

.carpet-image-label div {
    display: flex;
    flex-direction: column;
}

.carpet-image-label strong {
    font-size: 15px;
    font-weight: 800;
}

.carpet-image-label span {
    color: #b8b8b8;
    font-size: 12px;
}

.carpet-details-content {
    flex: 1 1 50%;
    min-width: 0;
}

.carpet-details-content .section-label {
    color: #8a6a00;
}

.carpet-details-content h2 {
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1.2px;

    margin-bottom: 22px;
    color: #111111;
}

.carpet-details-content h2 span {
    display: block;
    color: var(--primary-dark);
}

.carpet-details-content > p {
    color: #666666;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.carpet-service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
}

.carpet-service-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid rgba(17,17,17,0.12);
}

.carpet-item-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #fff4c7;
    border: 1px solid #f1d46a;

    color: var(--primary-dark);
    font-size: 20px;
}

.carpet-service-item h3 {
    color: #111111;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 5px;
}

.carpet-service-item p {
    color: #737373;
    font-size: 12px;
    line-height: 1.8;
}

.carpet-details-content > .btn {
    padding: 16px 25px;
}


/* ========== 9. GALERİ ========== */

.gallery-section {
    background: var(--bg-secondary);
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    position: relative;

    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    height: 280px;

    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(245,184,0,0.72);
    color: #090909;
    font-size: 25px;

    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================
   GALERİ - YENİ SİSTEM
========================================== */

.gallery-section {
    background: var(--bg-secondary);
}


/* Üst başlık */

.gallery-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 45px;
}

.gallery-header .section-heading {
    margin-bottom: 0;
}


/* Tüm galeriyi gör */

.gallery-show-all {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 13px 20px;

    background: transparent;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 7px;

    color: white;

    font-size: 12px;
    font-weight: 700;

    transition: var(--transition);
}

.gallery-show-all:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.gallery-show-all i {
    transition: transform 0.3s;
}

.gallery-show-all:hover i {
    transform: translateX(4px);
}


/* 6 FOTOĞRAFLIK ÖN İZLEME */

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.gallery-item {
    position: relative;

    flex: 1 1 calc(33.333% - 18px);

    min-width: 250px;
    height: 270px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;

    background: var(--bg-card);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}


/* Overlay */

.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 22px;

    background:
        linear-gradient(
            0deg,
            rgba(5,13,26,0.8),
            rgba(5,13,26,0.05) 60%
        );

    opacity: 0;

    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-text {
    display: flex;
    flex-direction: column;
}

.gallery-overlay-text small {
    color: #a9b9ce;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;

    margin-bottom: 3px;
}

.gallery-overlay-text strong {
    color: white;

    font-size: 13px;
    font-weight: 700;
}


/* Büyüt ikonu */

.gallery-zoom-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--primary);
    color: white;

    font-size: 15px;

    transform: translateY(8px);

    transition: var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: translateY(0);
}


/* ==========================================
   LIGHTBOX
========================================== */

.gallery-lightbox {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Arka plan */

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0,0,0,0.94);

    backdrop-filter: blur(10px);
}


/* Ana kutu */

.gallery-lightbox-container {
    position: relative;
    z-index: 2;

    width: min(1250px, 100%);
    height: min(850px, calc(100vh - 60px));

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* Görsel alanı */

.gallery-lightbox-image-wrapper {
    position: relative;

    flex: 1;

    width: 100%;
    min-height: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px 80px;
}

.gallery-lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 100%;

    width: auto;
    height: auto;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 20px 80px rgba(0,0,0,0.55);
}


/* Kapat */

.gallery-lightbox-close {
    position: absolute;
    top: 5px;
    right: 5px;

    z-index: 10;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: white;
    font-size: 20px;

    transition: var(--transition);
}

.gallery-lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);

    transform: rotate(90deg);
}


/* Sağ sol oklar */

.gallery-lightbox-arrow {
    position: absolute;
    top: 45%;

    z-index: 10;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    color: white;

    font-size: 17px;

    transition: var(--transition);
}

.gallery-lightbox-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.gallery-lightbox-prev {
    left: 10px;
}

.gallery-lightbox-next {
    right: 10px;
}


/* Sayaç */

.gallery-lightbox-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 10px 0 15px;

    color: #c4cfdd;

    font-size: 12px;
    font-weight: 600;
}


/* Küçük önizlemeler */

.gallery-lightbox-thumbnails {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 8px;

    overflow-x: auto;

    padding: 10px 5px 5px;

    scrollbar-width: thin;
}

.gallery-thumbnail {
    flex: 0 0 80px;

    height: 55px;

    padding: 0;

    overflow: hidden;

    border: 2px solid transparent;
    border-radius: 6px;

    background: transparent;

    opacity: 0.5;

    transition: var(--transition);
}

.gallery-thumbnail:hover {
    opacity: 0.85;
}

.gallery-thumbnail.active {
    opacity: 1;

    border-color: var(--primary);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Lightbox açıkken body */

body.gallery-open {
    overflow: hidden;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-item {
        flex: 1 1 calc(50% - 18px);
    }

    .gallery-lightbox {
        padding: 20px;
    }

    .gallery-lightbox-container {
        height: calc(100vh - 40px);
    }

    .gallery-lightbox-image-wrapper {
        padding: 20px 55px;
    }

}


/* ==========================================
   TELEFON
========================================== */

@media (max-width: 600px) {

    .gallery-header {
        margin-bottom: 30px;
    }

    .gallery-show-all {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        flex-direction: column;

        gap: 14px;
    }

    .gallery-item {
        flex: 1 1 auto;

        min-width: 0;
        width: 100%;

        height: 230px;
    }

    .gallery-overlay {
        opacity: 1;

        background:
            linear-gradient(
                0deg,
                rgba(5,13,26,0.65),
                transparent 65%
            );
    }

    .gallery-zoom-icon {
        transform: none;
    }


    /* Lightbox */

    .gallery-lightbox {
        padding: 10px;
    }

    .gallery-lightbox-container {
        width: 100%;
        height: calc(100vh - 20px);
    }

    .gallery-lightbox-image-wrapper {
        padding: 60px 5px 20px;
    }

    .gallery-lightbox-close {
        top: 5px;
        right: 5px;

        width: 40px;
        height: 40px;
    }

    .gallery-lightbox-arrow {
        top: auto;
        bottom: 85px;

        width: 42px;
        height: 42px;

        transform: none;

        background: rgba(5,13,26,0.8);
    }

    .gallery-lightbox-prev {
        left: 5px;
    }

    .gallery-lightbox-next {
        right: 5px;
    }

    .gallery-thumbnail {
        flex-basis: 65px;
        height: 45px;
    }

}


/* ========== 10. İLETİŞİM CTA ========== */

.contact-cta {
    padding: 75px 0;

    background:
        linear-gradient(
            90deg,
            rgba(5,5,5,0.98),
            rgba(5,5,5,0.83)
        ),
        url("../images/hero-car.jpg") center / cover no-repeat;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-cta-content {
    max-width: 700px;
}

.contact-cta-content h2 {
    color: white;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
}

.contact-cta-content h2 span {
    display: block;
    color: var(--primary);
}

.contact-cta-content p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
}

.contact-cta-inner > .btn {
    flex-shrink: 0;
}


/* ========== 11. İLETİŞİM ========== */

.contact-section {
    background: var(--bg);
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.contact-card {
    flex: 1 1 calc(33.333% - 25px);
    min-width: 230px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 40px 25px;

    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;

    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.contact-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    background: rgba(245,184,0,0.12);
    border: 1px solid rgba(245,184,0,0.35);
    border-radius: 50%;

    color: var(--primary);
    font-size: 25px;
}

.contact-card h3 {
    color: white;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.contact-card a {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 700;
}


/* ========== 12. FOOTER ========== */

.footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 70px 0 0;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-about {
    flex: 1 1 280px;
    max-width: 350px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-about > p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: #d0d0d0;
    font-size: 17px;

    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #090909;
}

.footer-links {
    flex: 1 1 150px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-links h3 {
    color: white;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--text-muted);
    font-size: 12px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a i {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 25px 0;

    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: #8f8f8f;
    font-size: 12px;
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
}


/* ========== 13. WHATSAPP BUTONU ========== */

.floating-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: white;

    border-radius: 50%;
    font-size: 30px;

    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37,211,102,0.45);
}


/* ========== 14. TABLET ========== */

@media (max-width: 1100px) {

    :root {
        --container: 960px;
    }

    .nav {
        gap: 18px;
    }

    .header-inner {
        gap: 20px;
    }

    .logo-text strong {
        font-size: 21px;
    }

    .main-service-card {
        flex: 1 1 100%;
    }

    .main-service-content {
        padding: 35px;
    }

    .main-service-list {
        flex-basis: 220px;
    }

    .about-inner {
        gap: 45px;
    }

    .carpet-details-inner {
        gap: 40px;
    }

    .carpet-details-image > img {
        height: 480px;
    }

}


/* ========== 15. TABLET / MOBİL MENÜ ========== */

@media (max-width: 900px) {

    :root {
        --header-height: 80px;
    }

    .header-inner {
        gap: 15px;
    }

    .menu-toggle {
        display: flex;
    }

    .header-contact {
        padding: 12px;
    }

    .header-contact span {
        display: none;
    }

    .header-contact i {
        font-size: 19px;
    }

    .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 0 25px;

    background: rgba(9, 9, 9, 0.99);

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    pointer-events: none;

    transform: translateY(-15px);

    transition:
        max-height 0.5s cubic-bezier(.4, 0, .2, 1),
        padding 0.35s ease,
        opacity 0.25s ease,
        transform 0.35s ease;
}

.nav.active {
    max-height: 600px;

    padding: 25px;

    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);
}

    .nav-link {
        display: block;
        padding: 18px 5px;

        border-bottom: 1px solid var(--border);

        font-size: 15px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-mobile-contact {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        margin-top: 25px;
        padding: 16px;

        background: var(--primary);
        border-radius: 6px;

        color: #090909;
        font-size: 14px;
        font-weight: 800;
    }

    .hero-slider {
        height: auto;
        min-height: 650px;
    }

    .hero-slide {
        min-height: 650px;
        padding: 70px 0 90px;
    }

    .slide-container {
        width: calc(100% - 50px);
    }

    .slide-content {
        max-width: 650px;
    }

    .slide-content h1 {
        font-size: clamp(38px, 6vw, 56px);
    }

    .slide-badge {
        display: none;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .about-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 50px;
    }

    .about-image {
        width: 100%;
    }

    .about-image > img {
        height: 420px;
    }

    .about-content {
        max-width: 700px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        flex: 1 1 calc(50% - 20px);
    }

    .carpet-details-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 45px;
    }

    .carpet-details-image > img {
        height: 420px;
    }

    .carpet-details-content {
        max-width: 750px;
    }

    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-cta-inner > .btn {
        width: fit-content;
    }

    .footer-main {
        gap: 40px;
    }

}


/* ========== 16. TELEFON ========== */

@media (max-width: 600px) {

    .container {
        width: calc(100% - 40px);
    }

    .section-padding {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading > p {
        font-size: 13px;
    }


    /* Header */

    .logo {
        gap: 8px;
    }

    .logo img {
        width: 42px;
        height: 42px;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .logo-text span {
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    .header-actions {
        gap: 10px;
    }


    /* Slider */

    .hero-slider {
        min-height: 620px;
    }

    .hero-slide {
        min-height: 620px;
        padding: 50px 0 90px;
    }

    .slide-container {
        width: calc(100% - 40px);
    }

    .slide-content {
        width: 100%;
    }

    .slide-content h1 {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -1.2px;
        line-height: 1.18;
    }

    .slide-content > p {
        font-size: 13px;
        line-height: 1.8;
    }

    .slide-content .section-label {
        font-size: 9px;
        letter-spacing: 1px;
        gap: 8px;
    }

    .label-line {
        width: 20px;
    }

    .slide-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .slide-buttons .btn {
        width: 100%;
        padding: 15px 12px;
        font-size: 12px;
    }

    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 25px;
    }

    .hero-features div {
        font-size: 11px;
    }

    .slider-arrow {
        top: auto;
        bottom: 22px;
        transform: none;

        width: 38px;
        height: 38px;
    }

    .slider-prev {
        left: 20px;
    }

    .slider-next {
        right: 20px;
    }

    .slider-dots {
        bottom: 36px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    .slider-dot.active {
        width: 24px;
    }


    /* Ana hizmetler */

    .main-services-grid {
        flex-direction: column;
        gap: 20px;
    }

    .main-service-card {
        flex-direction: column;
        flex: 1 1 100%;
        min-width: 0;
        min-height: 0;
    }

    .main-service-image img {
        opacity: 0.35;
    }

    .main-service-image-overlay {
        background: linear-gradient(
            0deg,
            rgba(5,5,5,0.97),
            rgba(5,5,5,0.55)
        );
    }

    .main-service-content {
        flex: 1 1 auto;
        padding: 28px 23px 15px;
    }

    .main-service-content h3 {
        font-size: 27px;
    }

    .main-service-content > p {
        font-size: 13px;
    }

    .main-service-top {
        margin-bottom: 18px;
    }

    .main-service-list {
        align-self: stretch;
        flex: 1 1 auto;

        margin: 0 20px 20px;
        padding: 10px 15px;

        border: 1px solid rgba(245,184,0,0.2);
        border-radius: 10px;

        background: rgba(7,7,7,0.75);
    }

    .main-service-list a {
        padding: 12px 0;
        font-size: 12px;
    }

    .list-icon {
        width: 35px;
        height: 35px;
    }


    /* Hakkımızda */

    .about-inner {
        gap: 35px;
    }

    .about-image > img {
        height: 300px;
    }

    .about-image-box {
        right: 10px;
        bottom: 15px;
        padding: 13px 16px;
        gap: 10px;
    }

    .about-image-box > i {
        font-size: 23px;
    }

    .about-image-box strong {
        font-size: 13px;
    }

    .about-image-box span {
        font-size: 10px;
    }

    .about-content h2 {
        font-size: 31px;
    }

    .about-content > p {
        font-size: 13px;
    }

    .about-feature {
        font-size: 12px;
    }

    .about-content > .btn {
        width: 100%;
        font-size: 12px;
        padding: 15px 12px;
    }


    /* Oto hizmet detayları */

    .services-grid {
        flex-direction: column;
        gap: 20px;
    }

    .service-card {
        flex: 1 1 100%;
        min-width: 0;
    }

    .service-image {
        height: 230px;
    }

    .service-content {
        padding: 25px 22px;
    }


    /* Halı yıkama */

    .carpet-details {
        padding: 65px 0;
    }

    .carpet-details-inner {
        gap: 35px;
    }

    .carpet-details-image > img {
        height: 300px;
    }

    .carpet-image-label {
        left: 12px;
        bottom: 12px;
        padding: 12px 15px;
    }

    .carpet-image-label > i {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .carpet-details-content h2 {
        font-size: 31px;
    }

    .carpet-details-content > p {
        font-size: 13px;
    }

    .carpet-service-item {
        gap: 14px;
        padding: 17px 0;
    }

    .carpet-item-icon {
        width: 43px;
        height: 43px;
        font-size: 17px;
    }

    .carpet-service-item h3 {
        font-size: 14px;
    }

    .carpet-service-item p {
        font-size: 12px;
    }

    .carpet-details-content > .btn {
        width: 100%;
        padding: 15px 12px;
        font-size: 12px;
    }


    /* Galeri */

    .gallery-grid {
        flex-direction: column;
        gap: 15px;
    }

    .gallery-item {
        flex: 1 1 100%;
        min-width: 0;
        height: 250px;
    }

    .gallery-overlay {
        opacity: 1;

        background: linear-gradient(
            0deg,
            rgba(5,5,5,0.35),
            transparent
        );

        color: var(--primary);
    }


    /* CTA */

    .contact-cta {
        padding: 60px 0;
    }

    .contact-cta-content h2 {
        font-size: 31px;
    }

    .contact-cta-content p {
        font-size: 13px;
    }

    .contact-cta-inner > .btn {
        width: 100%;
        padding: 15px;
        font-size: 12px;
    }


    /* İletişim */

    .contact-grid {
        flex-direction: column;
        gap: 15px;
    }

    .contact-card {
        flex: 1 1 100%;
        min-width: 0;
        padding: 30px 20px;
    }


    /* Footer */

    .footer {
        padding-top: 55px;
    }

    .footer-main {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 40px;
    }

    .footer-about {
        max-width: 100%;
    }

    .footer-links {
        flex: 1 1 auto;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 55px;
        height: 55px;
        font-size: 27px;
    }

}


/* ========== 17. KÜÇÜK TELEFON ========== */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 30px);
    }

    .logo-text strong {
        font-size: 17px;
    }

    .logo-text span {
        font-size: 6px;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .main-service-content {
        padding: 25px 18px 15px;
    }

    .main-service-content h3 {
        font-size: 24px;
    }

    .main-service-list {
        margin: 0 15px 15px;
    }

}


/* ========== 18. ERİŞİLEBİLİRLİK ========== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

