/* ============================================
   32 T 0189 — Mehmet Demirley Taksi Hizmetleri
   Mobile-first responsive stylesheet
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --clr-gold: #FFD700;
    --clr-gold-dark: #E5C100;
    --clr-gold-light: #FFF3B0;
    --clr-black: #0D0D0D;
    --clr-dark: #1A1A1A;
    --clr-grey-900: #222222;
    --clr-grey-800: #333333;
    --clr-grey-600: #666666;
    --clr-grey-400: #999999;
    --clr-grey-200: #E5E5E5;
    --clr-grey-100: #F5F5F5;
    --clr-white: #FFFFFF;
    --clr-whatsapp: #25D366;
    --clr-whatsapp-dark: #1DA851;

    --ff-primary: 'Inter', sans-serif;
    --ff-display: 'Playfair Display', serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 2rem;
    --fs-4xl: 2.5rem;
    --fs-5xl: 3.25rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
    --shadow-gold: 0 4px 24px rgba(255, 215, 0, 0.3);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 72px;
}

/* ---- Reset ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--ff-primary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--clr-grey-800);
    background: var(--clr-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Section Titles ---- */
.section__title {
    font-family: var(--ff-display);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--clr-black);
    text-align: center;
    margin-bottom: 8px;
}

.section__subtitle {
    font-size: var(--fs-lg);
    color: var(--clr-grey-600);
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--ff-primary);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-align: center;
}

.btn--sm {
    padding: 10px 20px;
    font-size: var(--fs-sm);
}

.btn--lg {
    padding: 16px 32px;
    font-size: var(--fs-lg);
    border-radius: var(--radius-lg);
}

.btn--primary {
    background: var(--clr-gold);
    color: var(--clr-black);
    box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
    background: var(--clr-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.45);
}

.btn--whatsapp {
    background: var(--clr-whatsapp);
    color: var(--clr-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
    background: var(--clr-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45);
}

/* ================================
   HEADER
   ================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    z-index: 1001;
}

.header__logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    background: var(--clr-white);
    border-radius: var(--radius-full);
    padding: 3px;
}

/* Nav */
.header__nav {
    display: none;
}

.header__nav.active {
    display: flex;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__nav-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-grey-200);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--clr-gold);
    background: rgba(255, 215, 0, 0.08);
}

.header__cta-desktop {
    display: none;
}

.header__nav-cta-mobile {
    margin-top: 16px;
}

/* Hamburger */
.header__hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-white);
    border-radius: 2px;
    transition: var(--transition);
}

.header__hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header__nav-list {
        flex-direction: column;
        gap: 12px;
    }

    .header__nav-link {
        font-size: var(--fs-2xl);
        padding: 12px 24px;
    }

    .header__nav-cta-mobile .btn {
        font-size: var(--fs-lg);
        padding: 14px 32px;
    }
}

/* Desktop Nav */
@media (min-width: 769px) {
    .header__nav {
        display: flex !important;
    }

    .header__hamburger {
        display: none;
    }

    .header__cta-desktop {
        display: inline-flex;
    }

    .header__nav-cta-mobile {
        display: none;
    }
}

/* ================================
   HERO
   ================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(13, 13, 13, 0.75) 0%,
            rgba(13, 13, 13, 0.55) 50%,
            rgba(13, 13, 13, 0.85) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 20px 60px;
}

.hero__logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 24px;
    background: var(--clr-white);
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero__title {
    font-family: var(--ff-display);
    font-size: var(--fs-4xl);
    font-weight: 800;
    color: var(--clr-white);
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--clr-gold);
    margin: 20px auto 0;
    border-radius: 2px;
}

.hero__subtitle {
    font-size: var(--fs-xl);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 769px) {
    .hero__title {
        font-size: var(--fs-5xl);
    }
}

/* ================================
   FEATURES
   ================================ */
.features {
    padding: 80px 0;
    background: var(--clr-grey-100);
}

.features__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--clr-black);
    box-shadow: var(--shadow-gold);
}

.feature-card__title {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--clr-black);
    margin-bottom: 8px;
}

.feature-card__text {
    font-size: var(--fs-sm);
    color: var(--clr-grey-600);
}

@media (min-width: 600px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .features__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================
   GALLERY
   ================================ */
.gallery {
    padding: 80px 0;
    background: var(--clr-white);
}

.gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 13, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-size: 28px;
    color: var(--clr-white);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

@media (min-width: 600px) {
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .gallery__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ================================
   LIGHTBOX
   ================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.35s ease;
}

.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
    line-height: 1;
}

