@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    /* Premium Color Palette */
    --primary-green: #0B3F2E;
    --primary-light: #1A5C45;
    --secondary-taupe: #C4B59E;
    --secondary-gold: #D4AF37;
    --accent-cream: #F9F7F2;
    --bg-white: #FFFFFF;
    --text-charcoal: #2C2C2C;
    --text-light: #666666;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

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

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 0 50px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

header.scrolled {
    height: 75px;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    transition: var(--transition);
}

header.scrolled .logo-img {
    height: 45px;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

header.scrolled .brand-text {
    font-size: 1.4rem;
}

/* Menu Button */
.btn-menu {
    border: 1px solid var(--primary-green);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--primary-green) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    background: transparent;
}

.btn-menu:hover {
    background-color: var(--primary-green);
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(11, 63, 46, 0.2);
}

/* --- HERO SLIDER --- */
.slider-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background-color: var(--primary-green);
    margin-top: 100px;
    /* Header height */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: var(--bg-desktop);
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s ease;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

/* DÜZENLENEN KISIM: Fotoğraf Karartması Tamamen İptal Edildi */
.slide::after {
    display: none;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 80%;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    color: white;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.8s;
    font-weight: 300;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* YENİ EKLENEN KISIM: SLIDER MANUEL KONTROL BUTONLARI */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--primary-green);
    color: var(--secondary-gold);
    box-shadow: var(--shadow-md);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* --- SECTIONS GENERAL --- */
.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--accent-cream);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: var(--primary-green);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-taupe);
    margin: 15px auto 0;
}

/* --- SERVICE CARDS (GRID LAYOUT) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Desktop: 4 Kutu Yan Yana */
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    /* Link alt çizgisini kaldır */
    position: relative;
}

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

.card-img {
    aspect-ratio: 1 / 1;
    /* Kare Resim */
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-img {
    transform: scale(1.08);
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    text-align: center;
    /* Yazılar ortalı daha şık durur */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.3rem;
    /* Başlık biraz küçültüldü */
    margin-bottom: 10px;
    color: var(--primary-green);
    font-weight: 700;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Çok uzun metinleri 3 satırda kes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-content span {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-gold);
    font-weight: 600;
}

/* --- RESPONSIVE GRID --- */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        /* Büyük Tablet / Küçük Laptop: 3 Kutu */
    }
}

@media (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        /* Tablet: 2 Kutu Yan Yana */
    }
}

@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
        /* Mobil: Tek Kutu */
    }
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-green);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

footer a {
    color: var(--secondary-taupe);
}

footer a:hover {
    color: white;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .slider-container {
        height: 50vh;
    }

    .slide {
        background-image: var(--bg-mobile) !important;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .brand-text {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 40px;
    }

    .section {
        padding: 60px 0;
    }

    /* Mobilde ok butonlarını biraz küçültüyoruz */
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* --- UTILS --- */
.text-gold {
    color: var(--secondary-gold);
}

.btn-primary-custom {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    margin-top: 20px;
}

.btn-primary-custom:hover {
    background-color: var(--primary-light);
    color: white;
    box-shadow: var(--shadow-md);
}

/* --- FOOTER COMPONENTS --- */
.footer-contact-box {
    max-width: 800px;
    margin: 0 auto 50px auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-contact-box h2 {
    color: white;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 2rem;
}

.footer-info strong {
    display: block;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-info a {
    color: var(--secondary-taupe);
    text-decoration: none;
    transition: 0.3s;
}

.footer-info a:hover {
    color: white;
    text-decoration: underline;
}

.footer-social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social-links a {
    font-size: 24px;
    color: var(--secondary-taupe);
    transition: 0.3s ease;
}

.footer-social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* --- WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

/* --- COOKIE BANNER --- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: white;
    padding: 20px;
    z-index: 10001;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-btn-accept {
    background-color: #25d366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cookie-btn-accept:hover {
    background-color: #128C7E;
}