/* Kahyaoğlu Otomotiv - Ana Stil Dosyası */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #FFB800;
    --color-white: #ffffff;
    --color-gray: #f5f5f5;
    --color-dark-gray: #333333;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Touch optimizasyonu */
* {
    -webkit-tap-highlight-color: transparent;
}

a, button {
    touch-action: manipulation;
}

/* Header Styles */
header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo {
    max-height: 50px;
    max-width: 200px;
    height: auto;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-logo {
        max-height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .site-logo {
        max-height: 35px;
        max-width: 120px;
    }
}

.main-nav {
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--color-secondary);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-primary);
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 80px 0 20px;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 1.2rem 2rem;
        width: 100%;
        font-size: 1.1rem;
    }
    
    .main-nav a:hover {
        background-color: rgba(255,255,255,0.1);
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .nav-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .main-nav {
        width: 100%;
        right: -100%;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .main-nav a {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem 15px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 1rem 10px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-gray) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.hero-logo {
    max-width: 500px;
    max-height: 200px;
    width: auto;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Vehicle Grid */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}

@media (max-width: 1200px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .vehicles-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.9rem;
    }
}

@media (max-width: 480px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 8px;
    }
}

@media (max-width: 360px) {
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

.vehicle-card {
    background: var(--color-white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    max-width: 100%;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.vehicle-card:active {
    transform: translateY(-2px);
    transition: transform 0.1s ease;
}

.vehicle-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background-color: var(--color-gray);
    background-image: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
}

@media (max-width: 768px) {
    .vehicle-image {
        height: 140px;
    }
}

@media (max-width: 480px) {
    .vehicle-image {
        height: 130px;
    }
}

.vehicle-image[src=""],
.vehicle-image:not([src]),
.vehicle-image[src*="no-image"] {
    background-image: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-image[src=""]::after,
.vehicle-image:not([src])::after,
.vehicle-image[src*="no-image"]::after {
    content: '\f1b9';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    opacity: 0.3;
    font-size: 3rem;
    color: var(--color-text-light);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .vehicle-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .vehicle-image {
        height: 150px;
    }
}

.vehicle-info {
    padding: 0.8rem 1rem;
}

@media (max-width: 768px) {
    .vehicle-info {
        padding: 0.7rem 0.9rem;
    }
}

@media (max-width: 480px) {
    .vehicle-info {
        padding: 0.6rem 0.7rem;
    }
}

.vehicle-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    color: var(--color-primary);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .vehicle-title {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
}

@media (max-width: 480px) {
    .vehicle-title {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
}

.vehicle-details {
    color: var(--color-text-light);
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vehicle-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .vehicle-details {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        gap: 0.35rem;
    }
    
    .vehicle-details span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .vehicle-details {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
        gap: 0.3rem;
    }
    
    .vehicle-details span {
        font-size: 0.65rem;
    }
}

.vehicle-price {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-secondary);
    margin-top: 0.6rem;
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .vehicle-price {
        font-size: 1.05rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .vehicle-price {
        font-size: 1rem;
        margin-top: 0.4rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e6a500;
    transform: scale(1.05);
}

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

.btn-primary:hover {
    background-color: var(--color-dark-gray);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
}

.btn-phone {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-phone:hover {
    background-color: #e6a500;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0d0d0d 100%);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 3px solid var(--color-secondary);
}

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

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

.footer-section h3 {
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-secondary);
    border-radius: 2px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer-links a::before {
    content: '→';
    color: var(--color-secondary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    padding: 0.5rem;
    border-radius: 5px;
}

.footer-contact a:hover {
    color: var(--color-secondary);
    background: rgba(255, 184, 0, 0.1);
    transform: translateX(5px);
}

.footer-contact i {
    width: 20px;
    text-align: center;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-signature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
}

.footer-signature a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-signature a:hover {
    color: #e6a500;
    text-decoration: underline;
}

@media (max-width: 768px) {
    footer {
        padding: 2.5rem 0 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.35rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-signature {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
    }
    
    .footer-links a,
    .footer-contact a {
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .footer-signature {
        font-size: 0.8rem;
    }
}

/* Contact Buttons */
.contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

@media (max-width: 480px) {
    .contact-buttons {
        bottom: 15px;
        right: 15px;
        gap: 0.75rem;
    }
}

.contact-buttons a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    text-decoration: none;
    font-size: 1.5rem;
}

.contact-buttons a:hover {
    transform: scale(1.1);
}

.btn-whatsapp-fixed {
    background-color: #25D366;
    color: var(--color-white);
}

.btn-phone-fixed {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

/* Vehicle Detail Page */
.vehicle-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.vehicle-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.vehicle-main-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    position: relative;
}

.vehicle-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Görsel geçiş butonları */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.image-nav-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.image-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.image-nav-prev {
    left: 15px;
}

.image-nav-next {
    right: 15px;
}

/* Görsel sayacı */
.image-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 10;
}

/* Thumbnail aktif durumu */
.thumbnail-image.active {
    border: 3px solid var(--color-secondary);
    opacity: 1;
}

.thumbnail-image {
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail-image:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .vehicle-detail-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vehicle-main-image-container {
        aspect-ratio: 4/3;
    }
    
    .image-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-nav-prev {
        left: 10px;
    }
    
    .image-nav-next {
        right: 10px;
    }
    
    .image-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

.vehicle-detail-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.vehicle-detail-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.vehicle-detail-images img:hover {
    transform: scale(1.05);
}

.vehicle-detail-info {
    background: var(--color-gray);
    padding: 2rem;
    border-radius: 10px;
}

.vehicle-detail-info h2 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.vehicle-detail-info .price {
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: bold;
    margin: 1rem 0;
}

.vehicle-detail-buttons {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 2rem;
}

.vehicle-detail-buttons .btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
}

.btn-sahibinden {
    background: var(--color-secondary) !important;
    color: var(--color-primary) !important;
    border: none !important;
    font-weight: bold !important;
}

.btn-sahibinden:hover {
    background: #e6a500 !important;
    color: var(--color-primary) !important;
}

@media (max-width: 768px) {
    .vehicle-detail-buttons {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    
    .vehicle-detail-buttons .btn {
        flex: 1 1 auto;
        min-width: 120px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .vehicle-detail-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vehicle-detail-buttons .btn {
        width: 100%;
        flex: none;
    }
}

/* Parts Status Chart */
.parts-chart {
    margin-top: 2rem;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.parts-chart h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.parts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.part-item {
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid;
}

.part-item.painted {
    background-color: #fff3cd;
    border-color: #ffc107;
}

.part-item.local_painted {
    background-color: #ffccbc;
    border-color: #ff5722;
}

.part-item.replaced {
    background-color: #d1ecf1;
    border-color: #0dcaf0;
}

.part-item .part-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.part-item .part-type {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Rescue Service Page */
.rescue-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-gray) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.rescue-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.6);
    z-index: 1;
}

.rescue-hero .container {
    position: relative;
    z-index: 2;
}

.rescue-logo {
    max-width: 300px;
    margin: 0 auto 2rem;
    display: block;
}

.rescue-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.rescue-hero .hero-logo {
    max-width: 500px;
    max-height: 200px;
    width: auto;
    height: auto;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.contact-section {
    background: var(--color-gray);
    padding: 3rem 0;
    margin-top: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .contact-grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    .contact-card {
        padding: 1.2rem 0.8rem;
    }
    
    .contact-card i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-card p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-card .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card i {
        font-size: 2.5rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card p {
        font-size: 0.9rem;
    }
    
    .contact-card .btn {
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 1.5rem 8px;
        box-sizing: border-box;
    }
    
    .contact-section {
        padding: 2rem 0;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .contact-card {
        padding: 0.9rem 0.4rem !important;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .contact-card i {
        font-size: 1.6rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .contact-card h3 {
        font-size: 0.75rem !important;
        margin-bottom: 0.25rem;
    }
    
    .contact-card p {
        font-size: 0.6rem !important;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .contact-card .btn {
        padding: 0.4rem 0.4rem !important;
        font-size: 0.6rem !important;
        white-space: nowrap;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-card .btn i {
        font-size: 0.7rem !important;
        margin-bottom: 0 !important;
        margin-right: 0.2rem;
    }
    
    .contact-card .btn .btn-text-mobile {
        display: none !important;
    }
    
    .contact-card .btn .btn-text-small {
        display: inline !important;
        font-size: 0.6rem;
    }
    
    .contact-card-email {
        display: none !important;
    }
}

.contact-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    background: var(--color-gray);
    padding: 3rem 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.services-section h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tow-truck-icon {
    width: 60px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: brightness(0) saturate(100%) invert(67%) sepia(100%) saturate(2000%) hue-rotate(0deg) brightness(1) contrast(1);
}

@media (max-width: 768px) {
    .tow-truck-icon {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .tow-truck-icon {
        width: 45px;
    }
}

/* Map Section */
.map-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}

@media (max-width: 992px) {
    .services-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 2rem 1.5rem;
    }
    
    .services-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card i {
        font-size: 2rem !important;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 1.5rem 1rem;
    }
    
    .services-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .service-card i {
        font-size: 1.8rem !important;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
}

/* Admin Panel Styles */
.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.admin-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.admin-nav a {
    color: var(--color-white);
    text-decoration: none;
    margin-left: 1rem;
}

.admin-nav a:hover {
    color: var(--color-secondary);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-logo {
        max-width: 400px;
        max-height: 150px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vehicle-detail-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .header-container {
        padding: 0.8rem 20px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .container {
        padding: 1.5rem 15px;
    }
    
    .contact-buttons {
        bottom: 10px;
        right: 10px;
    }
    
    .contact-buttons a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .vehicle-card {
        margin-bottom: 1rem;
    }
    
    .vehicle-info {
        padding: 1.25rem;
    }
    
    .vehicle-title {
        font-size: 1.1rem;
    }
    
    .vehicle-price {
        font-size: 1.3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .parts-list {
        grid-template-columns: 1fr;
    }
    
    .vehicle-detail-images {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rescue-hero h1 {
        font-size: 2rem;
    }
    
    .rescue-hero .hero-logo {
        max-width: 400px;
        max-height: 150px;
    }
    
    .rescue-logo {
        max-width: 200px;
    }
    
    .footer-container {
        padding: 1.5rem 20px;
    }
    
    /* Admin Panel Mobile Styles */
    .admin-container {
        padding: 1rem 10px;
    }
    
    .admin-header {
        padding: 0.75rem 0;
        margin-bottom: 1rem;
    }
    
    .admin-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 15px;
    }
    
    .admin-nav h2 {
        font-size: 1.1rem;
        margin: 0;
        width: 100%;
    }
    
    .admin-nav > div {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .admin-nav a {
        margin-left: 0;
        padding: 0.5rem 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .admin-nav a i {
        width: 18px;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* iOS zoom önleme */
        padding: 0.75rem;
    }
    
    /* Admin Dashboard Cards */
    .admin-stats-grid,
    .admin-container > div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .admin-stats-grid > div,
    .admin-container > div[style*="grid"] > div {
        padding: 1rem !important;
    }
    
    .admin-quick-actions {
        flex-direction: column;
    }
    
    .admin-quick-actions .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
    
    /* Admin Table to Card Conversion */
    .admin-container table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .admin-container table thead {
        display: none;
    }
    
    .admin-container table tbody {
        display: block;
        width: 100%;
    }
    
    .admin-container table tbody tr {
        display: block;
        width: 100%;
    }
    
    .admin-container .vehicle-row {
        display: block !important;
        background: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        width: 100%;
        box-sizing: border-box;
    }
    
    .admin-container .vehicle-row td {
        display: block;
        padding: 0.75rem 0;
        border: none;
        text-align: left !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    .admin-container .vehicle-row td:before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 0.5rem;
        color: var(--color-text-light);
        font-size: 0.9rem;
    }
    
    .admin-container .vehicle-row td:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 2px solid #eee;
    }
    
    .admin-container .vehicle-row td:last-child:before {
        display: none;
    }
    
    .admin-container .vehicle-row td.vehicle-actions,
    .admin-container .vehicle-row td:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .admin-container .vehicle-row td.vehicle-actions a,
    .admin-container .vehicle-row td:last-child a {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: calc(50% - 0.25rem);
        text-align: center;
        padding: 0.75rem 0.5rem;
        background: var(--color-gray);
        border-radius: 5px;
        font-size: 0.85rem;
        text-decoration: none;
        color: var(--color-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: background-color 0.3s;
        border: none;
        cursor: pointer;
    }
    
    .admin-container .vehicle-row td.vehicle-actions a:hover,
    .admin-container .vehicle-row td:last-child a:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }
    
    .admin-container .vehicle-row td.vehicle-actions a[title="Düzenle"],
    .admin-container .vehicle-row td:last-child a[title="Düzenle"] {
        background: #fff3cd;
        color: #856404;
    }
    
    .admin-container .vehicle-row td.vehicle-actions a[title="Görseller"],
    .admin-container .vehicle-row td:last-child a[title="Görseller"] {
        background: #d1ecf1;
        color: #0c5460;
    }
    
    .admin-container .vehicle-row td.vehicle-actions a[title="Durum Değiştir"],
    .admin-container .vehicle-row td:last-child a[title="Durum Değiştir"] {
        background: #cfe2ff;
        color: #084298;
    }
    
    .admin-container .vehicle-row td.vehicle-actions a[title="Sil"],
    .admin-container .vehicle-row td:last-child a[title="Sil"] {
        background: #f8d7da;
        color: #721c24;
    }
    
    .admin-container .vehicle-row td.vehicle-actions .btn-text-mobile,
    .admin-container .vehicle-row td:last-child .btn-text-mobile {
        display: inline;
    }
    
    /* Empty state */
    .admin-container table tbody tr.empty-state-row {
        display: block;
        width: 100%;
        background: white;
        border-radius: 8px;
        margin-bottom: 1rem;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .admin-container table tbody tr.empty-state-row td {
        display: block;
        width: 100%;
        padding: 2rem;
        text-align: center;
        color: var(--color-text-light);
    }
    
    /* Admin Buttons */
    .admin-container .btn {
        width: 100%;
        margin: 0.5rem 0;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .admin-container .btn + .btn {
        margin-left: 0;
    }
    
    /* Admin Forms */
    .admin-container form {
        padding: 1.5rem !important;
    }
    
    .admin-container h1 {
        font-size: 1.5rem;
    }
    
    .admin-container h2 {
        font-size: 1.25rem;
    }
    
    .admin-container h3 {
        font-size: 1.1rem;
    }
    
    /* Login Page */
    .login-box {
        padding: 2rem 1.5rem !important;
        margin: 1rem;
    }
    
    .login-box h1 {
        font-size: 1.5rem;
    }
    
    /* Settings Tabs */
    .settings-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        border-bottom: 2px solid #ddd;
    }
    
    .settings-tab {
        flex: 1 1 calc(50% - 0.25rem);
        min-width: calc(50% - 0.25rem);
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
        border-radius: 5px 5px 0 0;
    }
    
    .settings-tab i {
        display: none;
    }
    
    /* Settings Sections */
    .settings-section {
        margin-bottom: 1.5rem;
        padding: 1rem;
        background: #f9f9f9;
        border-radius: 8px;
    }
    
    .settings-section h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .background-preview {
        min-height: 150px;
        margin-bottom: 1rem;
    }
    
    /* Login Page Mobile */
    .login-container {
        padding: 1rem;
    }
    
    .login-box {
        max-width: 100% !important;
        padding: 2rem 1.5rem !important;
    }
    
    /* Vehicle Edit - Image Grid */
    .admin-container div[style*="grid-template-columns: repeat(auto-fill"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    /* Vehicle Edit - Parts List */
    .part-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.75rem !important;
    }
    
    .part-name-label {
        flex: 0 0 auto !important;
        width: 100% !important;
        margin-bottom: 0.5rem !important;
    }
    
    .part-options {
        width: 100% !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    
    .part-options label {
        width: 100%;
        padding: 0.5rem;
        background: var(--color-gray);
        border-radius: 5px;
    }
    
    /* Modal Mobile */
    .vehicle-modal.active {
        padding: 0.5rem !important;
        align-items: flex-start !important;
    }
    
    .vehicle-modal-content {
        max-height: 95vh !important;
        border-radius: 10px !important;
    }
    
    .vehicle-modal-header {
        padding: 1rem !important;
        flex-wrap: wrap;
    }
    
    .vehicle-modal-header h2 {
        font-size: 1.1rem;
        flex: 1;
        min-width: 0;
    }
    
    .vehicle-modal-body {
        padding: 1rem !important;
    }
    
    .vehicle-modal-info {
        grid-template-columns: 1fr !important;
    }
    
    .vehicle-modal-images {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    .parts-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    
    .contact-card i {
        font-size: 2rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .contact-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-card p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-card .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
}

.btn-text-mobile {
    display: none;
}

.btn-text-small {
    display: none;
}

@media (max-width: 768px) {
    .btn-text-desktop {
        display: none;
    }
    
    .btn-text-mobile {
        display: inline !important;
    }
    
    /* Admin action buttons - show text on mobile */
    .admin-container .vehicle-row td.vehicle-actions a .btn-text-mobile,
    .admin-container .vehicle-row td:last-child a .btn-text-mobile {
        display: inline !important;
        margin-left: 0.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-logo {
        max-width: 300px;
        max-height: 120px;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .container {
        padding: 1rem 10px;
    }
    
    .vehicle-info {
        padding: 1rem;
    }
    
    .vehicle-title {
        font-size: 1rem;
    }
    
    .vehicle-details {
        font-size: 0.85rem;
    }
    
    .vehicle-details span {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .rescue-hero {
        padding: 2rem 0;
    }
    
    .rescue-hero h1 {
        font-size: 1.5rem;
    }
    
    .rescue-hero .hero-logo {
        max-width: 300px;
        max-height: 120px;
    }
    
    .rescue-logo {
        max-width: 150px;
    }
    
    .header-container {
        padding: 0.7rem 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .vehicle-detail-info {
        padding: 1.5rem;
    }
    
    .vehicle-detail-info h2 {
        font-size: 1.5rem;
    }
    
    .vehicle-detail-info .price {
        font-size: 1.5rem;
    }
    
    /* Admin Panel - Extra Small Screens */
    .admin-container {
        padding: 0.75rem 8px;
    }
    
    .admin-header {
        padding: 0.5rem 0;
    }
    
    .admin-nav {
        padding: 0 10px;
    }
    
    .admin-nav h2 {
        font-size: 1rem;
    }
    
    .admin-nav a {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .admin-container h1 {
        font-size: 1.25rem;
    }
    
    .admin-container h2 {
        font-size: 1.1rem;
    }
    
    .admin-container h3 {
        font-size: 1rem;
    }
    
    .admin-container form {
        padding: 1rem !important;
    }
    
    .login-box {
        padding: 1.5rem 1rem !important;
    }
    
    .login-box h1 {
        font-size: 1.25rem;
    }
    
    .settings-tab {
        flex: 1 1 100%;
        min-width: 100%;
        font-size: 0.8rem;
    }
    
    .admin-container div[style*="grid-template-columns: repeat(auto-fill"] {
        grid-template-columns: 1fr !important;
    }
    
    .vehicle-modal-header h2 {
        font-size: 1rem;
    }
    
    .vehicle-modal-body {
        padding: 0.75rem !important;
    }
    
    .part-options label {
        font-size: 0.75rem;
    }
    
    .admin-container .vehicle-row td:last-child {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .admin-container .vehicle-row td:last-child a {
        width: 100%;
        flex: 1 1 100%;
        min-width: 100%;
        padding: 0.75rem;
    }
    
    .admin-container .vehicle-row td:last-child .btn-text-mobile {
        display: inline;
    }
    
    .parts-chart {
        padding: 1.5rem;
    }
    
    .parts-chart h3 {
        font-size: 1.25rem;
    }
}

/* Vehicle Detail Mobile Layout */
.vehicle-images-section {
    margin-bottom: 1.5rem;
}

.vehicle-title-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.vehicle-title-section h2 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.vehicle-title-section .price {
    font-size: 1.75rem;
    color: var(--color-secondary);
    font-weight: bold;
}

/* Vehicle Detail Tabs */
.vehicle-detail-tabs {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.vehicle-tab {
    flex: 1;
    padding: 1rem;
    background: #f5f5f5;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.3s;
    text-align: center;
}

.vehicle-tab:hover {
    background: #e9e9e9;
}

.vehicle-tab.active {
    background: white;
    border-bottom-color: var(--color-secondary);
    color: var(--color-secondary);
    font-weight: 600;
}

.vehicle-tab-content {
    display: none;
    background: white;
    padding: 1.5rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.vehicle-tab-content.active {
    display: block;
}

/* Vehicle Specs List */
.vehicle-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e9e9e9;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.spec-value {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.vehicle-description-content {
    line-height: 1.8;
    color: var(--color-text);
}

/* Mobile Fixed Buttons */
.vehicle-mobile-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    background: white;
    padding: 0.6rem 0.75rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    gap: 0.4rem;
    align-items: center;
}

.mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s;
    border: none;
    color: white;
    min-height: 44px; /* Touch target minimum */
}

.mobile-btn i {
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-text-full {
    display: inline;
}

.btn-text-short {
    display: none;
}

.mobile-btn-call {
    background: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.mobile-btn-call:active {
    background: #0056b3;
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 123, 255, 0.4);
}

.mobile-btn-message {
    background: #25D366;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.mobile-btn-message:active {
    background: #1da851;
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(37, 211, 102, 0.4);
}

.mobile-btn-sahibinden {
    flex: 1;
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 0.65rem 0.75rem;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.mobile-btn-sahibinden:active {
    background: #e6a500;
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(255, 193, 7, 0.4);
}

.desktop-only {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    .vehicle-detail-header {
        grid-template-columns: 1fr;
    }
    
    .vehicle-title-section {
        padding: 1.25rem;
    }
    
    .vehicle-title-section h2 {
        font-size: 1.25rem;
    }
    
    .vehicle-title-section .price {
        font-size: 1.5rem;
    }
    
    .vehicle-tab {
        padding: 0.875rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .vehicle-tab-content {
        padding: 1.25rem;
    }
    
    .spec-item {
        padding: 0.875rem;
    }
    
    .desktop-only {
        display: none;
    }
    
    .vehicle-mobile-buttons {
        display: flex;
    }
    
    /* Add padding to vehicle-detail container to prevent content from being hidden behind fixed buttons */
    .vehicle-detail {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .vehicle-title-section {
        padding: 1rem;
    }
    
    .vehicle-title-section h2 {
        font-size: 1.1rem;
    }
    
    .vehicle-title-section .price {
        font-size: 1.35rem;
    }
    
    .vehicle-tab {
        padding: 0.75rem 0.4rem;
        font-size: 0.85rem;
    }
    
    .vehicle-tab-content {
        padding: 1rem;
    }
    
    .spec-item {
        padding: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .spec-label {
        font-size: 0.85rem;
    }
    
    .spec-value {
        font-size: 0.9rem;
    }
    
    .vehicle-mobile-buttons {
        padding: 0.6rem 0.5rem;
        gap: 0.4rem;
    }
    
    .mobile-btn {
        padding: 0.7rem 0.6rem;
        font-size: 0.8rem;
        gap: 0.35rem;
        min-height: 44px;
    }
    
    .mobile-btn i {
        font-size: 1.05rem;
    }
    
    .mobile-btn span {
        font-size: 0.8rem;
        white-space: nowrap;
    }
    
    .btn-text-full {
        display: inline;
    }
    
    .btn-text-short {
        display: none;
    }
}

/* Çok küçük ekranlar için (360px ve altı) */
@media (max-width: 360px) {
    .vehicle-mobile-buttons {
        padding: 0.55rem 0.4rem;
        gap: 0.3rem;
    }
    
    .mobile-btn {
        padding: 0.65rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }
    
    .mobile-btn i {
        font-size: 1rem;
    }
    
    .btn-text-full {
        display: none;
    }
    
    .btn-text-short {
        display: inline;
    }
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 4px solid var(--color-gray);
    border-top: 4px solid var(--color-secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

