/* =========================================
   VARIABLES & THEME SETTINGS
   ========================================= */
:root {
    /* Colors - Light Theme (Clean & Premium) */
    --color-primary: #FFB800; /* Construction Yellow/Gold */
    --color-primary-dark: #E6A600;
    --color-secondary: #0F172A; /* Deep Navy/Slate */
    --color-secondary-light: #1E293B;
    
    --color-bg: #E2E8F0; /* Solid light gray */
    --color-surface: #F1F5F9; /* Very light gray */
    --color-text-main: #334155;
    --color-text-muted: #64748B;
    --color-border: #E2E8F0;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    
    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 30px -5px rgba(0, 0, 0, 0.1);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-surface);
}

.accent {
    color: var(--color-primary);
}

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

.section-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 48px;
}

.text-center {
    text-align: center;
}
.text-center .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-surface);
    color: var(--color-secondary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.header.scrolled {
    padding: 16px 0;
    background: rgba(241, 245, 249, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 70px;
    width: auto;
    transition: all var(--transition-normal);
    /* Üstteyken logo tamamen beyaz olur (karanlık arka planda görünmesi için) */
    filter: brightness(0) invert(1);
    
    /* Header yüksekliğini bozmadan logoyu görsel olarak %40 daha büyütüyoruz */
    transform: scale(1.4);
    transform-origin: left center;
}

.header.scrolled .logo-img {
    height: 55px;
    /* Kaydırıldığında logo kendi orijinal renklerine döner */
    filter: none;
    transform: scale(1.4);
}

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

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
    position: relative;
}

.header.scrolled .nav-link {
    color: var(--color-text-main);
}

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

.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
    color: var(--color-primary-dark);
}

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

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-surface);
    cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
    color: var(--color-secondary);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    color: var(--color-surface);
}

.hero-text-box {
    max-width: 650px;
    animation: fadeUp 1s ease forwards;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: var(--color-surface);
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-surface);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeLeft 1s 0.3s ease forwards;
    opacity: 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 280px;
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateX(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    color: var(--color-primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inset 0 0 0 1px rgba(255,255,255,0.1);
    z-index: 1;
    pointer-events: none;
    border-radius: var(--border-radius);
}

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 32px;
    right: -24px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 32px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.experience-badge .years {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-top: 8px;
}

.about-text {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-secondary);
}

.feature-list i {
    font-size: 1.5rem;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    padding: 40px 32px;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    border: none;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.7) 0%, rgba(10, 25, 47, 0.95) 100%);
    transition: all var(--transition-normal);
    z-index: -1;
}

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

.service-card:hover::before {
    background: linear-gradient(to bottom, rgba(255, 183, 3, 0.8) 0%, rgba(10, 25, 47, 0.95) 100%);
}

.service-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-surface);
    position: relative;
    padding-top: 20px;
}

.service-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.service-card:hover .service-title::before {
    width: 80px;
}

.service-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto;
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* =========================================
   FLEET SECTION
   ========================================= */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.fleet-card {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.fleet-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.fleet-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.fleet-info {
    padding: 32px;
}

.fleet-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.fleet-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   CONTACT CTA SECTION
   ========================================= */
.contact-cta {
    background-color: var(--color-secondary);
    color: var(--color-surface);
}

.contact-cta .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-title {
    color: var(--color-surface);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.info-box i {
    font-size: 2rem;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: var(--border-radius-sm);
}

.info-box span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.info-box strong {
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-form-wrapper {
    background: var(--color-surface);
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    color: var(--color-text-main);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--color-bg);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--color-secondary-light);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    margin-bottom: 24px;
    display: inline-flex;
}

.footer-logo .logo-img {
    filter: brightness(0) invert(1);
}

.footer-desc {
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--color-surface);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--color-surface);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

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

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--color-primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--color-surface);
}

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1EBE55;
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .about-grid, .contact-container {
        gap: 40px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-actions .btn {
        display: none; /* Hide quote button on mobile header */
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--color-surface);
        padding: 100px 40px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    .nav-link {
        color: var(--color-secondary);
        font-size: 1.25rem;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
    .hero-stats {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-buttons {
        justify-content: center;
    }
    .about-grid, .contact-container {
        grid-template-columns: 1fr;
    }
    .experience-badge {
        right: 24px;
        bottom: -24px;
        padding: 20px;
    }
    .experience-badge .years {
        font-size: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* =========================================
   NEW ADDITIONS (WHATSAPP & MAPS)
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 34px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

.map-container {
    margin-top: 32px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 24px;
        right: 24px;
        font-size: 28px;
    }
}