.lightbox__close:hover {
    color: var(--clr-gold);
    transform: rotate(90deg);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-white);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2001;
}

.lightbox__prev {
    left: 16px;
}

.lightbox__next {
    right: 16px;
}

.lightbox__prev:hover,
.lightbox__next:hover {
    background: var(--clr-gold);
    color: var(--clr-black);
    border-color: var(--clr-gold);
}

/* ================================
   SERVICES
   ================================ */
.services {
    padding: 80px 0;
    background: var(--clr-dark);
    color: var(--clr-white);
}

.services .section__title {
    color: var(--clr-white);
}

.services .section__subtitle {
    color: var(--clr-grey-400);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: rgba(255, 215, 0, 0.06);
    border-color: var(--clr-gold);
    transform: translateY(-4px);
}

.service-card__icon {
    font-size: 36px;
    color: var(--clr-gold);
    margin-bottom: 16px;
}

.service-card__title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card__text {
    font-size: var(--fs-sm);
    color: var(--clr-grey-400);
}

@media (min-width: 600px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================
   CONTACT
   ================================ */
.contact {
    padding: 80px 0;
    background: var(--clr-grey-100);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contact-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--clr-grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: var(--clr-gold-dark);
    transition: var(--transition);
}

.contact-card:hover .contact-card__icon {
    background: var(--clr-gold);
    color: var(--clr-black);
}

.contact-card__title {
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--clr-black);
    margin-bottom: 8px;
}

.contact-card__link {
    font-size: var(--fs-base);
    color: var(--clr-gold-dark);
    font-weight: 600;
    transition: var(--transition);
}

.contact-card__link:hover {
    color: var(--clr-gold);
}

.contact-card__text {
    font-size: var(--fs-base);
    color: var(--clr-grey-600);
}

@media (min-width: 600px) {
    .contact__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .contact__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact__map {
    margin-top: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact__map iframe {
    display: block;
    border-radius: var(--radius-lg);
}

/* ================================
   BLOG
   ================================ */
.blog {
    padding: 80px 0;
    background: var(--clr-white);
}

.blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.blog-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.blog-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-card__tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
    color: var(--clr-black);
    font-size: var(--fs-xs);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__date {
    font-size: var(--fs-xs);
    color: var(--clr-grey-400);
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card__title {
    font-family: var(--ff-display);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--clr-black);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
}

.blog-card.expanded .blog-card__content {
    max-height: 2000px;
    opacity: 1;
}

.blog-card__content p {
    margin-bottom: 12px;
    color: var(--clr-grey-800);
    line-height: 1.7;
    font-size: var(--fs-sm);
}

.blog-card__content ul {
    margin: 12px 0;
    padding-left: 20px;
    list-style: disc;
}

.blog-card__content li {
    margin-bottom: 8px;
    color: var(--clr-grey-800);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.blog-card__keywords {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--clr-grey-100);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    color: var(--clr-grey-600);
    line-height: 1.5;
}

.blog-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--clr-gold-dark);
    font-family: var(--ff-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.blog-card__toggle:hover {
    color: var(--clr-gold);
}

.blog-card__toggle i {
    transition: transform 0.3s ease;
}

.blog-card.expanded .blog-card__toggle i {
    transform: rotate(180deg);
}

.blog-card.expanded .blog-card__toggle {
    color: var(--clr-grey-400);
}

@media (min-width: 600px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--clr-black);
    padding: 24px 0;
    text-align: center;
}

.footer__copy {
    font-size: var(--fs-sm);
    color: var(--clr-grey-600);
}

.footer__credit {
    font-size: var(--fs-xs);
    color: var(--clr-grey-600);
    margin-top: 8px;
}

.footer__credit-link {
    color: var(--clr-gold);
    font-weight: 600;
    transition: var(--transition);
}

.footer__credit-link:hover {
    color: var(--clr-gold-dark);
    text-decoration: underline;
}

/* ================================
   STICKY BUTTONS
   ================================ */
.phone-sticky {
    position: fixed;
    bottom: 96px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--clr-gold);
    color: var(--clr-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: var(--shadow-gold);
    transition: var(--transition);
    animation: phonePulse 2s infinite;
}

.phone-sticky:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.55);
}

@keyframes phonePulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 215, 0, 0.6);
    }
}

.whatsapp-sticky {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--clr-whatsapp);
    color: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-sticky:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.55);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.65);
    }
}

/* ================================
   ANIMATIONS (Scroll Reveal)
   ================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   SCROLLBAR
   ================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--clr-grey-100);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-grey-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-gold);
}