/* TÜM CSS KODLARI - HATASIZ VE TAM */
:root {
    --primary: #1a365d;
    --secondary: #e53e3e;
    --accent: #f6ad55;
    --light: #f7fafc;
    --dark: #2d3748;
    --gray: #718096;
    --success: #38a169;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fff;
    padding-top: 120px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER TOP - ACİL TELEFON */
.header-top {
    background: var(--primary);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 15px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: var(--shadow);
}

.header-top a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 700;
    margin-left: 5px;
    transition: var(--transition);
    display: inline-block;
}

.header-top a:hover {
    color: white;
    transform: scale(1.05);
}

/* ANA NAVİGASYON */
.main-header {
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:before {
    content: "🚑";
    font-size: 32px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.desktop-nav a:hover:after {
    width: 100%;
}

.desktop-nav a.active {
    color: var(--primary);
}

.desktop-nav a.active:after {
    width: 100%;
}

.nav-cta {
    background: var(--secondary);
    color: white !important;
    padding: 12px 24px !important;
    border-radius: var(--radius);
    margin-left: 10px;
    border: none;
}

.nav-cta:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-cta:after {
    display: none !important;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(26, 54, 93, 0.15), rgba(26, 54, 93, 0.9)), url('images/hero-bg.webp?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 80px;
    padding: 60px 20px;
}

.hero-overlay {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.highlight {
    color: var(--accent);
    font-weight: 700;
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s both;
}

.btn-primary, .btn-secondary {
    padding: 18px 35px;
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 220px;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.btn-primary:hover {
    background: #c53030;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-weight: 600;
}

.feature i {
    font-size: 28px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.15);
    padding: 12px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature:hover i {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

/* SERVICES SECTION */
.services-section {
    padding: 80px 0;
    background: var(--light);
}

.section-intro {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 50px;
    text-align: center;
    padding: 25px 0;
    background: linear-gradient(135deg, var(--primary), #2c5282);
    color: white;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    padding: 20px 20px 10px;
    color: var(--primary);
    font-size: 1.5rem;
    flex-grow: 0;
}

.service-card p {
    padding: 0 20px;
    color: var(--gray);
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    padding: 12px 20px;
    margin: 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.service-link:hover {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
}

/* LOCAL SEO SECTION */
.local-seo-section {
    padding: 80px 0;
    background: white;
}

.local-seo-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0 50px;
}

.location-item {
    background: var(--light);
    padding: 15px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    border-left: 4px solid var(--accent);
    transition: var(--transition);
}

.location-item:hover {
    background: #e6fffa;
    transform: translateX(5px);
}

.location-text {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 25px;
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
    border-radius: var(--radius);
    border-left: 5px solid var(--success);
    box-shadow: var(--shadow);
}

.location-text p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.location-text a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.location-text a:hover {
    text-decoration: underline;
}

/* WHY US SECTION */
.why-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
}

.why-us-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-box p {
    color: var(--gray);
    line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #2d3748);
    color: white;
    padding: 100px 0;
    text-align: center;
    margin: 80px 0;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cta-section > p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--secondary);
    color: white;
    padding: 25px 50px;
    font-size: 1.6rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #c53030;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    animation: none;
}

.cta-alternative {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: inline-block;
}

.cta-alternative p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.cta-subtext {
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* MAP SECTION */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.map-section > p {
    text-align: center;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.map-wrapper {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid white;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-box {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.info-box:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.info-box i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-box p {
    color: var(--gray);
}

.info-box a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

/* MOBILE CTA BUTTONS */
.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none;
    z-index: 1002;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.2);
}

.cta-btn {
    flex: 1;
    padding: 18px 10px;
    text-align: center;
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.cta-btn:hover {
    filter: brightness(110%);
}

.cta-btn i {
    font-size: 20px;
}

.cta-call { background: #2ecc71; }
.cta-whatsapp { background: #25D366; }
.cta-location { background: #e74c3c; }

/* FOOTER */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-col a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cbd5e0;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    text-align: center;
    opacity: 0.7;
}

.footer-copyright p {
    margin-bottom: 10px;
}

.seo-text {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 20px auto 0;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(229, 62, 62, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .desktop-nav {
        gap: 20px;
    }
    
    .features-grid,
    .map-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }
    
    .header-top {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .main-header {
        top: 38px;
        padding: 10px 0;
    }
    
    .desktop-nav {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 999;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .desktop-nav.active {
        display: flex;
    }
    
    .desktop-nav a {
        padding: 15px;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
    }
    
    .desktop-nav a:last-child {
        border-bottom: none;
    }
    
    .desktop-nav a:after {
        display: none;
    }
    
    .nav-cta {
        margin: 10px 0 0;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: var(--primary);
        cursor: pointer;
        padding: 5px;
        transition: var(--transition);
    }
    
    .mobile-menu-btn:hover {
        color: var(--secondary);
    }
    
    .hero {
        min-height: 70vh;
        padding: 40px 20px;
        margin-bottom: 60px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        padding: 16px 25px;
        font-size: 16px;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .feature {
        flex: 1;
        min-width: 120px;
    }
    
    .services-grid,
    .features-grid,
    .map-info {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 10px;
    }
    
    .cta-section {
        padding: 60px 20px;
        margin: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 20px 30px;
        font-size: 1.3rem;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 400px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .mobile-cta {
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo:before {
        font-size: 26px;
    }
    
    .feature i {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 18px 20px;
    }
}