/* ===== CSS ROOT VARIABLES ===== */
:root {
    /* Main Color Palette */
    --primary-color: #95D2B3;          /* Soft green - buttons & accents */
    --primary-dark: #7bc49a;           /* Darker shade of primary */
    --secondary-color: #75b168;        /* Light green - headings & footer */
    --secondary-dark: #c8e6c1;         /* Darker shade of secondary */
    --accent-color: #F1F8E8;           /* Very light green - sections */
    --accent-dark: #e8f0d8;            /* Darker shade of accent */
    --background-light: #ffffff;       /* White - main background */
    --background-white: #ffffff;       /* Pure white */
    --complementary: #95D2B3;          /* Complementary green tone */
    --complementary-dark: #7bc49a;     /* Darker complementary */
    
    /* Text Colors */
    --text-primary: #000000;           /* Main text color - Black */
    --text-secondary: #000000;         /* Secondary text - Black */
    --text-light: #333333;             /* Light text - Dark gray */
    --text-white: #ffffff;             /* White text */
    --text-muted: #000000;             /* Muted text - Black */
    
    /* Gradient Variables */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    --gradient-hero: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-complementary: linear-gradient(135deg, var(--complementary), var(--complementary-dark));
    --gradient-page-header: linear-gradient(#B2C9AD);
    
    /* Shadow Variables */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 15px 35px rgba(214, 169, 157, 0.3);
    
    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --radius-xl: 30px;
    --radius-round: 50%;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Typography */
    --font-primary: 'Merriweather', serif;
    --font-heading: 'Merriweather', serif;
    --font-size-xs: 0.8rem;
    --font-size-sm: 0.9rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.2rem;
    --font-size-2xl: 1.4rem;
    --font-size-3xl: 1.8rem;
    --font-size-4xl: 2.2rem;
    --font-size-5xl: 2.8rem;
    --font-size-6xl: 3.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

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

html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-primary);
    background-color: var(--background-light);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
  }
  
  .container {
    
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-6xl); font-weight: 700; }
h2 { font-size: 2.5rem; }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-base); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: var(--radius-small);
    font-weight: 500;
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-base);
}

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

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-small);
    font-weight: 500;
    transition: var(--transition-normal);
}

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

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* ===== HEADER & NAVIGATION ===== */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-link:focus {
    outline: none;
}

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

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

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateY(0);
    will-change: transform;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 120%; /* Parallax için extra alan */
    object-fit: cover;
    object-position: center;
    transform: translateY(0) scale(1);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.1s ease-out;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(0);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-content .btn-primary {
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

/* ===== MAIN CONTENT CONTAINER ===== */
.main-content {
    position: relative;
    width: 100%;
    background: var(--background-light);
}

/* ===== SECTION STYLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== INTERACTIVE SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--background-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-options {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    min-width: 800px;
    max-width: 1200px;
    width: calc(100% - 80px);
    height: 500px;
    margin-top: 2rem;
}

.service-option {
    position: relative;
    overflow: hidden;
    min-width: 80px;
    margin: 10px;
    background: var(--optionBackground, var(--primary-color));
    cursor: pointer;
    transition: var(--transition-bounce);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-medium);
}

.service-option.active {
    flex-grow: 10000;
    transform: scale(1);
    max-width: 800px;
    margin: 0px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-heavy);
}

.service-option.active .service-shadow {
    display: none;
}

.service-option.active .service-label {
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-50%);
}

.service-option.active .service-info > div {
    left: 0px;
    opacity: 1;
}

.service-option:not(.active) {
    flex-grow: 1;
    border-radius: var(--radius-xl);
}

.service-option:not(.active) .service-shadow {
    display: none;
}

.service-option:not(.active) .service-label {
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
}

.service-option:not(.active) .service-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-option:not(.active) .service-info .service-main {
    left: 0px;
    opacity: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    text-align: center;
    line-height: 1.2;
    margin-left: 0;
}

.service-option:not(.active) .service-info .service-sub {
    display: none;
}

.service-option:not(.active) .service-icon {
    margin-bottom: 5px;
    margin-right: 0;
    min-width: 26px;
    max-width: 26px;
    height: 26px;
}

.service-shadow {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 150px;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.service-label {
    display: flex;
    position: absolute;
    right: 0px;
    left: 0px;
    height: auto;
    min-height: 60px;
    justify-content: center;
    align-items: center;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.service-icon {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 35px;
    max-width: 35px;
    height: 35px;
    border-radius: var(--radius-round);
    background-color: var(--background-white);
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.service-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    margin-left: 0px;
    color: var(--text-white);
    white-space: pre-wrap;
}

.service-info > div {
    position: relative;
    transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
}

.service-main {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: var(--font-size-lg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: var(--text-white);
}

.service-sub {
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    transition-delay: 0.1s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
    max-width: 450px;
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Services */
@media screen and (max-width: 1024px) {
    .service-options {
        min-width: 700px;
        height: 450px;
    }
}

@media screen and (max-width: 900px) {
    .service-options {
        min-width: 600px;
        height: 400px;
    }
    .service-option:nth-child(5) {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .service-options {
        min-width: 500px;
        height: 350px;
    }
    .service-option:nth-child(4) {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .service-options {
        min-width: 400px;
        height: 300px;
    }
    .service-option:nth-child(3) {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .service-options {
        min-width: 300px;
        height: 250px;
    }
    .service-option:nth-child(2) {
        display: none;
    }
}

/* Legacy service styles for other pages */
.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(214, 218, 200, 0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--accent-color); /* light green-gray */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

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

.about-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* ===== BLOG PREVIEW SECTION ===== */
.blog-preview {
    padding: 100px 0;
    background: var(--background-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

.blog-content {
    padding: 1.5rem;
}

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

.blog-title {
    font-size: 1.3rem;
    margin: 0.5rem 0;
    color: var(--secondary-color);
}

.blog-excerpt {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-dark);
}

.blog-cta {
    text-align: center;
  }
  
/* ===== CONTACT PREVIEW SECTION ===== */
.contact-preview {
    padding: 100px 0;
    background: var(--accent-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--secondary-color);
}

.contact-details p {
    color: var(--text-primary);
    margin: 0;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

/* ===== FOOTER ===== */
.footer {
    background: #66785F;
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footergrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footergrain)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    animation: fadeInUp 0.6s ease-out both;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-section:nth-child(4) {
    animation-delay: 0.4s;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after,
.footer-section:hover h4::after {
    width: 60px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.footer-contact p:hover {
    transform: translateX(5px);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link svg {
    position: relative;
    z-index: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.legal-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.legal-link:hover {
    color: white;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100vh);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    
    /* Grid layouts */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .contact-buttons {
        justify-content: center;
    }
    
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
    
    /* Spacing */
    .services,
    .about,
    .blog-preview,
    .contact-preview {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .service-card,
    .blog-card {
        margin: 0 10px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .btn-primary.btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ===== FAQ ACCORDION STYLES ===== */
.faq {
    padding: var(--spacing-xxl) 0;
    background: var(--background-white);
}

.faq-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background-light);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    background: var(--background-light);
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: var(--accent-color);
}

.faq-question h3 {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    padding-right: 1rem;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-round);
    font-size: var(--font-size-xl);
    font-weight: bold;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
    background: var(--background-white);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: var(--font-size-base);
    }
    
    .faq-answer p {
        padding: 1rem 1.5rem;
    }
    
    .faq-toggle {
        width: 25px;
        height: 25px;
        font-size: var(--font-size-lg);
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both; /* Animasyon sonrası durumu koru */
}

/* Animasyonlu elementlerin başlangıç durumu */
.service-card,
.blog-card,
.about-content,
.contact-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animasyonlu elementlerin aktif durumu */
.fade-in-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== LOADING STATES ===== */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
}

/* ===== RTL (RIGHT-TO-LEFT) SUPPORT FOR ARABIC ===== */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Text alignment */
[dir="rtl"] p,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    text-align: right;
}

/* Header & Navigation */
[dir="rtl"] .navbar {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo {
    margin-right: 0;
}

[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-link::after {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1.5rem;
}

/* Hero Section */
[dir="rtl"] .hero-content {
    text-align: right;
}

/* Services */
[dir="rtl"] .service-option {
    transform: scaleX(-1);
}

[dir="rtl"] .service-label {
    transform: scaleX(-1);
}

[dir="rtl"] .service-icon {
    margin-right: 0;
    margin-left: 1rem;
}

/* Blog Grid */
[dir="rtl"] .blog-card {
    text-align: right;
}

[dir="rtl"] .blog-link {
    text-align: right;
}

[dir="rtl"] .blog-link::after {
    content: '←';
    margin-right: 0.5rem;
    margin-left: 0;
}

/* Forms */
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
    text-align: right;
}

[dir="rtl"] .checkbox-item,
[dir="rtl"] .radio-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .checkmark,
[dir="rtl"] .radio-mark {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Contact */
[dir="rtl"] .contact-content {
    text-align: right;
}

[dir="rtl"] .simple-info-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .simple-info-item strong {
    text-align: right;
}

/* Footer */
[dir="rtl"] .footer-content {
    direction: rtl;
}

[dir="rtl"] .footer-section {
    text-align: right;
}

[dir="rtl"] .footer-links a::before {
    right: auto;
    left: -20px;
}

[dir="rtl"] .footer-links li:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .footer-contact p:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .social-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

/* Breadcrumb */
[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
}

[dir="rtl"] .breadcrumb-separator {
    transform: scaleX(-1);
}

/* About Page */
[dir="rtl"] .about-intro {
    direction: rtl;
}

[dir="rtl"] .about-intro-text {
    text-align: right;
}

[dir="rtl"] .timeline::before {
    left: auto;
    right: 20px;
}

[dir="rtl"] .timeline-item {
    padding-left: 0;
    padding-right: 60px;
}

[dir="rtl"] .timeline-item::before {
    left: auto;
    right: 11px;
}

/* Blog Detail */
[dir="rtl"] .blog-detail-header,
[dir="rtl"] .blog-article {
    text-align: right;
}

[dir="rtl"] .blog-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .blog-author {
    flex-direction: row-reverse;
}

[dir="rtl"] .author-info {
    flex-direction: row-reverse;
}

/* Featured Post */
[dir="rtl"] .featured-article {
    direction: rtl;
}

[dir="rtl"] .featured-meta {
    flex-direction: row-reverse;
}

/* FAQ */
[dir="rtl"] .faq-question {
    flex-direction: row-reverse;
}

[dir="rtl"] .faq-answer {
    text-align: right;
}

/* WhatsApp Widget */
[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 24px;
}

[dir="rtl"] .whatsapp-chat-box {
    right: auto;
    left: 24px;
}

[dir="rtl"] .chat-header-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .whatsapp-chat-footer {
    flex-direction: row-reverse;
}

/* Buttons */
[dir="rtl"] .btn-primary,
[dir="rtl"] .btn-secondary {
    text-align: center;
}

/* Section Headers */
[dir="rtl"] .section-header {
    text-align: right;
}

[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle {
    text-align: center;
}

/* Grid Layouts - maintain RTL for proper grid flow */
[dir="rtl"] .service-options,
[dir="rtl"] .blog-grid,
[dir="rtl"] .services-grid {
    direction: rtl;
}

/* List items */
[dir="rtl"] ul,
[dir="rtl"] ol {
    padding-right: 2rem;
    padding-left: 0;
}

[dir="rtl"] .blog-article ul,
[dir="rtl"] .blog-article ol {
    padding-right: 2rem;
    padding-left: 0;
}

/* Specialty cards */
[dir="rtl"] .specialization-card,
[dir="rtl"] .service-card {
    text-align: right;
}

/* Contact form alignment */
[dir="rtl"] .contact-form h3 {
    text-align: right;
}

/* Emergency contact */
[dir="rtl"] .emergency-card {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .emergency-numbers {
    direction: rtl;
}

/* Mobile menu RTL */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        right: auto;
        left: 0;
        transform: translateX(-100%);
    }
    
    [dir="rtl"] .nav-menu.active {
        transform: translateX(0);
    }
    
    [dir="rtl"] .hamburger {
        left: 0;
        right: auto;
    }
    
    [dir="rtl"] .whatsapp-float {
        left: 20px;
        right: auto;
    }
    
    [dir="rtl"] .whatsapp-chat-box {
        left: 16px;
        right: auto;
    }
}

/* Arabic Font Support */
[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
    font-family: 'Merriweather', 'Tajawal', 'Cairo', 'Arial', 'Tahoma', serif;
}

/* Arrow indicators for RTL */
[dir="rtl"] .post-link::after,
[dir="rtl"] .blog-link::after {
    content: ' ←';
}

[dir="rtl"] .lang-arrow {
    transform: scaleX(-1);
}

/* Form row RTL */
[dir="rtl"] .form-row {
    direction: rtl;
}

/* Notification RTL */
[dir="rtl"] .notification {
    right: auto;
    left: 20px;
    text-align: right;
}

/* Page header RTL */
[dir="rtl"] .page-header-content {
    text-align: center;
}

/* Stats RTL */
[dir="rtl"] .about-stats {
    direction: rtl;
}

/* Category filters RTL */
[dir="rtl"] .category-filters {
    direction: rtl;
}

/* Tips and techniques RTL */
[dir="rtl"] .technique-box,
[dir="rtl"] .tip-item {
    text-align: right;
}

/* CTA Section RTL */
[dir="rtl"] .cta-content {
    text-align: center;
}

[dir="rtl"] .cta-buttons {
    direction: rtl;
}

/* Margin and padding adjustments for RTL */
[dir="rtl"] .service-info {
    margin-right: 0;
    margin-left: 1rem;
}

/* Language switcher menu RTL */
[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-option {
    flex-direction: row-reverse;
}

/* Icon adjustments for RTL */
[dir="rtl"] .feature-icon {
    margin-right: 0;
    margin-left: 1rem;
}

/* Navigation link spacing RTL */
[dir="rtl"] .nav-item {
    margin-left: 0;
    margin-right: 2rem;
}

[dir="rtl"] .nav-item:last-child {
    margin-right: 0;
}

/* Author info RTL */
[dir="rtl"] .author-details {
    text-align: right;
}

/* Related posts RTL */
[dir="rtl"] .related-post {
    flex-direction: row-reverse;
}

/* Tags RTL */
[dir="rtl"] .article-tags {
    text-align: right;
}

[dir="rtl"] .tag {
    margin-left: 0.5rem;
    margin-right: 0;
}

/* Skip link RTL */
[dir="rtl"] .skip-link {
    left: auto;
    right: 6px;
}

/* Service option not active RTL */
[dir="rtl"] .service-option:not(.active) .service-label {
    left: auto;
    right: 10px;
}

/* Load more section RTL */
[dir="rtl"] .load-more-section {
    text-align: center;
}

/* Blog CTA RTL */
[dir="rtl"] .blog-cta {
    text-align: center;
}

/* Contact buttons RTL */
[dir="rtl"] .contact-buttons {
    direction: rtl;
}

/* Form submit RTL */
[dir="rtl"] .form-submit {
    text-align: center;
}
/* Privacy checkbox RTL */
[dir="rtl"] .privacy-checkbox {
    text-align: right;
}

/* Emergency icon RTL */
[dir="rtl"] .emergency-icon {
    margin-left: 2rem;
    margin-right: 0;
}
