/* ========================================
   DOĞA LADİN ANAOKULU - NATURE THEME
   Renkler: Kahverengi & Yeşil Tonları
======================================== */

:root {
    --primary-brown: #8B6F47;
    --primary-green: #7BA05B;
    --light-green: #A8D5BA;
    --dark-brown: #5D4E37;
    --cream: #F5F1E8;
    --soft-yellow: #FFD966;
    --coral: #FF8A5B;
}

body {
    font-family: 'DM Sans', sans-serif;
}

/* =========================
   TOP BAR - İletişim Bilgileri
========================= */
.top-bar {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-green) 100%);
    padding: 0.25rem 0;
    position: relative;
    z-index: 1001;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: white;
}

.top-bar-left i {
    font-size: 0.9rem;
    color: var(--soft-yellow);
}

.top-bar-left span {
    font-weight: 500;
}

.top-bar-right {
    justify-content: flex-end;
    gap: 1.5rem;
}

.top-bar-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
}

.nav.social-topbar {
    display: flex;
    gap: 0.10rem;
}

.nav.social-topbar a {
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.nav.social-topbar a:hover {
    background: var(--soft-yellow);
    color: var(--dark-brown);
    transform: translateY(-2px);
}

.top-bar-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.top-bar-phone:hover {
    color: var(--soft-yellow);
    transform: translateY(-1px);
}

.top-bar-phone i {
    font-size: 0.9rem;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

.top-bar-phone:hover i {
    animation: phoneRing 0.5s ease-in-out;
    color: var(--soft-yellow);
}

/* Mobile responsive for top bar */
@media (max-width: 767px) {
    .top-bar {
        padding: 0.4rem 0;
    }
    
    .top-bar-right {
        justify-content: center;
        gap: 1rem;
    }
    
    .top-bar-phone {
        font-size: 0.75rem;
    }
}

/* =========================
   HEADER LOGO & BRAND
========================= */
.navbar-brand-wrapper {
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar .navbar-other .navbar-nav>.nav-item .nav-link {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.logo-img {
    max-height: 60px;
    transition: all 0.3s ease;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-brown);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.brand-subtitle {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Header scrolled state - brand text colors */
.navbar.scrolled .brand-name {
    color: var(--dark-brown);
    text-shadow: none;
}

.navbar.scrolled .brand-subtitle {
    color: var(--primary-green);
    text-shadow: none;
}

.navbar.scrolled .logo-img {
    max-height: 50px;
}

/* Mobile brand text */
@media (max-width: 991px) {
    .brand-text {
        display: none;
    }
    
    .logo-img {
        max-height: 50px;
    }
}

/* Tablet - smaller brand text */
@media (min-width: 992px) and (max-width: 1199px) {
    .brand-name {
        font-size: 1.1rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
    }
    
    .logo-img {
        max-height: 55px;
    }
}

/* =========================
   HEADER SCROLL EFFECTS - Playful Kindergarten Style
========================= */
.wrapper {
    position: relative;
}

.navbar {
    transition: all 0.4s ease;
    padding: 0.85rem 0!important;
    background: white !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Fixed positioning when scrolled */
.navbar.scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Navbar layout - logo left, menu & button right */
.navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 2rem !important;
}

.navbar-brand-wrapper {
    flex: 0 0 auto;
    order: 1;
}

.navbar-other {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-left: 0 !important;
    order: 2;
}

.navbar-other .navbar-collapse {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-right: 1.5rem;
}

.navbar-collapse .offcanvas-body {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.navbar-other .navbar-nav {
    margin-left: 0 !important;
}

/* Desktop menu alignment */
@media (min-width: 992px) {
    .navbar-other .navbar-collapse {
        margin-left: 0 !important;
        margin-right: 1.5rem !important;
    }
    
    .navbar-other .navbar-nav {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Clean Menu Design - Subtle Hover */
.navbar .navbar-nav {
    margin-left: 0 !important;
}

.navbar .nav-link {
    color: var(--dark-brown) !important;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    position: relative;
    padding: 0.5rem 0.85rem !important;
    border-radius: 8px;
    margin: 0 0.2rem;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transform: translateX(-50%);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.navbar .nav-link:hover {
    color: var(--primary-green) !important;
    background: rgba(123,160,91,0.06);
}

.navbar .nav-link:hover::after {
    width: 40%;
}

/* Logo - No Hover Effect */
.navbar-brand {
    transition: none;
}

.navbar-brand:hover {
    transform: none;
}

/* CTA Button in Header - Green Theme */
.navbar .btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, #6B9045 100%) !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.35rem !important;
    box-shadow: 0 4px 12px rgba(123,160,91,0.3);
    transition: all 0.3s ease;
    color: white !important;
}

.navbar .btn-primary:hover {
    background: linear-gradient(135deg, #6B9045 0%, var(--primary-green) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123,160,91,0.4);
}

/* Social Icons in Header */
.navbar .nav.social a {
    color: var(--dark-brown);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.navbar .nav.social a:hover {
    color: var(--primary-green);
    transform: translateY(-2px) scale(1.1);
}

/* Hamburger Menu Button */
.navbar .hamburger span,
.navbar .hamburger span::before,
.navbar .hamburger span::after {
    background-color: var(--dark-brown);
}

.navbar .hamburger:hover span,
.navbar .hamburger:hover span::before,
.navbar .hamburger:hover span::after {
    background-color: var(--primary-green);
}

/* =========================
   HERO SLIDER
========================= */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    background-color: var(--dark-brown);
    margin-top: -60px;
    padding-top: 60px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide.next {
    transform: translateX(100%);
}

.hero-slide.prev {
    transform: translateX(-100%);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(93,78,55,0.92) 0%,
        rgba(93,78,55,0.85) 35%,
        rgba(93,78,55,0.7) 50%,
        rgba(123,160,91,0.4) 75%,
        transparent 100%
    );
    z-index: 1;
}

.hero-slide-bg-1,
.hero-slide-bg-2,
.hero-slide-bg-3 {
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 0;
}

.hero-content .container {
    max-width: 1200px;
}

.hero-content .row {
    justify-content: flex-start;
}

.hero-content .col-lg-8 {
    padding-left: 3rem;
    padding-right: 2rem;
}

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

.hero-slide.active .hero-title {
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.hero-slide.active .hero-subtitle {
    animation: slideInLeft 0.8s ease-out 0.5s both;
}

.hero-slide.active .hero-buttons {
    animation: slideInLeft 0.8s ease-out 0.7s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.7);
    margin-bottom: 0.85rem;
    line-height: 1.3;
    max-width: 650px;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.6);
    font-weight: 400;
    max-width: 600px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: white;
    transition: width 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.2);
}

.slider-dot.active {
    background: transparent;
    width: 32px;
    border-radius: 6px;
    border: 2px solid white;
}

.slider-dot.active::after {
    width: 100%;
    animation: progressBar 5s linear;
}

@keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.5rem;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.slider-arrow-left {
    left: 30px;
}

.slider-arrow-right {
    right: 30px;
}

/* Slider Pause/Play Button */
.slider-play-pause {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1rem;
}

.slider-play-pause:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.slider-play-pause.paused i::before {
    content: "\f144"; /* Play icon */
}

.slider-play-pause.playing i::before {
    content: "\f28b"; /* Pause icon */
}

/* Wave Divider - Correct Direction */
.hero-wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: scaleX(-1);
}

.hero-wave-divider .shape-fill {
    fill: var(--cream);
}

/* =========================
   BUTTONS - NATURE THEME
========================= */
.btn-nature-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.65rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-green) 0%, #6B9045 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(123,160,91,0.35);
    text-decoration: none;
}

.btn-nature-primary:hover {
    background: linear-gradient(135deg, #6B9045 0%, var(--primary-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123,160,91,0.45);
    color: white;
}

.btn-nature-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.65rem;
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-nature-outline:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

/* =========================
   POPUP FORM MODAL
========================= */
.form-popup {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem 1rem;
}

.form-popup.show {
    display: flex;
}

.form-popup-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    width: 100%;
    max-width: 480px;
    padding: 1.5rem 1.5rem 1.75rem;
    margin: auto;
    min-height: fit-content;
}

.form-popup.show .form-popup-content {
    animation: slideDown 0.3s ease;
}

.form-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.form-popup-close:hover {
    background: var(--primary-green);
    color: white;
    transform: rotate(90deg);
}

.form-popup h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: var(--dark-brown);
    padding-right: 2rem;
}

.form-popup-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}

.trust-badge {
    display: none; /* Kaldırıldı */
}

.form-popup .form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--dark-brown);
    margin-bottom: 0.3rem;
}

