    /* Modern Tech-Agri Palette - Blue Theme */
    --primary: #1e3a8a; /* Deep Blue */
    --accent: #60a5fa; /* Light Blue (Tech Highlight) */
    --sand: #fdfbf7; 
    --slate: #0f172a; 
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif; /* Unified bold look */
}

/* Base Reset */
html {
    overflow-x: hidden;
}

body {
    background-color: var(--sand);
    color: var(--slate);
    font-family: var(--font-main);
    overflow-x: hidden;
    max-width: 100vw;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Hektaş Bahçe & Pet Exact Layout */
.header-main {
    background: #2563eb; /* Blue Theme */
    position: relative;
    padding: 1rem 0 2rem;
    z-index: 2100;
}

.header-top-row {
    background: transparent !important;
    border-bottom: none !important;
}

/* Floating Circular Logo */
.header-logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 2200;
    border: 12px solid #2563eb;
}

.header-logo-container img {
    height: 190px !important;
    width: auto !important;
    filter: none !important; /* Original logo colors */
    transition: transform 0.3s ease;
}

.header-logo-container:hover img {
    transform: scale(1.05);
}

/* Pill Search Bar */
.search-pill {
    background: #fdf5d7; /* Cream/Beige */
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    max-width: 320px;
}

.search-pill input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.85rem;
    width: 100%;
}

.search-pill i {
    color: #333;
}

/* Split Navigation */
.nav-row {
    margin-top: 1.5rem;
}

.nav-link-hektas {
    color: white !important;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    margin: 0 18px;
    transition: 0.3s;
}

.nav-link-hektas:hover {
    color: #fdf5d7 !important;
}

/* NAVIGATION DROPDOWN — üst kısımdaki eski tanım (alttaki override eder) */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease, visibility 0s linear 0s, transform 0.2s ease;
}
.nav-dropdown-menu a {
    display: block;
    padding: 8px 25px;
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.2s;
}
.nav-dropdown-menu a:hover {
    background: #f1f5f9;
    color: #2563eb;
    padding-left: 30px;
}

/* MEGA DROPDOWN */
.nav-dropdown-menu.mega-dropdown {
    width: 650px;
    padding: 25px;
    left: -200px;
}
.mega-dropdown .row {
    display: flex;
}
.dropdown-col {
    flex: 1;
    padding: 0 15px;
}
.dropdown-col:not(:last-child) {
    border-right: 1px solid #f1f5f9;
}
.dropdown-header {
    font-weight: 800;
    color: #064e3b;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.dropdown-header i {
    color: #94c11f;
}
.dropdown-col a {
    display: block;
    padding: 5px 0 !important;
    font-size: 0.82rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    transition: 0.2s;
    background: transparent !important;
}
.dropdown-col a:hover {
    color: #2563eb !important;
    padding-left: 5px !important;
    background: transparent !important;
}


/* User Actions */
.platform-btn {
    background: white;
    color: #333;
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.action-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Trust Badges - Hektaş Style */
.trust-badges {
    background: white;
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem;
    background: white;
}

.trust-item i {
    font-size: 2.2rem;
    color: #2563eb;
}

.trust-item h6 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
}

.trust-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Hektaş Footer */
.hektas-footer {
    background: #2563eb;
    color: white;
    padding: 4rem 0 2rem;
}

.hektas-footer h5 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

/* New Black Bottom Bar */
.footer-bottom-bar {
    background: #000000;
    color: white;
    padding: 20px 0;
    width: 100%;
}

.designer-logo {
    height: 90px;
    width: auto;
    transition: 0.3s;
}

.designer-logo:hover {
    transform: scale(1.05);
}


.social-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 10px;
    transition: 0.3s;
    color: white !important;
}

