/* 
    ÇınarDere Kurban 2026 - Modernized Bootstrap Theme 
    Primary Color: Emerald Green (#1B7A3D)
    Secondary Color: Luxury Gold Gradient
*/

:root {
    --emerald: #1B7A3D;
    --emerald-dark: #145c2e;
    --emerald-light: #e8f5ed;
    --gold: #D4AF37;
    --gold-gradient: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    --dark: #121212;
    --light: #f8f9fa;
    --white: #ffffff;
    --border-light: #eef1f4;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Core Styles */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px; /* Sabit navbar için tüm sectionlarda pay */
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: var(--font-heading);
}

/* Custom Spacing & Utility */
.py-lg-6 { padding-top: 6rem; padding-bottom: 6rem; }
.mw-700 { max-width: 700px; }
.mw-800 { max-width: 800px; }
.color-emerald { color: var(--emerald); }
.bg-emerald { background-color: var(--emerald) !important; }
.bg-emerald-dark { background-color: var(--emerald-dark) !important; }
.bg-emerald-light { background-color: var(--emerald-light) !important; }
.text-emerald { color: var(--emerald) !important; }

/* Buttons Customization */
.btn-emerald {
    background: var(--emerald);
    color: white;
    border: none;
    transition: var(--transition-smooth);
}
.btn-emerald:hover {
    background: var(--emerald-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 122, 61, 0.3);
}

.btn-emerald-lg {
    background: var(--emerald);
    color: white;
    padding: 1rem 2rem;
    border: none;
    transition: var(--transition-smooth);
}
.btn-emerald-lg:hover {
    background: var(--emerald-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(27, 122, 61, 0.3);
}

.btn-outline-white-lg {
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    transition: var(--transition-smooth);
}
.btn-outline-white-lg:hover {
    background: white;
    color: var(--emerald);
}

/* Navbar Scrolled state */
.navbar {
    padding: 15px 0;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}
.navbar.scrolled {
    padding: 10px 0;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition-smooth);
}
.nav-link:hover {
    color: var(--emerald);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('assets/hero_bg.png') center/cover no-repeat;
    position: relative;
    color: white;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(18, 18, 18, 0.85) 0%, rgba(20, 92, 46, 0.4) 100%);
}

.gold-text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--gold); /* Fallback */
}

/* Features/Services */
.transition-up {
    transition: var(--transition-smooth);
}
.transition-up:hover {
    transform: translateY(-10px);
}

.icon-circle {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Process Items */
.process-icon {
    width: 50px;
    height: 50px;
    background: var(--emerald);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-family: var(--font-body);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .process-row::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: var(--border-light);
        z-index: 1;
    }
}

/* Pricing Cards */
.price-card {
    transition: var(--transition-smooth);
}
.price-card:hover {
    transform: translateY(-10px);
}

.badge-popular {
    letter-spacing: 1px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Contact Form Styling */
.form-control:focus, .form-select:focus {
    border-color: var(--emerald);
    box-shadow: 0 0 0 0.25rem rgba(27, 122, 61, 0.1);
}

/* Footer Credits */
.bg-whatsapp { background-color: #25D366 !important; }

/* Mobile Optimization Fixes */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .display-4 { font-size: 2.5rem; }
    .display-3 { font-size: 2.8rem; }
    section { padding: 4rem 0 !important; }
    
    .mobile-bottom-bar {
        height: 70px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    }
    .bottom-item i { width: 22px; height: 22px; }
    .x-small { font-size: 0.65rem; }
    
    body { padding-bottom: 70px; } /* Space for bottom bar */
    
    .process-row .col-md-4, .process-row .col-md-6 {
        border-bottom: 1px solid var(--border-light);
    }
    .process-item { padding: 2rem 1rem !important; }
}

/* Wizard Customizations */
.wizard-card {
    background: var(--white);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee !important;
    position: relative;
    overflow: hidden;
}
.wizard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-color: #ccc !important;
}
.wizard-card.selected {
    border-color: var(--emerald) !important;
    border-width: 2px !important;
    background-color: var(--emerald-light) !important;
    box-shadow: 0 10px 25px rgba(27, 122, 61, 0.15) !important;
    transform: translateY(-3px) scale(1.02);
}
.wizard-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--emerald);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.wizard-card:active {
    transform: scale(0.95);
    transition: transform 0.1s;
}
.wizard-animal-img {
    transition: transform 0.3s ease;
}
.wizard-card:hover .wizard-animal-img {
    transform: scale(1.05);
}

/* Outline emerald button */
.btn-outline-emerald {
    border: 2px solid var(--emerald);
    color: var(--emerald);
    background: transparent;
    transition: var(--transition-smooth);
}
.btn-outline-emerald:hover {
    background: var(--emerald);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(27, 122, 61, 0.3);
}

/* Multi-step Logic display */
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Fix Overflow Issue */
.container, .container-fluid {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}
.col, [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Custom logo scaling */
.custom-logo {
    width: 65px;
    height: 65px;
    object-fit: contain; /* object-fit cover yerine contain daha iyi olabilir detaylar için */
    border-radius: 50%;
    border: 1px solid rgba(27, 122, 61, 0.2);
    transition: transform 0.3s;
}
.custom-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Ensure Navbar Brand doesn't overflow on small screens */
@media (max-width: 400px) {
    .main-brand { font-size: 1.1rem !important; }
    .logo-text { max-width: 150px; }
}

/* Remove manual overrides that might cause overflow */
.container { overflow: hidden; }
.row { margin-left: 0; margin-right: 0; }
.col, [class*="col-"] { padding-left: 10px; padding-right: 10px; }

/* Pricing Cards */
.price-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
}

/* Big Emerald CTA Button */
.btn-emerald-lg {
    background-color: var(--emerald);
    color: white;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-emerald-lg:hover {
    background-color: var(--emerald-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 122, 61, 0.4);
}
