/* =========================================
   VARIABLES & SETUP
========================================= */
:root {
    /* Colors - Dark/Premium Theme */
    --primary: #0f172a;      /* slate-900 */
    --primary-light: #1e293b;/* slate-800 */
    --primary-dark: #020617; /* slate-950 */
    --accent: #2563eb;       /* blue-600 */
    --accent-light: #3b82f6; /* blue-500 */
    --accent-dark: #1d4ed8;  /* blue-700 */
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    
    /* Text Colors */
    --text-main: #f8fafc;    /* slate-50 */
    --text-muted: #cbd5e1;   /* slate-300 */
    --text-dark: #0f172a;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Metrics */
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* For fixed header */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

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

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

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--primary);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.mobile-menu.active {
    right: 0;
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-menu a.btn {
    margin-top: 2rem;
    border: none;
}

/* =========================================
   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-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% center; /* Resmin odağını (Isı pompasını ve Uzungöl manzarasını) sağa kaydırarak yazılardan uzaklaştırır */
    transition: object-position 0.3s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Solda karanlık (yazı okunabilirliği için), sağa doğru açılan ultra şık geçiş gradyanı */
    background: linear-gradient(90deg, 
        rgba(2, 6, 23, 0.95) 0%, 
        rgba(2, 6, 23, 0.8) 35%, 
        rgba(2, 6, 23, 0.25) 70%, 
        transparent 100%
    );
}

.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 2;
    margin-left: 0; /* Sayfanın en soluna yaslar */
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.highlight {
    color: var(--accent-light);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   TRUST STATS
========================================= */
.trust-stats {
    background-color: var(--primary);
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   SECTION HEADERS
========================================= */
.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.service-card {
    background-color: var(--primary-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    background-color: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

/* =========================================
   BRANDS MARQUEE
========================================= */
.dark-section {
    background-color: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.brands-title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.brands-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.brands-track {
    display: flex;
    width: calc(200px * 10); /* Adjust based on num images */
    animation: scroll 30s linear infinite;
    align-items: center;
}

.brands-track img {
    width: 180px;
    margin: 0 2rem;
    padding: 1rem;
    background-color: white;
    border-radius: var(--radius);
    opacity: 0.9;
    transition: var(--transition);
    object-fit: contain;
    height: 80px;
}

.brands-track img:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 5)); }
}

/* =========================================
   PORTFOLIO
========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background-color: var(--primary-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

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

.portfolio-img {
    height: 250px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-content .location {
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.mt-5 {
    margin-top: 3rem;
}

/* =========================================
   WHY US
========================================= */
.why-us {
    background-color: var(--primary);
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2,6,23,0.8), transparent);
    z-index: 1;
}

.why-img img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

.why-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.why-content > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.why-list {
    list-style: none;
}

.why-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.why-list i {
    color: var(--accent-light);
    font-size: 1.25rem;
    margin-top: 3px;
}

.why-list strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.why-list div {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =========================================
   REGIONAL SEO
========================================= */
.seo-box {
    background-color: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.seo-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
}

.seo-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.seo-box strong {
    color: white;
    font-weight: 600;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tags span {
    background-color: var(--primary);
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   FAQ / SEO BLOG
========================================= */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.faq-card {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.faq-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
}

.faq-card h4 {
    font-size: 1.15rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.faq-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: rgba(59, 130, 246, 0.5);
}

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

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
    gap: 3rem;
    padding: 5rem 1.5rem;
}

.footer-logo {
    height: 60px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--accent-light);
    margin-top: 4px;
}

.footer-bottom {
    background-color: #000;
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =========================================
   CALCULATOR CTA SECTION
 ========================================= */
.calculator-cta {
    background-color: var(--primary);
    position: relative;
    overflow: hidden;
}

.calc-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.calc-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.calc-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--accent-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.calc-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 1.5rem;
    color: white;
    font-family: var(--font-heading);
}

.calc-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.calc-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .calc-box {
        padding: 3rem 1.5rem;
    }
    
    .calc-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .calc-buttons .btn {
        width: 100%;
    }
}

/* =========================================
   FLOATING BUTTONS
========================================= */
.floating-whatsapp, .floating-phone {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp {
    bottom: 20px;
    background-color: var(--whatsapp);
}

.floating-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: scale(1.1);
}

.d-mobile-only {
    display: none;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 992px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-bg img {
        object-position: 70% center; /* Mobil ekranlarda ısı pompasını kadraja sığdıracak şekilde hizalar */
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(2, 6, 23, 0.6) 0%, rgba(2, 6, 23, 0.95) 100%);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .d-mobile-only {
        display: flex;
        bottom: 90px;
        background-color: var(--accent);
    }
    
    .seo-box {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}
