/*
Theme Name: Tarsus Prefabrik
Theme URI: https://tarsusprefabrik.com
Author: Tarsus Prefabrik
Author URI: https://tarsusprefabrik.com
Description: Tarsus Prefabrik için özel tasarlanmış modern tek sayfa WordPress teması. Elementor uyumlu, mobil duyarlı, tek sayfa tasarım. Beyaz ve çelik mavisi renk şeması.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tarsus-prefabrik
Tags: one-page, elementor, prefabrik, construction, business, responsive, full-width-template, custom-colors, custom-menu, featured-images, footer-widgets, translation-ready
*/

/* === TEMEL DEĞİŞKENLER === */
:root {
    --color-primary: #FFFFFF;
    --color-secondary: #1B4F8A;
    --color-secondary-dark: #143D6E;
    --color-secondary-light: #2563AB;
    --color-accent: #2563AB;
    --color-accent-light: #3B82F6;
    --color-dark: #0F1B2D;
    --color-dark-2: #1A2B3C;
    --color-gray-light: #F4F7FB;
    --color-gray: #8FA3B1;
    --color-text: #2D3748;
    --color-text-light: #5A6677;
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1DA851;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(27, 79, 138, 0.08);
    --shadow-md: 0 8px 24px rgba(27, 79, 138, 0.12);
    --shadow-lg: 0 16px 48px rgba(27, 79, 138, 0.18);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-max: 1200px;
    --header-height: 80px;
}

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

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

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

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

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

ul {
    list-style: none;
}

/* === ELEMENTOR UYUMU === */
.elementor-section-wrap > .elementor-section:first-child,
.elementor-section-wrap > section:first-child {
    margin-top: 0;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

/* === GLOBAL YARDIMCI SINIFLAR === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 36px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-secondary);
    background: rgba(27, 79, 138, 0.08);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

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

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

/* === BUTONLAR === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 79, 138, 0.35);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

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

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

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

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

.btn-accent:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    color: white;
}

/* === HEADER === */
#site-header {
    position: fixed;
    top: 10px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    height: var(--header-height);
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(27, 79, 138, 0.08);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(27, 79, 138, 0.08);
    transition: var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 4px 24px rgba(27, 79, 138, 0.18);
    background: #ffffff;
}

#site-header.header-transparent {
    background: transparent;
    border-bottom-color: transparent;
}

#site-header.header-transparent .site-logo-text {
    color: white;
}

#site-header.header-transparent .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
}

#site-header.header-transparent .nav-menu a:hover {
    color: white;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-heading);
    letter-spacing: -1px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27, 79, 138, 0.3);
}

.site-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--color-dark);
    line-height: 1.1;
    transition: var(--transition);
}

.site-logo-text span {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-secondary);
    background: rgba(27, 79, 138, 0.06);
}

.nav-cta {
    background: var(--color-secondary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: var(--border-radius) !important;
}

.nav-cta:hover {
    background: var(--color-secondary-dark) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-dark-2);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    filter: blur(2px) brightness(0.70);
    transition: transform 8s ease-out, filter 0.5s ease;
    z-index: 1;
}

#hero.loaded .hero-bg {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.90) 0%,
        rgba(20, 45, 80, 0.65) 50%,
        rgba(10, 22, 40, 0.85) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: calc(var(--header-height) + 80px) 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 5.5vw, 56px);
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease-out 0.1s both;
    max-width: 750px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
}

.hero-title .highlight {
    color: var(--color-accent);
    position: relative;
}

.hero-description {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.95);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.7s ease-out 0.2s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

.hero-stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-item .stat-number span {
    color: var(--color-accent);
}

.hero-stat-item .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* === HAKKIMIZDA === */
#hakkimizda {
    padding: 50px 0;
    background: var(--color-primary);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.about-badge-float {
    position: absolute;
    top: 30px;
    left: -30px;
    background: var(--color-secondary);
    color: white;
    padding: 20px 24px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge-float .badge-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: var(--color-accent);
}

.about-badge-float .badge-text {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 4px;
}

.about-content {
    padding-left: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    width: 42px;
    height: 42px;
    background: rgba(27, 79, 138, 0.08);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-secondary);
    font-size: 18px;
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* === HİZMETLER === */
#hizmetler {
    padding: 50px 0;
    background: var(--color-gray-light);
}

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

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

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

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-card-image-wrapper {
    overflow: hidden;
    position: relative;
}

.service-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-content {
    padding: 28px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(27, 79, 138, 0.3);
}

.service-card-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.service-card-content p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
    color: var(--color-secondary-dark);
}

/* === NEDEN BİZ === */
#neden-biz {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-secondary) 100%);
    position: relative;
    overflow: hidden;
}

