:root {
    --primary-color: #2d5a27;
    /* Koyu Yaprak Yeşili */
    --secondary-color: #4a7c44;
    /* Canlı Bahçe Yeşili */
    --accent-color: #f1c40f;
    /* Güneş Sarısı - Vurgular için */
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #f9fbf9;
    --bg-dark: #1e272e;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Nav */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

nav ul li {
    position: relative;
    margin-left: 30px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 10px;
    padding: 10px 0;
    list-style: none;
    display: block !important;
    /* Ensure it overrides display flex of main nav */
}

.submenu li {
    margin: 0 !important;
}

.submenu li a {
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.submenu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-wrapper nav {
    padding: 0;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-right: 20px;
}

.lang-switcher a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.lang-switcher a.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.lang-switcher a:hover:not(.active) {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-wrapper {
    flex-direction: row-reverse;
}

[dir="rtl"] nav ul {
    flex-direction: row-reverse;
}

[dir="rtl"] nav ul li {
    margin-left: 0;
    margin-right: 30px;
}

[dir="rtl"] .header-cta {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher {
    margin-right: 0;
    margin-left: 20px;
    flex-direction: row-reverse;
}

[dir="rtl"] .hero {
    text-align: right;
}

[dir="rtl"] .btn-outline {
    margin-left: 0 !important;
    margin-right: 15px;
}

[dir="rtl"] .footer-contact i {
    margin-right: 0;
    margin-left: 10px;
}

/* Components */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 90, 39, 0.3);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../images/hero-peyzaj-istanbul.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    nav ul {
        display: none;
    }

    /* Mobile menu toggle needed */
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

/* Service Detail Styles */
.service-detail {
    padding: 100px 0;
}

.service-text h1 {
    font-size: 3rem;
    margin: 1rem 0;
}

.benefit-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.service-content h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 3rem;
}

.category-card {
    transition: var(--transition);
    background: #fff;
}

.category-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.category-card ul li {
    margin-bottom: 12px;
}

.category-card ul li a {
    color: var(--text-dark);
    display: block;
}

.category-card ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* Responsive Grid 2 for details */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .service-text {
        text-align: center;
    }
}