.form-popup .form-control,
.form-popup .form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.55rem 0.85rem;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.form-popup .form-control:focus,
.form-popup .form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(123,160,91,0.15);
}

.form-popup .form-control::placeholder {
    font-size: 0.8rem;
    color: #999;
}

.form-popup .btn-submit {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, #6B9045 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.form-popup .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123,160,91,0.4);
}

.form-popup .form-check-label {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
}

.form-popup .form-check-input {
    margin-top: 0.15rem;
}

.form-popup .mb-2 {
    margin-bottom: 0.65rem !important;
}

.form-popup .mb-3 {
    margin-bottom: 0.75rem !important;
}

.form-popup .mb-4 {
    margin-bottom: 1rem !important;
}

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

/* =========================
   SECTION STYLES
========================= */
.bg-cream {
    background-color: var(--cream);
}

.bg-light-green {
    background-color: var(--light-green);
}

.section-title {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.section-heading {
    color: var(--dark-brown);
    font-weight: 800;
    line-height: 1.2;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-brown), var(--primary-green));
    margin: 1.25rem auto 0;
    border-radius: 2px;
}

/* Lead text küçültme */
.lead {
    font-size: 0.95rem !important;
    line-height: 1.7;
}

/* Display başlıkları küçültme */
.display-3 {
    font-size: 1.75rem !important;
}

