/*
Theme Name: RAGEN - Geoteknik Mühendislik Teması
Description: RAGEN Piling Corp için özel olarak tasarlanmış modern, tek sayfa WordPress teması. Geoteknik mühendislik hizmetleri için optimize edilmiştir. v1.9 - Debug kırmızı arka plan eklendi.
Version: 1.11
Author: RAGEN Dev Team
Text Domain: ragen
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from Style Guide */
    --primary-navy: #1A2A3A;
    --secondary-gray: #D9D9D9;
    --accent-orange: #F28C28;
    --dark-gray: #3C3C3C;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Titillium Web', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(60px, 8vw, 120px);
    --container-padding: clamp(20px, 5vw, 80px);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
    text-align: justify;
}

/* Text justification for all paragraphs */
p {
    text-align: justify;
}

/* Headings should be left-aligned, not justified */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.founder-name,
.founder-title,
.project-title,
.service-title,
.projects-title {
    text-align: left !important;
}

/* Short texts that look bad with justify - keep left aligned */
.service-features li,
.contact-item p,
.contact-item h4,
.tech-feature,
.stat-label,
.stat-number {
    text-align: left !important;
}

/* Center-aligned elements should stay centered */
.section-header.centered,
.section-header.centered *,
.founders-note,
.founders-note p,
.service-card,
.service-card .service-icon,
.service-card .service-title {
    text-align: center !important;
}

/* Description texts */
.hero-description,
.about-description,
.section-description,
.who-we-are-description,
.tech-description,
.contact-description {
    text-align: justify !important;
}

/* Founder bio text */
.founder-bio,
.founder-bio p {
    text-align: justify !important;
}

/* Service descriptions */
.service-description {
    text-align: justify !important;
}

/* Project scope and descriptions */
.project-scope,
.project-scope p {
    text-align: justify !important;
}

/* Founders note - except this stays centered */
.founders-note p {
    text-align: center !important;
}

/* ========================================
   WHO WE ARE SECTION - BIZ KIMIZ
======================================== */

.who-we-are {
    padding: var(--section-padding) 0;
    background-color: var(--light-gray);
    position: relative;
}

.who-we-are .section-description {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.125rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* WHO WE ARE SECTION - PROPER STYLING */
.who-we-are {
    padding: var(--section-padding) 0 !important;
    background-color: var(--light-gray) !important;
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.who-we-are .section-description {
    max-width: 800px !important;
    margin: 0 auto 4rem !important;
    text-align: center !important;
    font-size: 1.125rem !important;
    color: var(--dark-gray) !important;
    line-height: 1.7 !important;
}

/* Founders Content - Same structure as about-content */
.founders-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: stretch !important;
    position: relative !important;
}

/* Mobile responsive - founders stacked vertically */
@media (max-width: 767px) {
    .founders-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    /* Hide orange separator on mobile */
    .founders-content::before {
        display: none !important;
    }
}

/* Orange separator between cards */
.founders-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-orange);
    transform: translateX(-50%);
    z-index: 1;
}

.founder-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(26, 42, 58, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-navy));
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(26, 42, 58, 0.15);
}

.founder-image {
    width: 200px !important;
    height: 250px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    border: 4px solid var(--accent-orange) !important;
    position: relative !important;
    margin-bottom: 1.5rem !important;
}

/* For 1080x1350 aspect ratio images */
.founder-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}


.founder-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-navy), var(--dark-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.founder-details {
    width: 100% !important;
    flex: 1 !important;
}

.who-we-are .founder-name {
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--primary-navy) !important;
    margin-bottom: 0.5rem !important;
    text-align: center !important;
}

