/* Global Styles */
:root {
    --primary-color: #1a2b49;
    --secondary-color: #c9a063;
    /* Saffron gold-ish */
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    min-height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* İçerik sayfaları başlığı - site genelinde uyumlu */
.sayfa-baslik-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.sayfa-baslik-wrap .sayfa-baslik,
.sayfa-baslik-wrap h1,
.sayfa-baslik-wrap h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

/* Çizgi tam başlık (yazı) genişliğinde, hemen altında */
.sayfa-baslik-wrap h1::after,
.sayfa-baslik-wrap h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animation Delays for Child Elements */
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-stagger.active>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active>*:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-stagger.active>*:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-stagger.active>*:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-stagger.active>*:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-stagger.active>*:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-stagger.active>*:nth-child(6) {
    transition-delay: 0.6s;
}

.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.img-reveal.active {
    clip-path: inset(0 0 0 0);
}

img {
    max-width: 100%;
    /*   display: block; */
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    font-family: var(--font-heading);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    font-size: 20px;
    color: var(--primary-color);
}

.phone-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.phone-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
}

.phone-number {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
}

.top-links {
    display: flex;
    gap: 15px;
}

.top-links a {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.top-links a:hover {
    color: var(--secondary-color);
}

.top-center .main-logo {
    height: 70px;
    /* Adjust as needed */
    width: auto;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    color: var(--primary-color);
    font-size: 14px;
}

.social-icons a img {
    width: 16px;
    height: 16px;
}

.social-icons a:hover {
    background: var(--secondary-color);
    color: white;
}

.partner-logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

.partner-logos img {
    height: 35px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Main Navigation - Floating Modern Style */
.main-nav {
    background-color: var(--primary-color);
    /* Semi-transparent */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin: 15px auto;
    width: 95%;
    max-width: 1400px;
    border-radius: 50px;
    top: 15px;
    z-index: 1000;
    position: sticky;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.main-nav.scrolled {
    margin: 5px auto;
    width: 98%;
    background-color: rgba(26, 43, 73, 0.95);
    border-radius: 20px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-menu ul,
.nav-menu li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav-menu>li {
    display: flex;
    align-items: center;
}

.nav-menu>li>ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-menu>li>ul>li {
    display: flex;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    margin: 0 5px;
    /* display: block; */
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-menu>li>ul>li>a {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    margin: 0 5px;
    display: block;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu>li>ul>li>a:hover,
.nav-menu>li>ul>li>a.active {
    background: rgba(255, 255, 255, 0.05);
}

.nav-highlight {
    background: var(--secondary-color);
    color: var(--primary-color) !important;
}

.nav-highlight:hover {
    background: #e0b470 !important;
    border-bottom-color: transparent !important;
}

.nav-logo-space {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.nav-logo-space a {
    border-bottom: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.nav-logo-space a:hover {
    border-bottom: none !important;
    background: transparent !important;
    transform: none !important;
}

.nav-logo-space img {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-logo-space a:hover img {
    transform: scale(1.1) rotate(5deg);
}

.nav-search-item {
    margin-left: auto;
}

.nav-search-item a {
    color: var(--white);
    font-size: 18px;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-search-item a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
}

/* Mega Menu / Dropdown Styles */
.has-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 500px;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.mega-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mega-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 12px;
    color: var(--primary-color) !important;
    font-weight: 500;
    font-size: 13.5px;
    transition: all 0.3s ease;
}

.mega-menu-item:hover {
    background: #f0f4f8;
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.mega-menu-item i {
    font-size: 9px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.mega-menu-item:hover i {
    transform: scale(1.3);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: #0f172a;
    /* Darker navy for a premium look */
}

.slider-container {
    height: 100%;
    position: relative;
}

.slides {
    height: 100%;
    display: block;
    /* Changing from flex to block for absolute layering */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    align-items: center;
    background: #0f172a;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Background Abstract Shapes */
.slide-circle {
    position: absolute;
    top: 50%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(201, 160, 99, 0.1), rgba(201, 160, 99, 0.05));
    border-radius: 50%;
    transform: translateY(-50%) scale(0.8);
    transition: all 1.5s ease;
    z-index: 0;
}

.slide.active .slide-circle {
    transform: translateY(-50%) scale(1);
}

.slide-bg {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%) translateX(50px);
    width: 55%;
    height: 70%;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    z-index: 1;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.7, 0, 0.3, 1) 0.3s;
}

.slide.active .slide-bg {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.slide-content {
    position: relative;
    z-index: 5;
    padding-left: 10%;
    width: 50%;
    text-align: left;
    color: white;
}

.slide-side-num {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.slide-title {
    font-size: 70px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.6s;
    text-shadow: none;
}

.slide.active .slide-title {
    transform: translateY(0);
    opacity: 1;
}

.slide-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
    margin-bottom: 30px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.8s;
}

.slide.active .slide-desc {
    transform: translateY(0);
    opacity: 1;
}

.slide-action {
    display: flex;
    gap: 20px;
    align-items: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 1s;
}

.slide.active .slide-action {
    transform: translateY(0);
    opacity: 1;
}

.btn-premium {
    padding: 15px 35px;
    background: var(--secondary-color);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(201, 160, 99, 0.3);
}

.play-video-modern {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.play-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.play-icon-wrap i {
    font-size: 20px;
    margin-left: 4px;
}

.play-icon-wrap::after {
    content: '';
    position: absolute;
    background-color: var(--secondary-color);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid white;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.play-video-modern:hover .play-icon-wrap {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Redesigned Arrows - Global & Desktop */
.slider-arrows-retro {
    position: absolute;
    bottom: 180px;
    right: 150px;
    display: flex;
    gap: 15px;
    z-index: 100;
}

.retro-arrow {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(8px);
    pointer-events: auto;
}

.retro-arrow:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

/* Responsive Adjustments for Retro Slider */
@media (max-width: 1024px) {
    .hero-slider {
        height: 750px;
    }

    .slide-title {
        font-size: 60px;
    }

    .slide-bg {
        width: 50%;
        height: 60%;
        right: 5%;
    }

    .slider-arrows-retro {
        right: 50px;
        bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 650px;
    }

    .slide {
        padding: 0;
        display: block;
    }

    /* Full Background Style for Mobile */
    .slide-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: scale(1.1) !important;
        border-radius: 0;
        margin: 0;
        z-index: 1;
        transition: transform 8s linear;
    }

    .slide.active .slide-bg {
        transform: scale(1) !important;
    }

    /* Simple Dark Overlay for contrast */
    .slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.4);
        z-index: 2;
    }

    .slide-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0;
        text-align: center;
        z-index: 10;
        margin: 0;
    }

    .slide-desc,
    .slide-side-num,
    .slide-circle {
        display: none !important;
    }

    .slide-title {
        display: block !important;
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 20px;
        padding: 0 20px;
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
        line-height: 1.2;
    }

    .slide-action {
        justify-content: center;
        transform: none !important;
        opacity: 1 !important;
    }

    .play-video-modern {
        flex-direction: column;
        gap: 15px;
    }

    .play-video-modern span {
        display: none !important;
        /* Removed 'Tanıtımı İzle' text on mobile */
    }

    .play-icon-wrap {
        width: 70px;
        height: 70px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(8px);
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    /* Minimalist Side Arrows for Mobile */
    .slider-arrows-retro {
        bottom: 50%;
        transform: translateY(50%);
        left: 0;
        right: 0;
        width: 100%;
        justify-content: space-between;
        padding: 0 15px;
        pointer-events: none;
    }

    .retro-arrow {
        width: 40px;
        height: 40px;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        backdrop-filter: blur(4px);
        pointer-events: auto;
    }

    .retro-arrow i {
        font-size: 14px;
    }

    /* New: Slider Pagination Dots */
    .slider-dots {
        position: absolute;
        bottom: 110px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 20;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        border: none;
        transition: all 0.3s ease;
        padding: 0;
        cursor: pointer;
    }

    .dot.active {
        background: #fff;
        width: 24px;
        border-radius: 10px;
    }
}

/* Slider Bottom Gradient */
.slider-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to top, var(--primary-color) 0%, rgba(26, 43, 73, 0.8) 20%, rgba(26, 43, 73, 0) 100%);
    z-index: 5;
    pointer-events: none;
}

/* Slider Bottom Buttons */
.slider-bottom-buttons {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 30;
    width: auto;
    max-width: 95%;
    padding: 5px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 12px;
    color: white;
    text-decoration: none;
    min-width: 200px;
    flex: 0 1 auto;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    /* Adjusted for better visibility */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Specific Button Colors & Glows */
.btn-ihale {
    --btn-glow: #9b59b6;
}

.btn-nikah {
    --btn-glow: #1abc9c;
}

.btn-eczane {
    --btn-glow: #2ecc71;
}

.btn-ebelediye {
    --btn-glow: #3498db;
}

.btn-online {
    --btn-glow: #e74c3c;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.slider-btn:hover::before {
    left: 100%;
    transition: 0.6s;
}

.slider-btn:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--btn-glow);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 15px var(--btn-glow);
}

.slider-btn i {
    font-size: 26px;
    color: var(--btn-glow);
    filter: drop-shadow(0 0 5px var(--btn-glow));
    transition: all 0.3s ease;
}

.slider-btn:hover i {
    transform: rotate(10deg) scale(1.15);
    color: white;
    filter: drop-shadow(0 0 10px white);
}

.slider-btn .btn-text {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.slider-btn .btn-text strong {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.slider-btn .btn-text span {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 500;
}

/* Dinamik Icon Menu - img desteği */
.slider-btn-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px var(--btn-glow, rgba(255, 255, 255, 0.5)));
    transition: all 0.3s ease;
}

.slider-btn:hover .slider-btn-icon {
    transform: rotate(10deg) scale(1.15);
    filter: brightness(0) invert(1) drop-shadow(0 0 10px white);
}

/* Icon Menu Popover */
.icon-menu-popover {
    display: flex;
    gap: 16px;
    padding: 8px;
}

.icon-menu-popover a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--primary-color, #1a2b49);
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.icon-menu-popover a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.icon-menu-popover a img {
    width: 50px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1280px) {
    .slider-bottom-buttons {
        gap: 8px;
        bottom: 25px;
    }

    .slider-btn {
        min-width: 160px;
        padding: 10px 10px;
    }

    .slider-btn i {
        font-size: 22px;
    }

    .slider-btn .btn-text strong {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .slider-bottom-buttons {
        bottom: 15px;
        gap: 5px;
    }

    .slider-btn {
        min-width: 140px;
        padding: 8px 12px;
    }
}

@media (max-width: 992px) {
    .slider-bottom-buttons {
        bottom: 20px;
        left: 0;
        transform: none;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .slider-bottom-buttons::-webkit-scrollbar {
        display: none;
    }

    .slider-btn {
        min-width: 170px;
        flex-shrink: 0;
    }
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    background: #25d366;
}

.message {
    background: #3498db;
}

.accessibility-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 99;
}

/* News Section */
.news-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.news-mayor-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Mayor Section */
.mayor-section {
    flex: 0 0 320px;
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mayor-photo {
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mayor-photo img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.mayor-info {
    margin-bottom: 20px;
}

.mayor-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.mayor-title {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.mayor-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.mayor-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.mayor-social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.mayor-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mayor-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.mayor-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* News Content */
.news-content {
    flex: 1;
    min-width: 0;
}

.news-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.news-container {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.news-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.news-slide.active {
    opacity: 1;
}

.news-card {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    color: white;
    box-sizing: border-box;
}

.news-overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 14px;
    opacity: 0.8;
}

.news-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.news-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.news-arrow.prev {
    left: 10px;
}

.news-arrow.next {
    right: 10px;
}

.news-thumbs {
    margin: 20px 0 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumb {
    width: 100px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 4px;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
    border: 2px solid var(--secondary-color);
}

.all-news-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
}

/* Quick Access */
.quick-access {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    max-width: 100%;
    background: #0f172a;
    /* Darker corporate background for contrast */
}

.quick-btn {
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    gap: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-imar {
    background: #008B9A;
}

.btn-ihale-quick {
    background: #9B59B6;
}

.btn-nikah-quick {
    background: #1ABC9C;
}

.btn-eczane-quick {
    background: #2ECC71;
}

.btn-birimler {
    background: #E74C3C;
}

.btn-ulasim {
    background: #8E44AD;
}

.quick-btn::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -20px;
    right: -20px;
    transition: all 0.4s ease;
}

.quick-btn:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.quick-btn:hover::after {
    transform: scale(3);
    opacity: 0;
}

.quick-btn i {
    font-size: 36px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.quick-btn:hover i {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
}

.quick-btn span {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.quick-btn:hover span {
    transform: translateY(5px);
    letter-spacing: 1px;
}

/* Modern Announcements Section - Corporate Redesign */
.announcements {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    position: relative;
    overflow: hidden;
}

.announcements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(26, 43, 73, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(201, 160, 99, 0.05) 0%, transparent 20%);
    pointer-events: none;
}

/* Header Styling */
.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.announcements-header h2 {
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 800;
    position: relative;
    letter-spacing: -0.5px;
    margin: 0;
}

.announcements-header h2::after {
    content: '';
    position: absolute;
    bottom: -21px;
    /* Aligns with border-bottom */
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.announcements-header a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: rgba(201, 160, 99, 0.1);
    border-radius: 30px;
}

.announcements-header a:after {
    content: '\f061';
    /* FontAwesome arrow right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.announcements-header a:hover {
    background: var(--secondary-color);
    color: white;
}

.announcements-header a:hover:after {
    transform: translateX(4px);
}

/* Slider Container */
.announcements-slider {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    /* Controlled by JS or custom nav */
    padding: 20px 10px 40px 10px;
    /* Space for shadows */
    scroll-behavior: smooth;
}

/* Announcement Item Card */
.announcement-item {
    flex: 0 0 100%;
    /* Default mobile */
    min-width: 0;
    background: #ffffff;
    border-radius: 24px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 220px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .announcement-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (min-width: 1200px) {
    .announcement-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

/* Hover Effects */
.announcement-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(26, 43, 73, 0.12);
    border-color: rgba(201, 160, 99, 0.3);
}

/* Decorative Accent */
.announcement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.announcement-item:hover::before {
    opacity: 1;
}

/* Content Styling */
.announcement-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.announcement-item:hover h3 {
    color: var(--secondary-color);
}

.announcement-item .date {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    background: #f8fafc;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.announcement-item .date::before {
    content: '\f073';
    /* Calendar Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.announcement-item:hover .date {
    background: var(--primary-color);
    color: white;
}

/* Navigation Arrows */
.announcements-nav {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 10px;
}

.ann-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.ann-arrow:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(26, 43, 73, 0.2);
}

/* Albums & Events */
.albums-events {
    padding: 60px 0;
    background: #f5f5f5;
}

.albums-events .container {
    display: flex;
    gap: 40px;
}

.albums-side {
    flex: 2;
}

.events-side {
    flex: 1;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h2,
.events-title {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.album-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 12px;
    padding: 8px;
    text-align: center;
}

.featured-boxes {
    display: flex;
    gap: 20px;
}

.featured-box {
    flex: 1;
    height: 150px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.featured-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.event-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.event-info p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 13px;
}

/* Discover Section */
.discover-section {
    padding: 80px 0;
    background: url('https://ext.same-assets.com/2791438358/1858130958.jpeg') no-repeat center center/cover;
    position: relative;
    background-attachment: fixed;
}

.discover-bg {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.discover-header {
    text-align: center;
    color: white;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.discover-title {
    font-size: 24px;
    font-weight: 300;
}

.discover-subtitle {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 5px;
}

.discover-cards {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    padding: 0 15px;
}

.discover-card {
    background: white;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.discover-card:hover {
    transform: translateY(-10px);
}

.discover-card img {
    height: 150px;
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.card-content ul li {
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content ul li i {
    color: var(--secondary-color);
}

.card-btn {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 13px;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
}

.projects-section .container {
    display: flex;
}

.projects-left,
.projects-right {
    flex: 1;
    padding: 0 20px;
}

.section-label {
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.projects-section h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.projects-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.project-card {
    min-width: 250px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.project-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 12px;
    text-transform: uppercase;
}

.live-cams {
    display: flex;
    gap: 20px;
}

.live-cam-card {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.live-cam-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cam-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cam-overlay strong {
    font-size: 16px;
    background: rgba(255, 0, 0, 0.8);
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 5px;
}

/* Partners */
/* Partners */
/* Modern Partners Section */
/* Modern Partners Section */
.partners-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.partners-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 0;
}

.partners-slider a {
    display: block;
    text-decoration: none;
    /* transition removed to avoid double animation */
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01),
        0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

/* Hover Effect - Lift and color */
/* Lift Effect */
.partner-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 10px 10px -5px rgba(0, 0, 0, 0.01);
    border-color: rgba(201, 160, 99, 0.3);
}

/* Image Styling - Renkli logo, hover'da büyüme hareketi */
.partner-item img {
    height: 85px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.4s ease;
    margin-bottom: 0;
}

.partner-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* Tooltip-style Text or Subtitle */
.partner-item span {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
    z-index: 10;
}

.partner-item:hover span {
    opacity: 1;
    bottom: -15px;
}

/* Responsive */
@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
    }

    .partners-slider {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        scrollbar-width: none;
    }

    .partners-slider::-webkit-scrollbar {
        display: none;
    }

    .partner-item {
        flex: 0 0 160px;
        height: 100px;
    }

    .partner-item img {
        height: 45px;
    }

    /* Disable tooltip on mobile */
    .partner-item span {
        display: none;
    }
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: #ccc;
    padding: 60px 0 0;
    font-size: 13px;
    position: relative;
    margin: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* Override .footerr class padding if exists */
.footerr {
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

/* Remove any bottom spacing from footer wrapper */
.footerr .main-footer {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure no extra space after footer */
footer:last-child {
    margin-bottom: 0;
}

.footer-main-content {
    display: flex;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav-columns {
    display: flex;
    flex: 1;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
    display: block;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    flex: 0 0 300px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-heading);
    margin: 0;
}

.footer-contact-info {
    text-align: left;
}

.footer-contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-info .contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-contact-info .contact-item i {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-info .contact-item div {
    flex: 1;
}

.footer-contact-info .contact-item strong {
    display: block;
    color: white;
    font-size: 12px;
    margin-bottom: 4px;
    font-weight: 600;
}

.footer-contact-info .contact-item span {
    display: block;
    color: #ccc;
    font-size: 13px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-policy-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.policy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.policy-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.policy-btn i {
    font-size: 16px;
}

.footer-copyright {
    color: #999;
    font-size: 12px;
}

.footer-copyright strong {
    color: white;
    font-weight: 600;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
/* Responsive adjustments */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .top-links,
    .top-right {
        display: none;
    }

    /* Adjust Main Nav for Mobile */
    .main-nav {
        display: block;
        /* Ensure it's visible */
        height: 70px;
        /* Fixed height for mobile header */
    }

    .nav-menu {
        display: none;
        /* Hide Desktop Menu List */
    }

    .quick-access {
        grid-template-columns: repeat(3, 1fr);
    }

    .projects-section .container,
    .albums-events .container,
    .discover-cards {
        flex-direction: column;
    }

    .projects-left,
    .projects-right {
        width: 100%;
        margin-bottom: 40px;
    }

    .projects-right {
        padding-left: 0;
    }

    .discover-card {
        width: 100%;
    }

    .footer-main-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav-columns {
        flex-direction: column;
    }

    .footer-contact {
        flex: 1;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-policy-buttons {
        width: 100%;
        flex-direction: column;
    }

    .policy-btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .quick-access {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide-title {
        font-size: 40px;
    }

    .discover-subtitle {
        font-size: 30px;
    }

    .discover-subtitle {
        font-size: 30px;
    }

    /* Removed wrapping to keep slider functionality on mobile */
    /* Removed wrapping to keep slider functionality on mobile */
    .partners-slider {
        justify-content: flex-start;
        /* Start aligns for scrolling */
        padding: 20px 10px;
        /* Less padding on mobile */
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
    }

    .partner-item {
        min-width: 140px;
        /* Slightly smaller on mobile */
        height: 140px;
        margin-bottom: 0;
    }

    .copyright .container {
        flex-direction: column;
        gap: 10px;
    }
}

.projects-section .container,
.albums-events .container,
.discover-cards {
    flex-direction: column;
}

.discover-card {
    width: 100%;
}

.footer-columns {
    flex-direction: column;
}


/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mega Menu Styles */
.has-dropdown {
    position: static !important;

}

/* Make sure the main nav container allows the breakdown to be full width */
.main-nav .container {
    position: relative;

}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(230, 233, 240, 0.98);
    /* Light bluish/gray tint */
    backdrop-filter: blur(10px);
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    justify-content: center;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: var(--container-width);
    width: 100%;
    padding: 0 15px;
}

@media (max-width: 1200px) {
    .mega-menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .mega-menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mega-menu-item {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
    text-align: left;
    height: 100%;
    min-height: 80px;
    text-decoration: none !important;
}

.mega-menu-item i {
    font-size: 18px;
    margin-right: 5px;
    color: #999;
    transition: transform 0.3s ease, color 0.3s ease;
}

.mega-menu-item span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.mega-menu-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: white;
}

/* Override any potential nav items border on hover */
.nav-menu li.has-dropdown:hover>a {
    border-bottom-color: var(--secondary-color);
}

.mega-menu-item:hover i {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Mobile Menu Styles */
.mobile-menu-toggle,
.mobile-logo,
.mobile-search-toggle {
    display: none;
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Search Button */
.mobile-search-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* Mobile Logo */
.mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.mobile-logo img {
    height: 95px;
    margin-top: 15px;
    width: auto;
    opacity: 0;
    animation: logoEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.2s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 43, 73, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    background: transparent;
    border: none;
    color: #ffffff !important;
    font-size: 28px;
    cursor: pointer;
    padding: 10px;
    z-index: 10001;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
    color: var(--secondary-color) !important;
}

/* Mobile Menu Logo */
.mobile-menu-logo {
    text-align: center;
    padding: 15px 0 15px;
}

.mobile-menu-logo img {
    height: 60px;
    width: auto;
    margin: 0 auto;
    opacity: 0;
    animation: logoEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.1s;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Mobile Menu List */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.mobile-menu-list>li {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-list>li>a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 2px;
    border-radius: 8px;
}

.mobile-menu-list>li>a:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 25px;
}

.mobile-menu-list>li>a i.fa-chevron-right {
    font-size: 14px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.mobile-menu-list>li>a:hover i.fa-chevron-right {
    transform: translateX(5px);
}

/* Submenu Arrow */
.submenu-arrow {
    margin-left: auto !important;
    transition: transform 0.3s ease;
    display: inline-block;
}

.mobile-has-submenu.active .submenu-arrow {
    transform: rotate(90deg);
}

/* Mobile Submenu */
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 2px;
}

.mobile-has-submenu.active .mobile-submenu {
    max-height: 1000px;
    padding: 10px 0;
}

.mobile-submenu li {
    margin: 0;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-submenu li a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 55px;
}

/* Mobile Menu Social Icons */
.mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 0;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.mobile-menu-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-menu-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {

    /* Hide desktop navigation */
    .nav-menu {
        display: none !important;
    }

    /* Show mobile elements */
    .mobile-menu-toggle,
    .mobile-logo,
    .mobile-search-toggle {
        display: flex;
    }

    /* Adjust nav container for mobile */
    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        position: relative;
    }

    /* Hide mega menu on mobile */
    .mega-menu {
        display: none !important;
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    /* Adjust hero slider height for mobile */
    /*  .hero-slider {
        height: 400px;
    } */

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 14px;
    }

    .news-slider {
        height: 300px;
    }

    .news-overlay {
        padding: 18px 20px;
    }

    .news-overlay h3 {
        font-size: 18px;
    }

    .news-date {
        font-size: 12px;
    }

    .news-mayor-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .mayor-section {
        flex: 1;
        width: 100%;
        padding: 20px;
    }

    .mayor-photo {
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .mayor-photo img {
        max-width: 200px;
        margin: 0 auto;
        display: block;
    }

    .news-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 30px 0;
        background: #f9f9f9;
        display: block !important;
        visibility: visible !important;
        overflow: visible !important;
    }

    .news-section .container {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .news-mayor-wrapper {
        flex-direction: column;
        gap: 15px;
        display: flex !important;
        width: 100%;
        padding: 0 10px;
    }

    .mayor-section {
        flex: 1;
        width: 100%;
        padding: 15px;
        display: block !important;
        box-sizing: border-box;
    }

    .news-content {
        width: 100%;
        display: block !important;
        visibility: visible !important;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .news-slider {
        height: 150px;
        display: block !important;
        visibility: visible !important;
        width: 100%;
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .news-container {
        display: flex !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .news-slide {
        min-width: 100%;
        margin: 0;
        padding: 0;
    }

    .news-card {
        border-radius: 0;
    }

    .news-card img {
        width: 100%;
        height: 100%;
        object-fit: cover !important;
    }

    .news-overlay {
        padding: 12px 14px 14px;
    }

    .news-overlay h3 {
        font-size: 14px;
        margin-bottom: 4px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .news-date {
        font-size: 11px;
    }

    .news-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .news-arrow.prev {
        left: 5px;
    }

    .news-arrow.next {
        right: 5px;
    }

    .news-thumbs {
        gap: 8px;
        margin-top: 15px;
        display: flex !important;
        visibility: visible !important;
        flex-wrap: nowrap;
        width: 100%;
        padding: 0 10px;
        overflow-x: auto;
        box-sizing: border-box;
    }

    .thumb {
        width: 80px;
        height: 50px;
        display: block !important;
        flex-shrink: 0;
    }

    /* Mobilde sadece ilk 2 thumbnail görünsün; diğer slaytlara ok ile geçilir */
    .news-thumbs .thumb:nth-child(n+3) {
        display: none !important;
    }

    .all-news-btn {
        padding: 0 15px;
        font-size: 12px;
        display: flex !important;
        flex-shrink: 0;
    }

    .announcements-nav {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 20px;
    }

    .ann-arrow {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 768px) {
    .mobile-menu-logo img {
        height: 100px;
    }

    .mobile-menu-list>li>a {
        font-size: 15px;
        padding: 16px 18px;
    }

    .mobile-menu-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Custom Global Styles */

/* Custom Utilities - Fallbacks if Tailwind CDN doesn't handle @apply perfectly without build step, 
   but we will use standard CSS here for the CDN approach */

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--white);
    /* Override dark background */
    color: var(--text-color);
    /* Use default text color */
    margin: 0;
    padding: 0;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Hero Curve Clip Path */
.hero-clip {
    clip-path: ellipse(150% 100% at 50% 0%);
}

.blob-shape {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transition: all 10s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Date Time Widget in Hero */
.hero-date-time {
    position: absolute;
    bottom: 18%;
    /* Adjusted for better alignment */
    left: 5%;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 25px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 18px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-date-time .date-part,
.hero-date-time .time-part {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-date-time i {
    font-size: 20px;
    /* Refined size */
    opacity: 0.9;
}

.hero-date-time span {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
    .hero-date-time {
        bottom: 110px;
        gap: 15px;
        padding: 6px 15px;
    }

    .hero-date-time i {
        font-size: 18px;
    }

    .hero-date-time span {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .hero-date-time {
        bottom: 90px;
        padding: 5px 12px;
        gap: 12px;
    }

    .hero-date-time i {
        font-size: 14px;
    }

    .hero-date-time span {
        font-size: 11px;
    }
}

/* Desktop Search Item */
.nav-search-item a {
    font-size: 18px !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center;
    height: 100%;
}

.nav-search-item a:hover {
    color: var(--secondary-color);
    background: transparent !important;
    border-bottom-color: transparent !important;
}

/* Search Popup Overlay */
.search-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 43, 73, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search Popup Close */
.search-popup-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-popup-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--secondary-color);
}

/* Search Content */
.search-popup-content {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.search-popup-overlay.active .search-popup-content {
    transform: translateY(0);
}

/* Search Box */
.search-popup-box {
    position: relative;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.search-popup-box input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 60px 20px 0;
    font-size: 32px;
    color: white;
    font-family: var(--font-heading);
    font-weight: 300;
    outline: none;
}

.search-popup-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-popup-box button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--secondary-color);
    font-size: 28px;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-popup-box button:hover {
    transform: translateY(-50%) scale(1.1);
}

.search-popup-box:focus-within {
    border-bottom-color: var(--secondary-color);
}

/* Search Suggestions */
.search-suggestions h4 {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-suggestions .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.search-suggestions .tags a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.search-suggestions .tags a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Arama overlay – sonuçlar ve hatalar */
.search-popup-overlay .errorMesaj {
    min-height: 24px;
    margin-bottom: 12px;
    text-align: left;
}

.search-popup-overlay .search-popup-err {
    color: #f8b4b4;
    font-size: 14px;
}

.search-popup-overlay .ekleSonuc {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 24px;
    text-align: left;
}

.search-popup-overlay .aramaLink.search-popup-link {
    display: block;
    text-decoration: none;
    margin-bottom: 12px;
}

.search-popup-overlay .aramaSonuc.search-popup-item {
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.search-popup-overlay .aramaSonuc.search-popup-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.search-popup-overlay .aramaSonuc.search-popup-item h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
}

.search-popup-overlay .search-popup-snippet {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 400;
    display: block;
    margin-bottom: 6px;
}

.search-popup-overlay .search-popup-cat {
    color: var(--secondary-color);
    font-size: 12px;
}

.search-popup-overlay .tumAramalar.search-popup-all {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.search-popup-overlay .tumAramalar.search-popup-all:hover {
    background: var(--secondary-color);
    color: #fff;
}

.anaDiv {
    /*     padding: 30px;
    width: 100%; */
    background-color: white;
    margin: 0;
    padding: 0;
}

/* ========== Duyuru Popup (Yeni Sistem) ========== */
.duyuru-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.duyuru-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.duyuru-popup {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
}

.duyuru-popup-overlay.active .duyuru-popup {
    transform: scale(1) translateY(0);
}

.duyuru-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.duyuru-popup-close:hover {
    background: var(--secondary-color, #c9a063);
    transform: rotate(90deg);
}

.duyuru-popup-slider {
    position: relative;
    overflow: hidden;
}

.duyuru-popup-slide {
    display: none;
}

.duyuru-popup-slide.active {
    display: block;
}

.duyuru-popup-slide a {
    display: block;
    line-height: 0;
}

.duyuru-popup-slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    background: #f5f5f5;
}

.duyuru-popup-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.duyuru-popup-arrow:hover {
    background: var(--secondary-color, #c9a063);
}

.duyuru-popup-arrow.prev {
    left: 10px;
}

.duyuru-popup-arrow.next {
    right: 10px;
}

.duyuru-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 16px;
    background: var(--primary-color, #1a2b49);
}

.duyuru-popup-counter {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

.duyuru-popup-counter #duyuruCurrentIndex {
    color: #fff;
}

.duyuru-popup-hide-btn {
    padding: 10px 20px;
    background: var(--secondary-color, #c9a063);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.duyuru-popup-hide-btn:hover {
    background: #fff;
    color: var(--primary-color, #1a2b49);
}

.duyuru-popup-hide-btn:active {
    transform: scale(0.97);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .duyuru-popup-overlay {
        padding: 0.75rem;
    }

    .duyuru-popup {
        max-width: 100%;
        border-radius: 14px;
    }

    .duyuru-popup-slide img {
        max-height: 320px;
    }

    .duyuru-popup-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .duyuru-popup-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Responsive - Mobil */
@media (max-width: 576px) {
    .duyuru-popup-overlay {
        padding: 0.5rem;
    }

    .duyuru-popup {
        border-radius: 12px;
    }

    .duyuru-popup-slide img {
        max-height: 260px;
    }

    .duyuru-popup-close {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
    }

    .duyuru-popup-arrow {
        width: 32px;
        height: 32px;
    }

    .duyuru-popup-arrow.prev {
        left: 6px;
    }

    .duyuru-popup-arrow.next {
        right: 6px;
    }

    .duyuru-popup-footer {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
        text-align: center;
    }

    .duyuru-popup-hide-btn {
        width: 100%;
        padding: 12px;
    }
}

/* ========== Video Modal ========== */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: transparent;
    /* Changed from #000 to transparent so button outside doesn't look weird */
    /* border-radius: 12px;  Moved to content */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); Moved to content */
    /* overflow: hidden; REMOVED so button can be seen outside */
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: 0 20px;
    /* Ensure space on mobile sides */
}

.video-modal-overlay.active .video-modal {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -50px;
    /* Positioned above */
    right: 0;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.video-modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
    color: white;
}

.video-modal-content {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    /* Clip iframe here */
}

.video-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Play Button Hover Effect */
.playVideo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.playVideo:hover {
    transform: scale(1.15);
}

.playVideo img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: filter 0.2s ease;
}

.playVideo:hover img {
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .video-modal-overlay {
        padding: 0.5rem;
    }

    .video-modal {
        max-width: 100%;
        border-radius: 10px;
    }

    .video-modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Responsive - Mobil */
@media (max-width: 576px) {
    .video-modal-close {
        top: -38px;
        width: 32px;
        height: 32px;
    }
}


/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loader-content {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 5px solid rgba(17, 55, 104, 0.1);
    /* Kalınlık arttırıldı */
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.55, 0.055, 0.675, 0.19) infinite;
}

.spinner::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 5px solid transparent;
    /* Kalınlık arttırıldı */
    border-top: 5px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

.loader-logo-img {
    width: 120px;
    /* Logo boyutu büyütüldü */
    animation: pulse 2s ease-in-out infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
}

/* Hide loader class */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

.float-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: white !important;
}

.btn-whatsapp {
    background: #25d366;
    animation: pulseWhatsapp 2s infinite;
}

.btn-whatsapp:hover {
    background: #20ba5a;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .floating-buttons {
        right: 20px;
        bottom: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
.media-gallery {
    padding: 48px 0 72px;
    background-color: #f7f8fa;
    background-image:
        linear-gradient(30deg, rgba(26, 43, 73, 0.04) 12%, transparent 12.5%),
        linear-gradient(150deg, rgba(26, 43, 73, 0.04) 12%, transparent 12.5%);
    background-size: 60px 60px;
}

.media-gallery__grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 32px;
    align-items: stretch;
}

/* Genel kart yapısı */
.media-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
}

.media-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

.media-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26, 43, 73, 0.15) 0%,
        transparent 35%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
}

.media-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.media-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.media-card__btn {
    align-self: flex-start;
    margin-top: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.media-card--large:hover .media-card__btn {
    background: #fff;
    color: #1a2b49;
}

/* Büyük kart – sol taraf */
.media-card--large {
    min-height: 420px;
}

/* Sağ üst – albümler */
.media-gallery__albums {
    margin-bottom: 20px;
}

.media-gallery__albums-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.media-gallery__albums-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-color, #1a2b49);
}

.media-gallery__albums-header a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color, #c9a063);
    text-decoration: none;
}

.media-gallery__albums-header a:hover {
    text-decoration: underline;
}

.media-gallery__albums-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.media-card--album {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.media-card__label {
    position: relative;
    z-index: 1;
    display: block;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Sağ alt – Video Galeri (tek kart) */
.media-gallery__bottom {
    display: block;
}

.media-card--bottom {
    min-height: 200px;
}

.media-card--video .media-card__overlay {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.2) 0%,
        transparent 40%,
        rgba(201, 160, 99, 0.25) 70%,
        rgba(26, 43, 73, 0.9) 100%);
}

.media-card__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-top: 6px;
}

/* Hover */
.media-card:hover .media-card__bg {
    transform: scale(1.06);
}

/* Responsive */
@media (max-width: 992px) {
    .media-gallery__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .media-card--large {
        min-height: 300px;
    }

    .media-card--album {
        min-height: 110px;
    }

    .media-card--bottom {
        min-height: 160px;
    }
}