.sc-fb { background: #3b5998; }
.sc-ig { background: #e1306c; }
.sc-yt { background: #ff0000; }
.sc-li { background: #0077b5; }
.sc-wa { background: #25d366; }

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.3s;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
    color: white;
}

.float-whatsapp { background: #25d366; }
.float-mail { background: #2563eb; }

/* Programlar Section */
.program-section {
    background: #f8fafc;
    padding: 5rem 0;
}

.program-tabs .nav-link {
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
}

.program-tabs .nav-link.active {
    background: white;
    color: #064e3b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.program-card {
    background: #2563eb; /* Blue Frame */
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: #ffffff; /* Changed to White */
    transition: 0.4s;
    border: none;
    height: 100%;
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-10px);
    background: #3b82f6;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.program-icon {
    font-size: 3.5rem;
    color: #ffffff; /* Changed to White */
    margin-bottom: 2rem;
    display: block;
}

.program-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.program-card .detay-link {
    font-size: 0.85rem;
    color: #ffffff; /* Changed to White */
    font-weight: 700;
    text-decoration: none;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.program-card:hover .detay-link {
    opacity: 1;
}

/* Adjustments for categories icons */
.hektas-icon-box {
    width: 110px;
    height: 110px;
    background: white;
    border: 3px solid #2563eb;
    color: #2563eb;
    border-radius: 50%;
}

.hektas-item:hover .hektas-icon-box {
    background: #2563eb;
    color: white;
    transform: scale(1.05);
}

/* Optimized Banner Area */
.top-banner-area {
    height: 280px; /* SLIM BANNER */
    position: relative;
    overflow: hidden;
}

.top-banner-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.5) 100%);
}

.banner-title {
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    letter-spacing: -1px;
    line-height: 1.1;
}

.banner-subtitle {
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headings */
.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-bg-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: var(--primary);
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 4rem); /* FONT REDUCED */
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    color: var(--primary);
}

.hero-content h1 span {
    color: var(--accent);
    display: block;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper img {
    border-radius: 30px;
    box-shadow: 50px 50px 0 var(--accent);
}

/* Asymmetrical Cards */
.card {
    border: none;
    background: white;
    border-radius: 24px;
    padding: 1rem;
    transition: all 0.4s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: 0 40px 80px rgba(0,78,59,0.1);
}

.card-img-top {
    border-radius: 20px;
    height: 250px;
    object-fit: cover;
}

.category-pill {
    display: inline-block;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 100px;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    color: var(--primary);
}

.category-pill:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Innovation Section - Dark Mode */
.innovation-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1500382017468-9049fee74a52?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* FIXED LOKED BACKGROUND */
    color: white;
    border-radius: 50px;
    padding: 6rem 0;
    margin: 4rem 20px;
}

/* Banner display sizes — keep large for impact */
.display-3 { font-size: clamp(1.5rem, 3vw, 2.2rem) !important; }
.display-4 { font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important; }
.display-5 { font-size: clamp(1.2rem, 2vw, 1.6rem) !important; }
.display-6 { font-size: clamp(1rem, 1.5vw, 1.2rem) !important; }

/* Override display sizes inside program-section heading only */
.program-section h2.display-5 {
    font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
}

.x-small { font-size: 0.7rem; }
.fw-900 { font-weight: 900; }
.letter-spacing-1 { letter-spacing: 1px; }
.letter-spacing-2 { letter-spacing: 2px; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
}

.text-accent {
    color: var(--accent) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.animate-reveal {
    animation: reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes reveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hover-scale {
    transition: transform 0.4s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

.object-fit-cover {
    object-fit: cover;
}

/* Global Button */
.btn-primary {
    background-color: var(--primary);
    border: none;
    padding: 0.8rem 2.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* Animations */
@keyframes reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-reveal {
    animation: reveal 0.8s ease forwards;
}

/* Removing Topbar for this 'Minimal Tech' design */
.top-bar { display: none !important; }

/* Hektaş Exact Style Icons */
.hektas-icon-box {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #d1fae5; /* Very light green border */
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    color: var(--primary);
    background: #f0fdf4; /* Ultra light green background */
    transition: all 0.5s cubic-bezier(0.3, 1, 0.4, 1);
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.hektas-icon-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    top: 100%;
    left: 0;
    transition: 0.4s;
    z-index: 1;
}

.hektas-icon-box i {
    position: relative;
    z-index: 2;
    transition: 0.4s;
}

.hektas-item:hover .hektas-icon-box {
    border-color: var(--primary);
    transform: scale(1.1);
}

.hektas-item:hover .hektas-icon-box::after {
    top: 0;
}

.hektas-item:hover .hektas-icon-box i {
    color: white;
}

.hektas-item {
    text-decoration: none !important;
    display: block;
    padding: 1rem;
    transition: 0.3s;
}

.hektas-item span {
    color: #334155;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    transition: 0.3s;
}

.hektas-item:hover span {
    color: var(--primary);
}

.transition-3 { transition: 0.3s; }
.hover-shadow:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar { padding: 0.5rem 1rem; }
}

/* Blog Section - Hektaş Style */
.blog-section {
    padding: 5rem 0;
    background: white;
}

.kategoriler-section {
    background: #f8fafc;
}

.kategori-sub {
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto;
}

.blog-title {
    color: #2563eb;
    font-weight: 800;
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.blog-card {
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: none;
    cursor: pointer;
    margin-bottom: 30px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.5rem;
    background: transparent;
    color: white;
    text-align: left;
}

.blog-overlay h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.2;
    background: rgba(37, 99, 235, 0.7);
    color: #ffffff;
    padding: 8px 12px;
    display: inline-block;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-overlay p {
    font-size: 0.85rem;
    font-weight: 300;
    margin-top: 8px;
    margin-bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    line-height: 1.4;
}

/* --- Integrated from Index Inline Styles --- */

/* Scroll Progress Bar */
#scroll-progress {
    display: none !important;
}

/* Dropdown Nav */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-menu {
    position: absolute;
    top: 100%;           /* Boşluk yok — padding ile mesafe verildi */
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 3000;
    padding-top: 18px;   /* Görsel boşluk — ama hover alanı kopmuyor */
    padding-bottom: 8px;
    border-top: 3px solid #2563eb;
    /* opacity/visibility ile gecikmeli kapanma */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0s linear 0.2s, transform 0.2s ease;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.2s ease, visibility 0s linear 0s, transform 0.2s ease;
}
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    font-size: 1.1rem; font-weight: 600;
    color: #334155; text-decoration: none;
    transition: 0.2s;
}
.nav-dropdown-menu a:hover { background: #f0fdf4; color: #064e3b; padding-left: 26px; }
.nav-dropdown-menu a i { color: #2563eb; width: 16px; }

.nav-link-hektas.has-dropdown::after { content: ' ▾'; font-size: 0.7rem; }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Back to Top */
#back-to-top {
    position: fixed; bottom: 120px; right: 30px;
    width: 50px; height: 50px; background: #064e3b;
    color: white; border: none; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s; z-index: 9998;
    display: none; align-items: center; justify-content: center;
}
#back-to-top:hover { background: #2563eb; transform: translateY(-3px); }
#back-to-top.show { display: flex; }

/* Cookie Banner */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #0f172a; color: white;
    padding: 1.2rem 2rem;
    z-index: 99999;
    display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { margin: 0; font-size: 0.82rem; flex: 1; opacity: 0.85; }
#cookie-banner a { color: #60a5fa; }

.cookie-accept {
    background: #2563eb; color: #ffffff; border: none;
    padding: 0.5rem 1.5rem; border-radius: 50px;
    font-weight: 700; font-size: 0.8rem; cursor: pointer;
    transition: 0.2s;
}
.cookie-accept:hover { background: #3b82f6; }

.cookie-reject {
    background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem; border-radius: 50px;
    font-weight: 600; font-size: 0.8rem; cursor: pointer;
    transition: 0.2s;
}
.cookie-reject:hover { color: white; border-color: white; }

/* Announcement Bar */
.announcement-bar {
    background: #064e3b;
    color: white;
    text-align: center;
    padding: 0.6rem;
    font-size: 1.05rem;
    font-weight: 600;
}
.announcement-bar a { color: #60a5fa; text-decoration: none; }
.announcement-bar span { opacity: 0.7; margin: 0 8px; }

/* Pagination Styles */
.page-link { color: #064e3b; font-weight: 600; }
.page-link:hover { color: #2563eb; background-color: #eff6ff; }
.page-item.active .page-link { background-color: #064e3b; border-color: #064e3b; color: white; }
.page-item.disabled .page-link { color: #94a3b8; }

/* Category Slider Custom styles */
.kategoriler-slider-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.text-light-green {
    color: #94c11f !important;
}

.about-section {
    padding: 100px 0;
    background: #fdfbf7;
}

.about-image-stack {
    position: relative;
}

.about-image-main {
    border-radius: 30px;
    box-shadow: 20px 20px 0 #94c11f;
    width: 90%;
}

.about-image-sub {
    position: absolute;
    bottom: -30px;
    right: 0;
    width: 50%;
    border: 10px solid white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- SITE-WIDE SPACE COMPRESSION --- */
/* Overriding Bootstrap spacing classes to minimize white space */
.py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.pt-5 { padding-top: 1.5rem !important; }
.pb-5 { padding-bottom: 1.5rem !important; }
.mt-5 { margin-top: 1.5rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.my-4 { margin-top: 1rem !important; margin-bottom: 1rem !important; }

.g-5, .gy-5 { --bs-gutter-y: 1.5rem !important; }
.g-4, .gy-4 { --bs-gutter-y: 1rem !important; }

/* Custom Sections Compression */
.kategoriler-section, 
.about-section, 
.blog-section, 
.trust-badges, 
.programlar-section {
    padding: 25px 0 !important;
}

.hektas-footer {
    padding: 60px 0 !important;
}


/* Base Body Background */
body {
    background-color: #f3f4f6 !important;
}



/* Activity Cards */
.activity-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(6, 78, 59, 0.15) !important;
}

.activity-card img {
    transition: transform 0.6s ease;
}

.activity-card:hover img {
    transform: scale(1.05);
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */
#hamburger-btn {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2300;
    background: white;
    border: none;
    border-radius: 10px;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
    padding: 0;
}
#hamburger-btn:hover {
    background: #f0f4ff;
    transform: scale(1.05);
}
#hamburger-btn span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #2563eb;
    border-radius: 3px;
    transition: 0.3s;
}

/* ============================================
   SIDEBAR OVERLAY
   ============================================ */
#sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
#sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* ============================================
   SIDEBAR DRAWER
   ============================================ */
#sidebar-drawer {
    position: fixed;
    top: 0;
    left: -340px;
    width: 320px;
    height: 100vh;
    background: #0f172a;
    z-index: 4100;
    overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
}
#sidebar-drawer.open {
    left: 0;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: #1e3a8a;
    flex-shrink: 0;
}
.sidebar-logo {
    height: 55px;
    width: auto;
    filter: brightness(0) invert(1);
}
#sidebar-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
#sidebar-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Sidebar Body */
.sidebar-body {
    padding: 12px 0;
    flex: 1;
}

/* Direct links */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 22px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.2s;
    border-left: 3px solid transparent;
}
.sidebar-link:hover {
    background: rgba(255,255,255,0.06);
    color: white;
    border-left-color: #60a5fa;
}
.sidebar-link i {
    color: #60a5fa;
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

/* Accordion Groups */
.sidebar-group {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-group-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 22px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: 0.2s;
}
.sidebar-group-btn:hover {
    background: rgba(255,255,255,0.06);
    color: white;
    border-left-color: #60a5fa;
}
.sidebar-group-btn span {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-group-btn span i {
    color: #60a5fa;
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}
.sidebar-group-btn > .fa-chevron-down {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s ease;
}
.sidebar-group-btn.open > .fa-chevron-down {
    transform: rotate(180deg);
}

/* Accordion Menu */
.sidebar-group-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(0,0,0,0.2);
}
.sidebar-group-menu.open {
    max-height: 600px;
}
.sidebar-group-menu a {
    display: block;
    padding: 9px 22px 9px 52px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}
.sidebar-group-menu a:hover {
    color: #60a5fa;
    padding-left: 58px;
}
.sidebar-sub-title {
    display: block;
    padding: 8px 22px 4px 52px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(96,165,250,0.7);
    text-transform: uppercase;
}

/* Contact area at bottom */
.sidebar-contact {
    margin-top: auto;
    padding: 16px 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.2s;
}
.sidebar-contact a:hover { color: #60a5fa; }
.sidebar-contact a i { color: #60a5fa; width: 16px; }

/* Grid ikon butonu — yazısız, yuvarlak */
.nav-grid-btn {
    background: rgba(255,255,255,0.18) !important;
    border-radius: 50% !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 8px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s !important;
}
.nav-grid-btn:hover {
    background: rgba(255,255,255,0.35) !important;
    transform: scale(1.1);
}
.nav-grid-btn i {
    font-size: 1.1rem;
    color: white !important;
    margin: 0 !important;
}
/* has-dropdown ok işaretini gizle bu buton için */
.nav-grid-btn.has-dropdown::after {
    display: none !important;
}

/* --- MOBİL HEADER DÜZELTİLMESİ ---
   Admin butonu + ikonlar mobilde görünür, logo üstte ortalanmış halde */
@media (max-width: 991px) {

    /* Header yüksekliği admin butonuna yer açıyor */
    .header-main {
        padding: 1rem 0 1.4rem !important;
        min-height: 130px !important;
    }

    /* Logo küçük ekranda */
    .header-logo-container {
        width: 160px !important;
        height: 160px !important;
        border-width: 8px !important;
        top: 0 !important;
    }
    .header-logo-container img {
        height: 110px !important;
    }

    /* Header içindeki sıra: arama gizlendi,
       admin btn + ikonlar sağ tarafa hizalandı */
    .header-main .col-lg-4.d-flex {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important;
        padding-right: 12px;
        padding-top: 6px;
        flex-wrap: wrap;
    }

    /* Admin butonu daha küçük */
    .platform-btn span { font-size: 0.72rem !important; }
    .platform-btn { padding: 0.3rem 0.8rem !important; }

    /* Action ikonlar */
    .action-icon { width: 34px !important; height: 34px !important; font-size: 0.95rem !important; }

    .hero-slider-item { height: 400px !important; }
    .banner-title { font-size: 2.2rem !important; }
    .about-section { padding: 50px 0 !important; }
    .about-image-sub { display: none; }
}

@media (max-width: 767px) {
    /* Header */
    .header-main { padding: 0.6rem 0 1rem !important; min-height: 120px !important; }
    .header-logo-container { width: 110px !important; height: 110px !important; border-width: 6px !important; top: 8px !important; }
    .header-logo-container img { height: 75px !important; }
    #hamburger-btn { top: 12px; left: 12px; width: 42px; height: 42px; }

    /* Admin + ikonlar sağ üste: hamburger'in önüne geçmesin diye margin */
    .header-main .col-lg-4.d-flex {
        display: flex !important;
        position: absolute;
        top: 10px;
        right: 10px;
        gap: 6px !important;
        padding: 0 !important;
    }

    /* Admin yazısını gizle, sadece ikon gibi davransın */
    .platform-btn span { display: none !important; }
    .platform-btn {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.9rem !important;
    }
    .platform-btn::before {
        content: '⚙';
        font-size: 1rem;
        color: #333;
    }
    .action-icon { width: 34px !important; height: 34px !important; font-size: 0.9rem !important; }

    .announcement-bar { display: none !important; }

    /* Banner */
    .hero-slider-item { height: 260px !important; background-position: center center !important; }
    .banner-title { font-size: 1.45rem !important; letter-spacing: 0 !important; line-height: 1.3 !important; }
    .banner-subtitle { font-size: 0.85rem !important; }
    .carousel-indicators { bottom: 6px; }
    #heroCarousel > img { display: none !important; }

    /* Program / Ürün kartları */
    .program-section { padding: 1.5rem 0; }
    .program-card { border-radius: 14px; }
    .program-card .d-flex { height: 130px !important; }
    .program-card h4 { font-size: 0.95rem; }
    .program-card p.small { font-size: 0.78rem !important; }

    /* Hakkımızda */
    .about-section { padding: 25px 0 !important; }
    .about-image-main { box-shadow: 8px 8px 0 #94c11f; width: 100%; border-radius: 16px; }
    .about-image-sub { display: none; }

    /* Faaliyetler */
    .activity-card img { height: 150px !important; object-fit: cover; }
    .activity-card .p-4 { padding: 0.9rem !important; }
    .activity-card h5 { font-size: 1rem; }

    /* Trust Badges */
    .trust-badges { padding: 0.8rem 0 !important; }
    .trust-item { padding: 0.5rem 0.3rem; gap: 8px; }
    .trust-item i { font-size: 1.5rem; }
    .trust-item h6 { font-size: 0.78rem; }
    .trust-item p { font-size: 0.72rem; }

    /* Newsletter */
    .newsletter-section { padding: 1.2rem 0 !important; }

    /* Footer */
    .hektas-footer { padding: 25px 0 15px !important; }
    .hektas-footer h5 { font-size: 1rem; margin-bottom: 0.6rem; }
    .footer-link { font-size: 0.88rem; margin-bottom: 0.4rem; }
    .footer-bottom-bar { padding: 12px 0; }
    .designer-logo { height: 50px; }

    /* Social icons */
    .social-circle { width: 38px; height: 38px; font-size: 1rem; margin-right: 6px; }

    /* Floating buttons */
    .floating-contact { bottom: 18px; right: 12px; gap: 10px; }
    .float-btn { width: 48px; height: 48px; font-size: 1.3rem; }
    #back-to-top { bottom: 80px; right: 12px; width: 40px; height: 40px; font-size: 0.95rem; }

    /* Cookie banner */
    #cookie-banner { padding: 0.8rem 1rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    #cookie-banner p { font-size: 0.73rem; }

    /* Genel */
    body { font-size: 0.95rem; }
    .display-1 { font-size: 1.9rem !important; }
    .container { padding-left: 14px; padding-right: 14px; }

    /* Sidebar */
    #sidebar-drawer { width: 285px; }

    /* Urunler page sidebar sticky kapat */
    .sticky-top { position: static !important; }

    /* Page hero bar (iç sayfalar) */
    .page-hero-bar { padding: 130px 0 1.5rem !important; }
    .page-hero-bar h1 { font-size: 1.45rem !important; }

    /* Section heading */
    .activities-section h2, .about-section h2 { font-size: 1.4rem !important; }

    /* Overflow önle */
    .row { --bs-gutter-x: 1rem; }
    .container-fluid, .container { max-width: 100% !important; }
}

/* --- KÜÇÜK MOBİL (max 480px) --- */
@media (max-width: 480px) {
    .header-logo-container { width: 95px !important; height: 95px !important; border-width: 5px !important; top: 5px !important; }
    .header-logo-container img { height: 62px !important; }
    .hero-slider-item { height: 220px !important; }
    .banner-title { font-size: 1.2rem !important; }
    .program-card .d-flex { height: 115px !important; }
    .program-card h4 { font-size: 0.88rem; }
    .float-btn { width: 44px; height: 44px; font-size: 1.2rem; }
    .floating-contact { right: 10px; gap: 8px; }
}