.who-we-are .founder-title {
    display: block !important;
    font-size: 1rem !important;
    color: var(--accent-orange) !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.who-we-are .founder-bio {
    color: var(--dark-gray) !important;
    line-height: 1.7 !important;
    text-align: left !important;
    font-size: 0.95rem !important;
    font-family: var(--font-body) !important;
}

.who-we-are .founder-bio p {
    margin-bottom: 1rem !important;
    color: var(--dark-gray) !important;
    font-family: var(--font-body) !important;
    line-height: 1.7 !important;
}

.who-we-are .founder-bio p:last-child {
    margin-bottom: 0 !important;
}

/* Our Projects Section */
.our-projects-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.our-projects {
    margin-top: 2rem;
}

.projects-header {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-list {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-item {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--accent-orange);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.project-location {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-scope {
    color: var(--dark-gray);
    line-height: 1.6;
}

.project-scope ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.project-scope li {
    margin-bottom: 0.5rem;
}

.founders-note {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 3.5rem 2.5rem 2.5rem 2.5rem;
    text-align: center;
    font-style: italic;
    color: var(--dark-gray);
    border-top: 4px solid var(--primary-navy);
    margin-top: 2rem;
    overflow: visible;
    word-wrap: break-word;
}

.founders-note p {
    margin: 0;
    padding: 0 0 0 60px;
    text-indent: 0;
    position: relative;
    z-index: 2;
}

.projects-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-item {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 5px 20px rgba(26, 42, 58, 0.06);
    transition: var(--transition-smooth);
}

.project-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 42, 58, 0.12);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.project-location {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.project-scope {
    color: var(--dark-gray);
    line-height: 1.6;
}

.project-scope p {
    margin-bottom: 0.75rem;
}

.project-scope ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.project-scope li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-scope li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.project-scope li:last-child {
    margin-bottom: 0;
}

/* Founders Note */
.founders-note {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(26, 42, 58, 0.08);
    border: 2px solid var(--accent-orange);
    position: relative;
}

.founders-note::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 3rem;
    color: var(--accent-orange);
    font-family: Georgia, serif;
    background: transparent;
    z-index: 1;
    line-height: 1;
}

.founders-note p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .founders-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .founders-content::before {
        display: none;
    }
    
    .founder-card {
        padding: 2rem 1.5rem;
    }
    
    .founder-image {
        width: 150px;
        height: 190px;
    }
    
    .founder-name {
        font-size: 1.3rem;
    }
    
    .founder-bio {
        font-size: 0.9rem;
    }
    
    .projects-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-item {
        padding: 1.5rem;
    }
    
    .projects-title {
        font-size: 1.75rem;
    }
    
    .founders-note {
        padding: 2rem 1.5rem;
    }
    
    .founders-note::before {
        font-size: 3rem;
        left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .who-we-are {
        padding: 3rem 0;
    }
    
    .founders-grid {
        gap: 2rem;
    }
    
    .founder-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .founder-image {
        width: 130px;
        height: 165px;
    }
    
    .founder-name {
        font-size: 1.2rem;
    }
    
    .founder-bio {
        font-size: 0.85rem;
    }
    
    .project-item {
        padding: 1.25rem;
    }
    
    .projects-title {
        font-size: 1.5rem;
    }
    
    .who-we-are .section-description {
        margin-bottom: 2.5rem;
        font-size: 1rem;
    }
}

/* End of Who We Are Section */

/* WordPress specific styles */
.wp-admin-bar-showing {
    margin-top: 32px;
}

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 20px;
}

.wp-caption-text {
    font-size: 14px;
    color: var(--dark-gray);
    text-align: center;
    padding: 10px 0;
}

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

.text-accent {
    color: var(--accent-orange);
    position: relative;
}

/* Containers */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-navy);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(26, 42, 58, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px var(--container-padding);
    min-height: 70px; /* Navbar yüksekliğini ayarla */
}

.nav-logo .logo,
.nav-logo .custom-logo {
    height: 50px; /* Daha uygun boyut */
    width: auto;
    max-width: 250px;
    object-fit: contain; /* Logo oranını koru */
    vertical-align: middle; /* Dikey hizalama */
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo .custom-logo-link {
    display: inline-block;
    line-height: 1;
}

/* Responsive logo boyutları */
@media (max-width: 768px) {
    .nav-logo .logo,
    .nav-logo .custom-logo {
        height: 45px;
        max-width: 200px;
    }
    
    .nav-container {
        min-height: 70px;
        padding: 12px var(--container-padding);
    }
    
    .hero {
        padding-top: 100px; /* Mobilde daha az padding */
    }
}

@media (max-width: 480px) {
    .nav-logo .logo,
    .nav-logo .custom-logo {
        height: 35px;
        max-width: 150px;
    }
    
    .nav-container {
        min-height: 60px;
        padding: 10px var(--container-padding);
    }
    
    .hero {
        padding-top: 80px; /* Küçük ekranlarda daha az */
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-gray);
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition-smooth);
    position: relative;
    letter-spacing: 1px;
  
}

.nav-link:hover {
    color: var(--accent-orange);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-gray);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--section-padding) 0;
    padding-top: 110px; /* Navbar yüksekliği + extra padding */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 70vh;
}

.hero-text {
    animation: slideInFromLeft 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 30px;
    line-height: 1.1;
}

.title-main {
    display: block;
    color: var(--primary-navy);
}

.title-accent {
    display: block;
    color: var(--accent-orange);
    font-style: italic;
    transform: translateX(40px);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--dark-gray);
    max-width: 500px;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-bounce);
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 140, 40, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 42, 58, 0.3);
}

.hero-visual {
    position: relative;
    animation: slideInFromRight 1s ease-out;
}

.hero-image-container {
    position: relative;
    height: 600px;
}

.hero-image {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    z-index: 2;
}

.floating-image {
    width: 280px;
    height: 200px;
    object-fit: cover;
    right: -40px;
    bottom: 0;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary-navy);
    font-size: 14px;
    font-weight: 500;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--accent-orange);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-subtitle {
    display: block;
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.section-description p {
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background: var(--white);
    scroll-margin-top: 100px; /* Smooth scroll için üst boşluk */
}

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

.about-description {
    margin-bottom: 50px;
}

.about-description p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.stat-item {
    text-align: center;
    padding: 20px 0;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
}

.about-visual {
    position: relative;
}

.about-image-grid {
    position: relative;
    height: 500px;
}

.about-image {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.about-image.large {
    width: 70%;
    height: 350px;
    top: 0;
    left: 0;
    z-index: 2;
}

.about-image.small {
    width: 50%;
    height: 250px;
    bottom: 0;
    right: 0;
    z-index: 3;
    animation: float 8s ease-in-out infinite;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: var(--light-gray);
    scroll-margin-top: 100px; /* Smooth scroll için üst boşluk */
}

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

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-navy));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    background: var(--primary-navy);
    color: var(--white);
}

