/* ============================================
   HARPER'S COFFEE - PREMIUM STİL DOSYASI
   ============================================ */

/* Reset & Variables */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6F4E37;
    --primary-dark: #5a3a2a;
    --primary-light: #C4A484;
    --secondary-color: #D4B896;
    --dark: #2C1810;
    --light: #F5F0E8;
    --gray: #8B8B8B;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                   box-shadow 0.4s ease,
                   opacity 0.3s ease,
                   background 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #faf8f5;
    overflow-x: hidden;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   PERFORMANCE - Lazy Loading
   ============================================ */
img {
    loading: lazy;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; letter-spacing: 2px; }
h2 { font-size: 2.5rem; letter-spacing: 1px; }
h3 { font-size: 1.5rem; }
h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.section-padding {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 48px;
    text-align: center;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    display: block;
    margin: 15px auto 0;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--light); }

/* ============================================
   FOCUS STATE (Accessibility)
   ============================================ */
a:focus,
button:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

@supports (backdrop-filter: blur(12px)) {
    .header {
        backdrop-filter: blur(12px);
    }
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(111, 78, 55, 0.5));
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    transition: var(--transition);
}

.logo-text:hover {
    color: var(--primary-dark);
    letter-spacing: 3px;
}

/* Navbar - Mobile First */
.nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: 999;
}

.nav-menu.active {
    transform: translateX(0);
}

.nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    align-items: center;
    padding: 50px 0;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: 0.3s;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .nav-menu {
        position: static;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        transform: none;
        flex-direction: row;
    }
    
    .nav-list {
        flex-direction: row;
        padding: 0;
        gap: 30px;
    }
}

/* CTA Button */
.btn-franchise {
    background: var(--gradient-primary);
    box-shadow: 0 5px 20px rgba(111, 78, 55, 0.3);
    position: relative;
    overflow: hidden;
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-franchise::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-franchise:hover::after {
    left: 100%;
}

.btn-franchise:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 78, 55, 0.4);
}

.btn-franchise:active {
    transform: scale(0.96);
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, #faf8f5, transparent);
    z-index: 1;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
}

/* Desktop Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInUp 0.8s ease;
}

.hero-since {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 40px;
    position: relative;
    display: block;
}

.hero-since::before,
.hero-since::after {
    content: '—';
    margin: 0 10px;
    color: rgba(196, 164, 132, 0.7);
    font-size: 0.6rem;
}

@media (min-width: 769px) {
    .hero-content h1 {
        background: linear-gradient(90deg, #fff, #C4A484);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn-primary {
    animation: fadeInUp 0.8s ease 0.4s both;
    padding: 14px 40px;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   MOBIL HERO 
   ============================================ */
@media (max-width: 768px) {
  
    .hero {
        height: auto;
     min-height: 500px;
        display: flex;
        align-items: center;
    }

    .hero-slider {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 500px;
    }

    .slide {
        position: relative;
        height: auto;
     min-height: 500px;
        opacity: 1 !important;
        display: block;
    }
    
    /* Sadece aktif olmayan slaytları gizle */
    .slide:not(.active) {
        display: none;
    }

    .slide-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 120px 20px 80px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        max-width: 100%;
    }
    
    .hero-content .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
        display: inline-block;
        width: auto;
        margin: 0 auto;
    }
    
    .hero-since {
        font-size: 0.55rem;
        margin-top: 30px;
    }

    /* Slider ok butonları mobilde daha küçük */
    .slider-prev, .slider-next {
        font-size: 1.2rem;
        padding: 8px 12px;
        background: rgba(0, 0, 0, 0.4);
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    /* Dotlar mobilde altta kalsın */
    .slider-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 20px;
    }
}

/* ============================================
   NEDEN BİZ BÖLÜMÜ
   ============================================ */
.why-us {
    background: linear-gradient(135deg, #faf8f5 0%, #fff 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(111, 78, 55, 0.1);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.why-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .why-card {
        padding: 30px 20px;
    }
    
    .why-icon {
        font-size: 2.5rem;
    }
    
    .why-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 25px 20px;
    }
}

/* ============================================
   HAKKIMIZDA SAYFASI
   ============================================ */
.about-section {
    margin-bottom: 80px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-section-alt .about-section-inner .about-section-content {
    order: 2;
}

.about-section-alt .about-section-inner .about-section-image {
    order: 1;
}

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 15px;
}

.about-section-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-text {
    color: var(--gray);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 15px;
}

.about-section-image {
    position: relative;
}


.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    max-height: 400px;
}

.image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}


