/* Global Styles */
:root {
    --primary-color: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #4ade80;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand .brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: #333;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Hero Slider */
.hero-slider {
    margin-top: 76px;
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-item .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.carousel-caption {
    bottom: auto;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.3) 100%);
    padding: 3rem 2rem;
    margin: 0 15px;
}

.carousel-caption h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.carousel-caption .lead {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.carousel-caption .btn {
    margin-top: 1rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Section Title */
.section-title {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

/* Membership Section */
.membership-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.object-fit-cover {
    object-fit: cover;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.25);
}

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

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-success:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-success {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-success:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.feature-icon {
    width: 70px;
    height: 70px;
}

/* Benefits Section */
.benefit-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.benefit-number {
    width: 60px;
    height: 60px;
}

/* Contact Cards */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
    width: 70px;
    height: 70px;
}

/* Footer */
.footer a:hover {
    color: var(--primary-light) !important;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 1.5s infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        transform: scale(1);
    }
}

/* Success Modal */
.success-icon {
    width: 80px;
    height: 80px;
}

/* KVKK Page */
.kvkk-content h5 {
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.kvkk-content h5:first-child {
    margin-top: 0;
}

.kvkk-content p {
    line-height: 1.8;
    color: #495057;
}

.kvkk-content ul li {
    line-height: 1.8;
    color: #495057;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(74, 222, 128, 0.1) 100%);
}

/* Timeline */
.timeline-year {
    width: 80px;
    height: 80px;
    min-width: 80px;
}

.timeline-item {
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(to bottom, var(--primary-color), transparent);
}

/* Value Cards */
.value-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 50%, rgba(34, 197, 94, 0.05) 100%);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 50%, rgba(34, 197, 94, 0.05) 100%);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Contact Icons */
.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 50%, rgba(34, 197, 94, 0.05) 100%);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mission & Vision Icons */
.mission-icon,
.vision-icon {
    width: 90px;
    height: 90px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 50%, rgba(34, 197, 94, 0.05) 100%);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Benefit Numbers */
.benefit-number {
    width: 70px;
    height: 70px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.9) 0%, rgba(34, 197, 94, 0.7) 100%);
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Stat Cards */
.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 991px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption .lead {
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        margin-top: 60px;
    }
    
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

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

.feature-card,
.benefit-card,
.contact-card {
    animation: fadeInUp 0.6s ease forwards;
}
