/* ============================================
   Global Styles
   ============================================ */
:root {
    --primary-color: #c9a961;
    --secondary-color: #8b7355;
    --dark-color: #2c2c2c;
    --light-color: #f8f9fa;
    --text-color: #333;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

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

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-color) !important;
    font-family: var(--font-heading);
}

.brand-text {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1920&h=1080&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.3) 0%, rgba(139, 115, 85, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

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

/* ============================================
   Organizasyon Cards
   ============================================ */
.organizasyon-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.organizasyon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.organizasyon-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.organizasyon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.organizasyon-card:hover .organizasyon-image img {
    transform: scale(1.1);
}

.organizasyon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.organizasyon-card:hover .organizasyon-overlay {
    opacity: 1;
}

.organizasyon-content h4 {
    color: var(--dark-color);
    font-size: 1.3rem;
}

.organizasyon-content a {
    font-weight: 500;
    transition: all 0.3s ease;
}

.organizasyon-content a:hover {
    color: var(--primary-color) !important;
}

.organizasyon-content a:hover i {
    transform: translateX(5px);
}

.organizasyon-content a i {
    transition: transform 0.3s ease;
}

/* ============================================
   Feature Boxes
   ============================================ */
.feature-box {
    transition: all 0.3s ease;
    border-radius: 10px;
}

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

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

.btn-success {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-outline-light {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ============================================
   Page Header (for inner pages)
   ============================================ */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?w=1920&h=600&fit=crop') center/cover;
    padding: 150px 0 100px;
    text-align: center;
    color: white;
    margin-top: 76px;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* ============================================
   Content Sections
   ============================================ */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    color: var(--dark-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.content-section p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ============================================
   Organization intro text (no card/box)
   ============================================ */
.organization-text {
    padding: 0.5rem 0;
}

.organization-text h4 {
    margin-bottom: 1.25rem;
    font-size: 1.8rem;
}

.organization-text p {
    line-height: 1.9;
}

.organization-text ul li {
    color: #444;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 97, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 999px;
    background: rgba(201, 169, 97, 0.10);
    border: 1px solid rgba(201, 169, 97, 0.25);
}

.filter-btn {
    appearance: none;
    border: 1px solid rgba(201, 169, 97, 0.55);
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary-color);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.filter-btn:hover {
    transform: translateY(-1px);
    background: rgba(201, 169, 97, 0.10);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 10px 22px rgba(201, 169, 97, 0.35);
}

.filter-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

@media (max-width: 576px) {
    .gallery-filters {
        border-radius: 20px;
        padding: 10px 12px;
        justify-content: flex-start;
    }

    .filter-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* ============================================
   Menu Cards
   ============================================ */
.menu-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.menu-card-image {
    height: 200px;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-body {
    padding: 1.5rem;
}

.menu-card-body h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.menu-card-body ul {
    list-style: none;
    padding: 0;
}

.menu-card-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.menu-card-body ul li:last-child {
    border-bottom: none;
}

.menu-card-body ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
}

/* ============================================
   Google Maps
   ============================================ */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }
}

/* ============================================
   Info Boxes
   ============================================ */
.info-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

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

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-box p {
    color: #666;
    line-height: 1.8;
}

.info-box-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.info-box-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Equal-height image blocks (for side-by-side sections) */
.info-box-image.equal-height {
    height: 100%;
    margin-bottom: 0;
}

.info-box-image.equal-height img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .info-box-image.equal-height {
        height: auto;
        margin-bottom: 1.5rem;
    }

    .info-box-image.equal-height img {
        height: 250px;
    }
}

.info-box:hover .info-box-image img {
    transform: scale(1.05);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 120px 0 80px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .organizasyon-image {
        height: 200px;
    }
    
    .content-section {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* ============================================
   Footer readability (dark background)
   ============================================ */
footer,
footer p,
footer li,
footer span,
footer small {
    color: #ffffff !important;
}

footer a,
footer a.text-muted,
footer .text-muted {
    color: #ffffff !important;
}

footer a:hover {
    color: var(--primary-color) !important;
}
