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

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --dark: #1d1d2c;
    --darker: #0f0f1a;
    --light: #f1faee;
    --gray: #8d99ae;
    --yellow: #ffd60a;
    --gradient: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-hover: 0 20px 40px rgba(230,57,70,0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #fafafa;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light);
    font-weight: 700;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
}

.logo-text h1 {
    font-size: 1.3rem;
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--yellow);
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    gap: 35px;
}

.nav a {
    color: var(--light);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

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

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

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

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

/* ========== HERO / PAGE HEADER ========== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15,15,26,0.9), rgba(29,29,44,0.85)),
                url('https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?w=1600') center/cover;
    display: flex;
    align-items: center;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(80px);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: rgba(230,57,70,0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    max-width: 550px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

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

/* ========== PAGE BANNER (iç sayfalar) ========== */
.page-banner {
    margin-top: 75px;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15,15,26,0.9), rgba(29,29,44,0.85)),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1600') center/cover;
    color: var(--light);
    text-align: center;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

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

.breadcrumb a { color: var(--yellow); }
.breadcrumb a:hover { color: var(--primary); }

/* ========== SECTIONS ========== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* ========== FEATURES GRID ========== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

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

/* ========== SERVICES GRID ========== */
.services-bg { background: #f5f5f7; }

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

.service-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}

.service-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 2;
}

.service-body {
    padding: 25px;
}

.service-body h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-body p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

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

.service-link:hover { gap: 15px; }

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

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

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--gradient);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.experience-badge strong {
    display: block;
    font-size: 2.5rem;
    line-height: 1;
}

.experience-badge span { font-size: 0.9rem; }

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.about-list {
    margin: 25px 0;
}

.about-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--dark);
}

.about-list li::before {
    content: '✓';
    width: 28px;
    height: 28px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    padding: 40px;
    background: var(--dark);
    border-radius: 20px;
    color: white;
}

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

.stat-item strong {
    display: block;
    font-size: 2.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.stat-item span {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    background: var(--dark);
    color: white;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(60px);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    position: relative;
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

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

.map-container {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== SERVICE DETAIL (Klima Gaz Dolumu) ========== */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-detail-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.service-detail h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.service-detail p {
    color: var(--gray);
    margin-bottom: 15px;
}

.service-detail ul {
    margin: 20px 0;
}

.service-detail ul li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--dark);
}

.service-detail ul li::before {
    content: '❄';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.process-card {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.process-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.process-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========== CTA ========== */
.cta {
    background: var(--gradient);
    padding: 70px 0;
    text-align: center;
    color: white;
    margin: 60px 0 0;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.95;
}

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

.cta .btn:hover {
    background: var(--dark);
    color: white;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--darker);
    color: var(--gray);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-col p { margin-bottom: 15px; font-size: 0.95rem; }

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-col ul li a {
    transition: var(--transition);
}

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

.social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1rem;
}

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

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

.footer-bottom strong { color: var(--primary); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 999;
    animation: pulse 2s infinite;
    transition: var(--transition);
}

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

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

@keyframes pulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 5px 30px rgba(37,211,102,0.8); }
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid,
    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats { grid-template-columns: repeat(2, 1fr); }

    .about-image img,
    .service-detail-image img { height: 350px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--darker);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav.active { transform: translateY(0); }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .section { padding: 60px 0; }

    .footer-grid { grid-template-columns: 1fr; }

    .hero-buttons { flex-direction: column; width: 100%; }

    .hero-buttons .btn { justify-content: center; }
}

@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .stat-item strong { font-size: 2rem; }
    .contact-info, .contact-form { padding: 25px; }
}
