/* ==========================================================================
   ÖZOĞLU OTO KURTARMA - CSS
   ========================================================================== */

/* --- CSS Variables --- */
:root {
    --bg-main: #080808;
    --bg-card: #151515;
    --bg-card-hover: #1c1c1c;
    --color-primary: #D4AF37; /* Premium Gold */
    --color-primary-dark: #b8972e;
    --color-accent: #E50914; /* Strong Red */
    --color-accent-dark: #b80710;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1da851;
    --text-white: #ffffff;
    --text-light: #cccccc;
    --text-gray: #999999;
    
    --font-main: 'Montserrat', sans-serif;
    
    --border-light: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(212, 175, 55, 0.3);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.15);
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    --header-height: 80px;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
}

/* --- Layout Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
}

.section-header.text-center .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.2);
}

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

.btn-whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-primary);
    font-weight: 500;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.7) 50%, rgba(8,8,8,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    max-width: 600px;
}

.hero-trust {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .card-img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
    position: relative;
}

.card-number {
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
}

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

.card-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- Why Us Section --- */
.why-us {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.feature-box {
    text-align: center;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.feature-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- Regions Section --- */
.regions {
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--bg-main) 100%);
}

.regions-map {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.region-item {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid var(--border-light);
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
}

.region-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-5px);
}

.region-item.main-region {
    background-color: var(--color-primary);
    color: var(--bg-main);
    border-color: var(--color-primary);
    font-size: 1.4rem;
}

.regions-cta {
    text-align: center;
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.regions-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item::after {
    content: '\2194'; /* Arrows icon or something similar */
    font-family: 'Phosphor', sans-serif; /* Requires proper icon setup, using text fallback for now */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 2;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::before,
.gallery-item:hover::after {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid var(--color-primary);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-primary);
}

/* --- Stats Section --- */
.stats {
    background-color: var(--bg-card);
    padding: 60px 0;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Big CTA Section --- */
.big-cta {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 8, 8, 0.85);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.cta-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
}

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

/* --- Contact Section --- */
.contact-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    width: 100%;
    flex-wrap: wrap;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.info-item h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-gray);
}

.contact-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--bg-card);
    border: 1px dashed var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    border-radius: 8px;
}

/* --- Footer --- */
.footer {
    background-color: #050505;
    padding-top: 80px;
    border-top: 1px solid var(--border-light);
}

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

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-desc {
    color: var(--text-gray);
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

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

.footer-links ul li a {
    color: var(--text-gray);
}

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

.footer-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* --- Mobile Action Bar --- */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-light);
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 600;
    gap: 5px;
}

.action-btn i {
    font-size: 1.5rem;
}

.action-phone {
    background-color: var(--color-accent);
}

.action-whatsapp {
    background-color: var(--color-whatsapp);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .cta-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header .btn-primary {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        border-top: 1px solid var(--border-light);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .mobile-action-bar {
        display: flex;
    }
    
    body {
        padding-bottom: 60px; /* Space for sticky bar */
    }
    
    .contact-box {
        padding: 30px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-cta .btn {
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .contact-actions .btn {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