.image-wrapper:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(111,78,55,0.2), rgba(0,0,0,0.1));
    pointer-events: none;
}

/* Değerler Bölümü */
.about-values {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--gradient-primary);
    color: white;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Hakkımızda Responsive */
@media (max-width: 992px) {
    .about-section-inner {
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-section {
        margin-bottom: 60px;
    }
    
    .about-section-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-section-alt .about-section-inner .about-section-content {
        order: 1;
    }
    
    .about-section-alt .about-section-inner .about-section-image {
        order: 2;
    }
    
    .about-section-content h2 {
        font-size: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .image-wrapper img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .image-wrapper img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .image-wrapper img {
        height: 220px;
    }
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    position: relative;
}

.about-content h2::after {
    content: '';
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    display: block;
    margin-top: 15px;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary, .btn-outline, .btn-small, .btn-large {
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 35px;
    box-shadow: 0 4px 15px rgba(111, 78, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(111, 78, 55, 0.4);
}

.btn-primary:active {
    transform: scale(0.96);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    padding: 12px 33px;
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-small:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(111, 78, 55, 0.4);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(111, 78, 55, 0.2);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Product Overlay */
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

/* ============================================
   PREMİUM ŞUBE KARTLARI
   ============================================ */
   /* ============================================
   ŞUBELER SAYFASI
   ============================================ */
.branches-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    min-height: 600px;
}

/* Şube Listesi */
.branches-list {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.list-header {
    padding: 20px;
    background: linear-gradient(135deg, #faf8f5, var(--white));
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.list-header h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.search-wrapper {
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 0.9rem;
}

.search-input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(196,164,132,0.1);
}

.branch-items {
    max-height: 550px;
    overflow-y: auto;
}

.branch-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
}

.branch-item:hover {
    background: var(--light);
}

.branch-item.active {
    background: linear-gradient(135deg, rgba(111,78,55,0.05), rgba(196,164,132,0.05));
    border-left: 3px solid var(--primary-color);
}

.branch-avatar {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.branch-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light), #e8e0d8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
}

.branch-info {
    flex: 1;
}

.branch-info h4 {
    margin-bottom: 5px;
    color: var(--dark);
    font-size: 1rem;
}

.branch-info p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 3px;
}

.branch-info p i {
    width: 14px;
    font-size: 0.7rem;
    margin-right: 4px;
}

.branch-phone {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.branch-phone i {
    font-size: 0.7rem;
    margin-right: 3px;
}

.branch-arrow {
    color: var(--gray);
    opacity: 0;
    transition: var(--transition);
}

.branch-item:hover .branch-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Harita Alanı */
.branches-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

#map {
    width: 100%;
    height: 100%;
    min-height: 550px;
}

/* Detay Kartı */
.branch-detail-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.close-detail {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
    font-size: 1.2rem;
}

.close-detail:hover {
    background: var(--primary-color);
    color: white;
}

.detail-content {
    padding: 20px;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.detail-header h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.detail-info {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--dark);
}

.detail-row i {
    width: 18px;
    color: var(--primary-light);
    margin-top: 2px;
}

.detail-row span {
    flex: 1;
    line-height: 1.4;
}

.detail-actions {
    display: flex;
    gap: 12px;
}

.btn-map, .btn-directions {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-map {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111,78,55,0.3);
}

.btn-directions {
    background: var(--light);
    color: var(--primary-color);
    border: 1px solid var(--primary-light);
}

.btn-directions:hover {
    background: var(--primary-color);
    color: white;
}

/* Animasyon */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .branches-container {
        grid-template-columns: 1fr;
    }
    
    .branches-list {
        order: 2;
    }
    
    .branches-map {
        order: 1;
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .branch-detail-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .branch-item {
        padding: 12px 15px;
    }
    
    .branch-avatar {
        width: 40px;
        height: 40px;
    }
}
.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.branch-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Premium Image Container */
.branch-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.branch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.branch-card:hover .branch-image img {
    transform: scale(1.08);
}

/* Gradient Overlay */
.branch-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.branch-card:hover .branch-image::after {
    opacity: 1;
}

/* Overlay Icon */
.branch-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    font-size: 1.2rem;
}

.branch-card:hover .branch-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Kart İçeriği */
.branch-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    padding: 20px 20px 0 20px;
    font-size: 1.25rem;
    font-weight: 700;
    position: relative;
}

.branch-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.branch-card p {
    margin-bottom: 10px;
    color: var(--gray);
    padding: 0 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.branch-card p i {
    width: 22px;
    color: var(--primary-light);
    margin-right: 8px;
}

/* Premium Buton */
.branch-card .btn-small {
    margin: 15px 20px 25px;
    display: inline-block;
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.branch-card .btn-small:hover {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .branch-image {
        height: 220px;
    }
}


/* ============================================
   FRANCHISE CTA
   ============================================ */
.franchise-cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5f5f5;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: #aaa;
}

.footer a {
    transition: var(--transition);
    text-decoration: none;
    color: #aaa;
}

.footer a:hover {
    text-shadow: 0 0 8px rgba(196, 164, 132, 0.6);
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.contact-info li, .working-hours li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
}

.contact-info li i {
    width: 20px;
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

/* ============================================
   FLOAT BUTTONS
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   SCROLL ANIMATION
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1);
}

button[type="submit"] {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(111, 78, 55, 0.3);
}

button[type="submit"]:active {
    transform: scale(0.96);
}

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }

    .section-padding {
        padding: 50px 0;
    }

    .about-grid,
    .products-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .slider-prev, .slider-next {
        font-size: 1.5rem;
        padding: 5px 10px;
    }

    .page-header {
        padding: 40px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .btn-franchise {
        display: none !important;
    }

    .back-to-top {
        bottom: 20px;
        left: 20px;
    }
    
    .section-badge {
        font-size: 1rem;
    }
    
    .about-content h2::after {
        margin: 10px 0 0 0;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .hero-since {
        font-size: 0.5rem;
        margin-top: 20px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.loaded {
    animation: fadeIn 0.5s ease;
}

/* Arama sonuç mesajı */
.no-result-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--gray);
}

.no-result-message i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.no-result-message p {
    font-size: 0.9rem;
}

/* ============================================
   MENÜ SAYFASI
   ============================================ */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--light);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn i {
    margin-right: 8px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.empty-category {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-category i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    opacity: 0.5;
}

/* ============================================
   FRANCHISE SAYFASI
   ============================================ */
.franchise-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Sol Taraf - Bilgiler */
.franchise-page-info {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.info-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.franchise-page-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.franchise-page-info > p {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 15px;
    background: var(--light);
    border-radius: 16px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(8px);
    background: white;
    box-shadow: var(--shadow);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.4rem;
    color: white;
}

.card-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card-content p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

.info-contact {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 16px;
}

.info-contact p {
    margin: 0;
}

.info-contact i {
    color: var(--primary-color);
    margin-right: 8px;
}

.info-contact strong {
    color: var(--primary-color);
}

/* Sağ Taraf - Form */
.franchise-page-form {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-card h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.form-card > p {
    color: var(--gray);
    text-align: center;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 78, 55, 0.3);
    gap: 15px;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 20px;
}

.form-note i {
    margin-right: 5px;
    color: var(--primary-light);
}

/* Franchise Responsive */
@media (max-width: 992px) {
    .franchise-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .franchise-page-info,
    .franchise-page-form {
        padding: 25px;
    }
    
    .franchise-page-info h2,
    .form-card h2 {
        font-size: 1.5rem;
    }
    
    .info-card:hover {
        transform: translateX(0);
    }
}

/* ============================================
   İLETİŞİM SAYFASI
   ============================================ */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Sol Taraf - Bilgiler */
.contact-page-info {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.info-header {
    margin-bottom: 30px;
}

.info-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.contact-page-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-page-info > p {
    color: var(--gray);
    line-height: 1.6;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.info-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 15px;
    background: var(--light);
    border-radius: 16px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(8px);
    background: white;
    box-shadow: var(--shadow);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 1.4rem;
    color: white;
}

.card-content h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card-content p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-content a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.card-content a:hover {
    color: var(--primary-color);
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--white);
    border-radius: 20px;
    font-size: 0.8rem;
}

.social-media a:hover {
    background: var(--gradient-primary);
    color: white;
}

/* Sağ Taraf - Form */
.contact-page-form {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-card h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.form-card > p {
    color: var(--gray);
    text-align: center;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    transition: var(--transition);
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 78, 55, 0.3);
    gap: 15px;
}

.form-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 20px;
}

.form-note i {
    margin-right: 5px;
    color: var(--primary-light);
}

/* İletişim Responsive */
@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .contact-page-info,
    .contact-page-form {
        padding: 25px;
    }
    
    .contact-page-info h2,
    .form-card h2 {
        font-size: 1.5rem;
    }
    
    .info-card:hover {
        transform: translateX(0);
    }
    
    .social-media {
        flex-wrap: wrap;
    }
}