/* ========================
   Kırık Badem - Custom Styles
   ======================== */

/* General Styles */
:root {
    --primary-color: #198754;
    --secondary-color: #0d6efd;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --whatsapp-color: #25D366;
    --phone-color: #0088cc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #198754 0%, #0d6e3d 100%);
    min-height: 60vh;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.hover-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(25, 135, 84, 0.2) !important;
}

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(248, 249, 250, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #0d6e3d !important;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}

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

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

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

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #0d6e3d 100%);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #0d6e3d 0%, #198754 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.3);
}

.btn-light:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.phone-btn {
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
}

.floating-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    color: white;
    animation: none;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.phone-btn:hover {
    background: linear-gradient(135deg, #005580 0%, #0088cc 100%);
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

footer h5 {
    font-weight: 700;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #198754 0%, #0d6e3d 100%);
}

/* Content Box */
.content-box {
    background-color: #ffffff;
    border-left: 5px solid var(--primary-color);
}

.content-box h3,
.content-box h5 {
    color: var(--primary-color);
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: var(--primary-color);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Alert */
.alert-success {
    border-radius: 15px;
    border: none;
    background: linear-gradient(135deg, #d1f2dd 0%, #b8eccd 100%);
    color: #0d6e3d;
}

/* Icons */
.fa-seedling,
.fa-leaf {
    color: var(--primary-color);
}

/* Background Gradients */
.bg-gradient {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)) !important;
}

/* List Styles */
ul.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Text Shadow for Hero */
.hero-section h1,
.hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Contact Info Cards */
.contact-info-card {
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/* Responsive Typography */
@media (max-width: 576px) {
    .display-4 {
        font-size: 2.5rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 50vh;
    }

    .btn {
        padding: 0.6rem 1.5rem;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card,
.content-box {
    animation: fadeIn 0.6s ease-out;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0d6e3d;
}

/* SEO Content Styling */
.content-box strong {
    color: var(--primary-color);
    font-weight: 700;
}

.content-box em {
    background-color: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Link Hover Effects */
a {
    transition: all 0.3s ease;
}

a.text-success:hover {
    color: #0d6e3d !important;
    text-decoration: underline !important;
}

a.text-white:hover {
    opacity: 0.9;
}

/* Rounded Elements */
.rounded {
    border-radius: 15px !important;
}

/* Badge Styles */
.badge {
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 600;
}

/* Print Styles */
@media print {
    .floating-buttons,
    .navbar,
    footer {
        display: none !important;
    }

    .card {
        break-inside: avoid;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn,
    .card {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    /* Can be implemented later if needed */
}