/* Saklı Bahçe Esenköy - Aile Çay Bahçesi CSS */

/* Color Variables */
:root {
    --nature-green: #16a34a;
    --nature-green-light: #22c55e;
    --nature-green-dark: #15803d;
    --earth-brown: #92400e;
    --earth-brown-light: #a16207;
    --sand-yellow: #eab308;
    --sand-yellow-light: #facc15;
    --forest-green: #166534;
    --sky-blue: #0ea5e9;
    --sunset-orange: #ea580c;
    --grass-green: #65a30d;
}

/* Custom Properties */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #374151;
}

/* Typography */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Hero Section */
.teagarden-hero {
    min-height: 100dvh;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--nature-green) 50%, var(--grass-green) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.teagarden-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(234, 179, 8, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(22, 163, 74, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.teagarden-hero .hero-badge {
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
}

.teagarden-hero h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.teagarden-hero p {
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* Scroll Mouse Animation */
.scroll-mouse-teagarden {
    animation: bounce 2s infinite;
}

/* Service Cards */
.service-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5rem;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Facility Cards */
.facility-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 40;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-100%);
    opacity: 0;
    padding: 0.75rem 0;
}

.breadcrumb-nav.visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: breadcrumbSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.breadcrumb-nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
    animation: fadeInScale 0.6s ease forwards;
    animation-delay: calc(var(--item-index, 0) * 0.1s);
    opacity: 0;
    transform: scale(0.8);
}

.breadcrumb-nav a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav a:hover {
    color: #2d5a27;
    background: rgba(45, 90, 39, 0.08);
    border-color: rgba(45, 90, 39, 0.15);
    transform: translateY(-1px);
}

.breadcrumb-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2d5a27, #8bab2f);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.breadcrumb-nav a:hover::after {
    width: 80%;
}

.breadcrumb-nav a i {
    margin-right: 0.375rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

.breadcrumb-nav .text-primary {
    color: #2d5a27;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(139, 164, 47, 0.08) 100%);
    border: 1px solid rgba(45, 90, 39, 0.2);
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.breadcrumb-nav .text-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.breadcrumb-nav .text-primary:hover::before {
    left: 100%;
}

.breadcrumb-nav .fas.fa-chevron-right {
    color: #9ca3af;
    font-size: 0.7rem;
    margin: 0 0.25rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

@keyframes breadcrumbSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Section adjustments for breadcrumb */
.teagarden-hero {
    margin-top: 0;
    padding-top: 80px;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .teagarden-hero {
        padding-top: 100px;
    }
    
    .breadcrumb-nav {
        z-index: 40;
        top: 80px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.88) 100%);
        backdrop-filter: blur(16px);
        padding: 0.625rem 0;
    }
    
    .breadcrumb-nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .breadcrumb-nav .text-primary {
        font-size: 0.8rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .teagarden-hero {
        padding-top: 120px;
        min-height: 100dvh;
    }
    
    .breadcrumb-nav {
        top: 80px;
        padding: 0.65rem 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
        backdrop-filter: blur(18px);
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    }
    
    .breadcrumb-nav a,
    .breadcrumb-nav .text-primary {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Stats Animation */
.stats-container {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stats-number {
    transition: all 0.3s ease;
}

.stats-number.counting {
    transform: scale(1.1);
    color: var(--nature-green);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Button Styles */
.btn-nature {
    background: linear-gradient(135deg, var(--nature-green) 0%, var(--grass-green) 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-nature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-nature:hover::before {
    left: 100%;
}

.btn-nature:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3);
}

/* Section Backgrounds */
.nature-gradient-bg {
    background: linear-gradient(135deg, #f0fdf4 0%, #fefce8 50%, #f0fdf4 100%);
}

.earth-gradient-bg {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 50%, #fef3c7 100%);
}

/* Icon Styles */
.nature-icon {
    background: linear-gradient(135deg, var(--nature-green) 0%, var(--nature-green-light) 100%);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(22, 163, 74, 0.2);
    transition: all 0.3s ease;
}

.nature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.3);
}

/* Card Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Glass Morphism */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Nature Themed Gradients */
.nature-text-gradient {
    background: linear-gradient(135deg, var(--nature-green) 0%, var(--grass-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.earth-text-gradient {
    background: linear-gradient(135deg, var(--earth-brown) 0%, var(--sand-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .teagarden-hero {
        min-height: 90dvh;
        padding: 0;
        margin: 0;
    }
    
    .teagarden-hero h1 {
        font-size: 3.5rem;
        line-height: 1.1;
        margin-bottom: 2rem;
    }
    
    .teagarden-hero p {
        font-size: 1.25rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .teagarden-hero {
        min-height: 85dvh;
        padding: 0;
        margin: 0;
    }
    
    .teagarden-hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .teagarden-hero p {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .teagarden-hero .hero-badge {
        font-size: 0.875rem;
        padding: 12px 24px;
        margin-bottom: 1.5rem;
    }
    
    .service-card,
    .facility-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card:hover,
    .facility-card:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 640px) {
    .teagarden-hero {
        min-height: 80dvh;
        padding: 0;
        margin: 0;
    }
    
    .teagarden-hero .container {
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .teagarden-hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .teagarden-hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-badge {
        flex-direction: column;
        text-align: center;
        padding: 8px 16px;
    }
    
    .hero-badge i {
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
}

/* Performance Optimizations */
.service-card,
.facility-card,
.teagarden-hero {
    will-change: transform;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    animation: shimmer 1.5s infinite;
}

/* High Contrast and Accessibility */
@media (prefers-contrast: high) {
    .teagarden-hero {
        background: #166534;
    }
    
    .service-card,
    .facility-card {
        border: 2px solid #374151;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .service-card,
    .facility-card,
    .hero-badge {
        animation: none !important;
        transition: none !important;
    }
    
    .service-card:hover,
    .facility-card:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .teagarden-hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 20px 0;
    }
    
    .service-card,
    .facility-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus {
    outline: 3px solid var(--nature-green);
    outline-offset: 2px;
}

/* Scroll to Top Button - Tea Garden Theme */
#scroll-to-top {
    background: var(--nature-green) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3) !important;
}

#scroll-to-top:hover {
    background: var(--nature-green-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4) !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--nature-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--nature-green-dark);
}

/* Selection Styling */
::selection {
    background: var(--nature-green);
    color: white;
}