#neden-biz::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

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

.why-us-content .section-title {
    color: white;
}

.why-us-content .section-subtitle {
    color: rgba(255, 255, 255, 0.90);
}

.why-us-content .section-label {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.why-item-icon {
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.why-item h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.why-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-4px);
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-number span {
    color: var(--color-accent);
}

.stat-card .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.90);
    font-weight: 500;
}

/* === GALERİ === */
#galeri {
    padding: 50px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 79, 138, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-text {
    color: white;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
}

/* === İLETİŞİM === */
#iletisim {
    padding: 50px 0;
    background: var(--color-gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
}

.contact-card:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: white;
}

.contact-card-icon.blue { background: var(--color-secondary); }
.contact-card-icon.green { background: var(--color-whatsapp); }
.contact-card-icon.orange { background: var(--color-accent); }
.contact-card-icon.gray { background: var(--color-text-light); }

.contact-card-content {
    flex: 1;
}

.contact-card-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-card-value {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.3;
}

.contact-card-value small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-light);
    margin-top: 2px;
}

.contact-social {
    margin-top: 28px;
}

.contact-social p {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--color-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

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

.contact-form-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 16px;
    border: 2px solid rgba(27, 79, 138, 0.12);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-gray-light);
    transition: var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-secondary);
    background: white;
    box-shadow: 0 0 0 3px rgba(27, 79, 138, 0.08);
}

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

.form-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.form-submit-note {
    font-size: 12px;
    color: var(--color-text-light);
}

/* === MAP === */
.map-wrapper {
    margin-top: 60px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 350px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* === FOOTER === */
#site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .site-logo {
    margin-bottom: 16px;
}

.footer-brand .site-logo-text {
    color: white;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--color-accent);
    font-size: 16px;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact-icon {
    color: var(--color-accent);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a,
.footer-contact-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    transition: var(--transition);
}

.footer-contact-item a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p span {
    color: var(--color-accent);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}

.whatsapp-float-btn::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    opacity: 0.25;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.25; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    background: white;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* === ANİMASYONLAR === */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.85), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* === MOBİL RESPONSIVE === */
@media (max-width: 1024px) {
    .about-grid,
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-accent {
        display: none;
    }

    .about-badge-float {
        top: 20px;
        left: 20px;
    }

    .about-content {
        padding-left: 0;
    }

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

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

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

}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    /* Mobil container - yan boşluk */
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 25px 0;
    }

    /* Header mobilde üste yapışık, küçük margin */
    #site-header {
        top: 6px;
        left: 8px;
        right: 8px;
        border-radius: 12px;
        height: var(--header-height);
    }

    /* Logo küçültme - sığması için */
    .site-logo-text {
        font-size: 13px !important;
    }
    
    .site-logo-text span {
        font-size: 8px !important;
        letter-spacing: 0.2px !important;
    }

    .site-logo-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
    }

    .header-inner {
        padding: 0 12px !important;
        height: var(--header-height) !important;
    }

    /* Mobil nav menü asılı tasarım */
    .nav-menu {
        display: none;
        position: fixed;
        top: calc(var(--header-height) + 12px) !important;
        left: 8px !important;
        right: 8px !important;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border: 1px solid rgba(27, 79, 138, 0.08);
        border-radius: 12px;
        gap: 6px;
        z-index: 999;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hakkımızda görseli mobil yükseklik sınırı */
    .about-image-main {
        height: 280px;
        object-fit: cover;
    }

    .about-badge-float {
        padding: 12px 16px;
        top: 15px;
        left: 15px;
    }

    .about-badge-float .badge-number {
        font-size: 24px;
    }

    .hero-content {
        padding: calc(var(--header-height) + 32px) 16px 40px !important;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(24px, 5.2vw, 38px) !important;
        margin-bottom: 16px !important;
    }

    .hero-description {
        font-size: 15px !important;
        margin-bottom: 28px !important;
    }

    .hero-buttons {
        gap: 12px !important;
    }

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

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

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

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

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

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

    .form-group.full {
        grid-column: span 1;
    }

    .header-inner {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    /* Container yan boşluk - küçük ekranlarda */
    .container {
        padding: 0 14px;
    }

    .section-padding {
        padding: 20px 0;
    }

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

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

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .gallery-item:nth-child(1) {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

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

    .whatsapp-float {
        bottom: 20px;
        right: 16px;
    }

    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* Elementor override supports */
.elementor-kit-tag body {
    font-family: var(--font-body);
}

/* Neden Biz metin kontrastını zorunlu beyaz yapma */
#neden-biz .section-title,
#neden-biz .section-title span,
#neden-biz .section-subtitle {
    color: white !important;
}
