/* ========================================
   TEMA RENKLERİ VE DEĞİŞKENLER
   ======================================== */
:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #1e3a8a;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
    --text: #1e293b;
}

/* ========================================
   GENEL STILLER
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   BUTONLAR
   ======================================== */
.btn-primary, .btn-outline {
    border-radius: 60px !important;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1) !important;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245,158,11,0.3);
}

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

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

/* ========================================
   SECTION STILLERI
   ======================================== */
.section {
    padding: 60px 0;
}

.section-gray {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ========================================
   GRID SISTEMI
   ======================================== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ========================================
   SERVIS KARTLARI
   ======================================== */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-card > i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.service-hover-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fff8f0;
    border-radius: 14px;
}

.service-card:hover .service-hover-menu {
    max-height: 250px;
    margin-top: 15px;
}

.service-hover-menu ul {
    list-style: none;
    padding: 12px 16px;
}

.service-hover-menu li {
    padding: 8px 0;
    border-bottom: 1px solid #fee2a4;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary);
}

.service-hover-menu li:last-child {
    border-bottom: none;
}

.service-hover-menu li i {
    font-size: 14px;
    color: var(--primary);
    width: 24px;
}

/* ========================================
   CAROUSEL
   ======================================== */
.carousel-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 10px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.carousel-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.carousel-card:hover {
    transform: translateY(-5px);
}

.carousel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
    text-align: center;
}

.card-content i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.card-content h4 {
    font-size: 1rem;
    color: var(--dark);
}

/* ========================================
   ACCORDION
   ======================================== */
#accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.accordion-header {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
}

.accordion-header:hover {
    background: var(--light-gray);
}

.accordion-header i {
    color: var(--primary);
    width: 25px;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #475569;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px 20px;
    max-height: 300px;
}

/* ========================================
   MARKA VE SEMT LISTESI
   ======================================== */
.brand-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.district-item {
    padding: 8px 12px;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #334155;
    transition: all 0.3s;
}

.district-item:hover {
    background: #fef3c7;
    transform: translateX(5px);
}

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

/* ========================================
   CONTACT CARD
   ======================================== */
.contact-card {
    background: linear-gradient(135deg, var(--secondary), var(--dark));
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    color: white;
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-card p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .district-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .hero .btn-primary, .hero .btn-outline {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    
    .service-card .btn-outline {
        padding: 6px 18px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-outline {
        width: 80%;
        justify-content: center;
    }
}