.service-card.featured .service-title,
.service-card.featured .service-description {
    color: var(--white);
}

.service-card.featured::before {
    background: var(--accent-orange);
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    color: var(--accent-orange);
    transition: var(--transition-smooth);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-orange);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-navy);
}

.service-description {
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    font-size: 16px;
}

/* Technologies Section */
.technologies {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.tech-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.tech-description {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tech-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.tech-feature:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 24px;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: var(--primary-navy);
    color: var(--white);
    scroll-margin-top: 100px; /* Smooth scroll için üst boşluk */
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-description {
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--secondary-gray);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(242, 140, 40, 0.1);
}

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

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.footer-logo .logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    :root {
        --container-padding: clamp(20px, 4vw, 60px);
    }
    
    .hero-content,
    .about-content,
    .tech-content,
    .contact-content {
        gap: 60px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-navy);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        box-shadow: 0 10px 27px rgba(26, 42, 58, 0.3);
        padding: 40px 0;
        gap: 20px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-content,
    .about-content,
    .tech-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image-container {
        height: 400px;
    }
    
    .main-image {
        height: 300px;
    }
    
    .floating-image {
        width: 200px;
        height: 150px;
        right: -20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
    
    .about-image-grid {
        height: 400px;
    }
    
    .about-image.large {
        height: 280px;
    }
    
    .about-image.small {
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: clamp(40px, 6vw, 80px);
        --container-padding: 20px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 25px;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
        padding: 15px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tech-features {
        gap: 15px;
    }
    
    .tech-feature {
        padding: 15px;
    }
}

/* ============================
   CONTACT FORM 7 MODERN STYLES
   ============================ */

/* Contact Form 7 Wrapper Styling */
.contact-form-wrapper {
    position: relative;
}

/* Contact Form 7 Labels and Text */
.wpcf7 label {
    color: var(--primary-navy) !important;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    display: block;
    font-family: var(--font-body);
}

.wpcf7 p {
    color: var(--dark-gray) !important;
    margin-bottom: 20px;
}

.wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

/* Contact Form 7 Main Container */
.wpcf7 {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Modern Gradient Border Effect */
.wpcf7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-navy));
    z-index: 1;
}

/* Form Elements Container */
.wpcf7-form {
    display: grid;
    gap: 25px;
}

/* Input, Select, Textarea Base Styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--secondary-gray);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font-body);
    font-weight: 400;
    transition: var(--transition-smooth);
    background: var(--white);
    color: var(--dark-gray);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* Focus States with Orange Theme */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.1), 0 4px 20px rgba(242, 140, 40, 0.1);
    transform: translateY(-2px);
}

/* Placeholder Styling */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #999;
    font-weight: 400;
}

/* Textarea Specific */
.wpcf7 textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Select Dropdown Styling */
.wpcf7 select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
}

.wpcf7 select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23F28C28' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Submit Button Styling */
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #e07b1f 100%);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
    min-width: 160px;
}

/* Submit Button Hover Effect */
.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover {
    background: linear-gradient(135deg, #e07b1f 0%, var(--accent-orange) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(242, 140, 40, 0.4);
}

/* Submit Button Active State */
.wpcf7 input[type="submit"]:active,
.wpcf7 .wpcf7-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.3);
}

/* Loading State */
.wpcf7-form.submitting .wpcf7-submit {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Response Messages */
.wpcf7-response-output {
    border: none !important;
    padding: 20px 25px;
    border-radius: 12px;
    margin: 25px 0 0 0 !important;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Error Message */
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam,
.wpcf7-validation-errors {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* Individual Field Error Styling */
.wpcf7-not-valid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Validation Error Text */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}

/* Ajax Loader */
.wpcf7-spinner {
    margin: 0 10px;
}

/* Form Group Layout for Multiple Fields */
.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Checkbox and Radio Styling */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    width: auto;
    margin-right: 10px;
    accent-color: var(--accent-orange);
}

/* File Upload Styling */
.wpcf7 input[type="file"] {
    padding: 15px 20px;
    border: 2px dashed var(--secondary-gray);
    border-radius: 12px;
    background: var(--light-gray);
    transition: var(--transition-smooth);
}

.wpcf7 input[type="file"]:hover {
    border-color: var(--accent-orange);
    background: rgba(242, 140, 40, 0.05);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .wpcf7 {
        padding: 30px 25px;
    }
    
    .wpcf7-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .wpcf7 input[type="submit"],
    .wpcf7 .wpcf7-submit {
        width: 100%;
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    .wpcf7 {
        padding: 25px 20px;
    }
    
    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 select,
    .wpcf7 textarea {
        padding: 16px 20px;
        font-size: 14px;
    }
}