/* =========================================
   ATLAS VİNÇ - CSS STYLESHEET
   ========================================= */

/* --- Variables & Reset --- */
:root {
    /* Color Palette */
    --primary-dark: #121212; /* Deep Anthracite */
    --secondary-dark: #1F2022; /* Steel Gray */
    --accent-color: #E63946; /* Industrial Red */
    --accent-hover: #D32F2F;
    --text-light: #F8F9FA;
    --text-muted: #ADB5BD;
    --border-color: rgba(255, 255, 255, 0.1);
    
    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Sizes & Spacing */
    --header-height: 80px;
    --section-padding: 100px 0;
}

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

html, body {
    overflow-x: hidden;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* --- Utilities --- */
.text-accent {
    color: var(--accent-color);
}

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

.section-heading {
    margin-bottom: 50px;
}

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

.section-heading .badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.section-heading.text-center p {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

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

.btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-dark);
}

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

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    height: 70px;
}

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

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

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

.nav-menu ul {
    display: flex;
    gap: 60px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.header-cta {
    display: flex;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-light);
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    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-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.hero-content {
    max-width: 800px;
}

.hero-subtitle {
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

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

/* --- About Section --- */
.about-section {
    padding: var(--section-padding);
    background-color: var(--secondary-dark);
}

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

.features-list {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.features-list li {
    display: flex;
    gap: 15px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-dark);
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

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

.image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 8px;
}

.experience-badge {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background-color: var(--accent-color);
    color: var(--primary-dark);
    padding: 30px;
    border-top-left-radius: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.experience-badge .years {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
}

/* --- Services Section --- */
.services-section {
    padding: var(--section-padding);
    background-color: var(--primary-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--secondary-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: var(--accent-color);
}

.service-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Fleet Section --- */
.fleet-section {
    padding: var(--section-padding);
    background-color: var(--secondary-dark);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.fleet-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.fleet-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(230, 57, 70, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fleet-item:hover::after {
    opacity: 1;
}

.fleet-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* --- SEO Regions Section --- */
.seo-regions {
    padding: var(--section-padding);
    background-color: var(--primary-dark);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.region-card {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.region-card h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.region-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background-color: #0A0A0A;
    padding: 80px 0 20px;
    border-top: 1px solid #1f2022;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-col h3 span {
    color: var(--accent-color);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-col ul li strong {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1f2022;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Floating CTA Buttons --- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.float-whatsapp {
    background-color: #25D366;
}

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

.float-btn:hover {
    transform: scale(1.1);
}

/* Pulse Animation */
.float-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

.float-phone::before {
    animation-delay: 1s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Hover Pulse on Hero Btn */
.pulse-hover {
    animation: pulse-small 2s infinite;
}

@keyframes pulse-small {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* --- Media Queries (Mobile & Tablet) --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .about-container { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .fleet-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Header & Nav */
    .header-cta { display: none; } /* Hide in header, they are sticky at bottom/right */
    .hamburger { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--primary-dark);
        transition: 0.3s;
        padding: 40px 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Sections */
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-desc { font-size: 1rem; }
    
    .section-heading h2 { font-size: 2rem; }
    
    .services-grid { grid-template-columns: 1fr; }
    .regions-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-col p { margin: 0 auto; }
    
    /* Disable some effects for mobile performance */
    .fleet-item:hover img { transform: none; }
    
    /* Stick a CTA to bottom if wanted, but floating buttons suffice */
}

@media (max-width: 480px) {
    .fleet-grid { grid-template-columns: 1fr; }
    .experience-badge { padding: 15px; }
    .experience-badge .years { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
}