/* Feature başlıkları */
h4 {
    font-size: 1.05rem;
}

/* =========================
   CARDS & COMPONENTS
========================= */
.nature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(139,111,71,0.1);
}

.nature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.nature-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 1.25rem;
}

.nature-card .card-body {
    padding: 1.5rem 0 0;
}

.nature-card h4 {
    color: var(--dark-brown);
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.nature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.875rem;
}

.nature-card-title {
    color: var(--dark-brown);
    font-weight: 700;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

.nature-card-text {
    color: #666;
    line-height: 1.7;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.nature-card-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
}

.nature-card-link:hover {
    color: var(--primary-brown);
}

.feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-brown), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: white;
    font-size: 1.75rem;
}

.feature-icon-lg {
    width: 60px;
    height: 60px;
    margin-bottom: 1.1rem;
}

.feature-title {
    color: var(--dark-brown);
    font-weight: 700;
    margin-bottom: 0.85rem;
    font-size: 1.05rem;
}

.feature-text {
    color: #666;
    line-height: 1.7;
    font-size: 0.875rem;
}

.mission-card {
    background: white;
    padding: 2.25rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.mission-card h4 {
    color: var(--dark-brown);
    font-weight: 700;
    font-size: 1.2rem;
}

.mission-card-border-brown {
    border-top-color: var(--primary-brown);
}

.mission-text {
    color: #666;
    line-height: 1.75;
    font-size: 0.9rem;
}

.mission-text-highlight-green {
    color: var(--primary-green);
    font-weight: 600;
}

.mission-text-highlight-brown {
    color: var(--primary-brown);
    font-weight: 600;
}

.testimonial-card {
    background: white;
    padding: 1.75rem;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.testimonial-card .quote-icon {
    font-size: 2.25rem;
    color: var(--light-green);
    opacity: 0.3;
}

.testimonial-text {
    color: #555;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.1rem;
    font-size: 0.875rem;
}

.testimonial-author {
    color: var(--dark-brown);
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-role {
    color: var(--primary-green);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Gallery - Lightbox Style */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .caption {
    display: none;
}

/* About Section Specific */
.about-section-title {
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
}

.about-section-heading {
    color: var(--dark-brown);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.about-feature-box {
    text-align: center;
}

.about-feature-title {
    color: var(--dark-brown);
    font-weight: 700;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.about-feature-text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.lightbox-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    background: var(--primary-green);
    color: white;
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
}

/* =========================
   EDUCATION SLIDER
========================= */
.education-slider-container {
    position: relative;
    padding: 0 60px;
    margin-bottom: 3rem;
    overflow: hidden;
}

.education-slider {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0;
    transition: transform 0.5s ease;
    width: 300%;
}

.education-slide {
    min-width: 0;
    width: 100%;
    padding: 0 1rem; /* Gap yerine padding kullan */
}

.education-slide .nature-card {
    height: 100%;
}

.education-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--primary-green);
    font-size: 1.5rem;
}

.education-arrow:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(123,160,91,0.3);
}

.education-arrow-left {
    left: 0;
}

.education-arrow-right {
    right: 0;
}

.education-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.education-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(123,160,91,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.education-dot:hover {
    background: rgba(123,160,91,0.6);
}

.education-dot.active {
    background: var(--primary-green);
    width: 32px;
    border-radius: 6px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    /* Top bar mobile */
    .top-bar {
        display: none;
    }
    
    /* Header mobile adjustments */
    .hero-slider {
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-slider {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-slide::before {
        background: linear-gradient(
            to bottom,
            rgba(93,78,55,0.85) 0%,
            rgba(93,78,55,0.75) 50%,
            rgba(123,160,91,0.6) 100%
        );
    }
    
    .hero-content .container {
        max-width: 100%;
    }
    
    .hero-content .col-lg-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        max-width: 100%;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        max-width: 100%;
        margin-bottom: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .btn-nature-primary,
    .btn-nature-outline {
        font-size: 0.85rem;
        padding: 0.7rem 1.25rem;
    }
    
    /* Education slider mobile */
    .education-slider-container {
        padding: 0 50px;
    }
    
    .education-slider {
        grid-template-columns: repeat(9, 1fr);
        width: 900%; /* 9 slides each 100% */
    }
    
    .education-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .education-arrow-left {
        left: 5px;
    }
    
    .education-arrow-right {
        right: 5px;
    }
}

/* =========================
   RESPONSIVE - TABLET (768px - 991px)
========================= */
@media (max-width: 991px) and (min-width: 768px) {
    .education-slider {
        grid-template-columns: repeat(9, 1fr);
        width: 450%;
    }
}

@media (max-width: 767px) {
    .education-slider {
        grid-template-columns: repeat(9, 1fr);
        width: 900%;
    }
    
    /* Navbar mobile */
    .navbar .nav-link {
        font-size: 0.9rem;
        margin: 0.2rem 0;
        border-radius: 12px;
    }
    
    /* Hide arrows on mobile, use swipe instead */
    .slider-arrow {
        display: none;
    }
    
    /* Move play/pause to bottom on mobile */
    .slider-play-pause {
        top: auto;
        bottom: 90px;
        right: 20px;
        width: 35px;
        height: 35px;
    }
    
    /* Smaller dots on mobile */
    .slider-dots {
        padding: 8px 15px;
        gap: 8px;
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
    
    /* Wave smaller on mobile */
    .hero-wave-divider svg {
        height: 50px;
    }
    
    .form-popup-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .form-popup h3 {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-heading {
        font-size: 1.5rem !important;
    }
    
    .mission-card,
    .nature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    /* Navbar adjustments */
    .navbar.scrolled .navbar-brand img {
        max-height: 45px !important;
    }
}

/* Tablet specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 1.75rem;
        max-width: 550px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        max-width: 480px;
    }
    
    .hero-content .col-lg-8 {
        padding-left: 1.75rem;
        padding-right: 1.75rem;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
    }
    
    .slider-arrow-left {
        left: 20px;
    }
    
    .slider-arrow-right {
        right: 20px;
    }
    
    .hero-wave-divider svg {
        height: 65px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop medium */
@media (min-width: 1025px) and (max-width: 1399px) {
    .hero-title {
        font-size: 1.9rem;
        max-width: 600px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 500px;
    }
}

/* Desktop large screens */
@media (min-width: 1400px) {
    .hero-content .col-lg-8 {
        max-width: 50%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        max-width: 650px;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 550px;
    }
    
    .hero-wave-divider svg {
        height: 100px;
    }
}

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

/* Prefers reduced motion - accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
