/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location, .phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.location i, .phone i {
    color: #1e3a8a;
}

.navbar {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 18px;
    color: #1e3a8a;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e3a8a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a8a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-call {
    background: #dc2626;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-call:hover {
    background: #b91c1c;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
    width: 100%;
}

.hero-btn {
    background: #1e3a8a;
    color: white;
    padding: 25px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
    font-weight: 600;
    width: 100%;
    min-height: 120px;
    box-sizing: border-box;
}

.hero-btn:hover {
    transform: translateY(-5px);
    background: #1e40af;
}

.hero-btn i {
    font-size: 2rem;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #dc2626;
    border-radius: 2px;
}

/* Nearest Towing Section */
.nearest-towing {
    padding: 80px 0;
    background: #f8f9fa;
}

.nearest-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.nearest-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nearest-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.btn-read-more {
    background: #1e3a8a;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-read-more:hover {
    background: #1e40af;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    font-weight: 600;
}

.services-button {
    text-align: center;
}

.btn-see-all {
    background: #1e3a8a;
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: inline-block;
}

.btn-see-all:hover {
    background: #1e40af;
}

/* Blog Section */
.blog {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3 {
    padding: 20px 20px 10px;
    color: #1e3a8a;
    font-weight: 600;
}

.blog-link {
    display: block;
    padding: 0 20px 20px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #b91c1c;
}

.blog-button {
    text-align: center;
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
    background: #1e3a8a;
    color: white;
}

.cta-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #10b981;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Services Content Section */
.services-content {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-location {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-location h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-location p {
    color: #666;
    line-height: 1.8;
}

.contact-info-section {
    background: #1e3a8a;
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
}

.contact-info-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info-section p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cta-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #10b981;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 18px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #cbd5e1;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #10b981;
    color: white;
}

.phone-btn {
    background: #1e3a8a;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding-top: 110px;
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    .hero-buttons {
        max-width: 800px;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
        height: calc(100vh - 100px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        grid-template-columns: 1fr;
        max-width: 350px;
        gap: 20px;
    }
    
    .hero-btn {
        min-height: 100px;
        padding: 20px 15px;
    }
    
    .nearest-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .logo span {
        font-size: 16px;
    }
    
    .logo img {
        width: 40px;
        height: 40px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Performance Optimizations */
img {
    max-width: 100%;
    height: auto;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .floating-buttons,
    .btn-call,
    .btn-read-more,
    .btn-see-all {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        height: auto;
        margin-top: 0;
    }
}
