/* Google Fonts are loaded via <link> in HTML for better performance */


:root {
    --primary-color: #0d1b2a;
    --secondary-color: #1b263b;
    --accent-color: #d4af37;
    --accent-hover: #b5952f;
    --text-main: #e0e1dd;
    --text-muted: #9aa0a6;
    --bg-color: #05080f;
    --surface-color: rgba(13, 27, 42, 0.85);
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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


html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(5, 8, 15, 0.8), rgba(13, 27, 42, 0.9)), url('assets/hero_bg.webp');
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--text-main);
    line-height: 1.6;
    width: 100%;
    margin: 0;
    padding: 0;
    /* Çift scroll bar'ı engellemek için sadece html üzerinde overflow-x: hidden bırakıyoruz,
       fakat taşan içerikler olursa body'de de görünmemesi için bu ayarı yapıyoruz */
    overflow-x: clip; 
}

img, video {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--white);
}

a {
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =============================================
   NAVBAR
   ============================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: max(15px, env(safe-area-inset-top)) 0 15px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(13, 27, 42, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: max(10px, env(safe-area-inset-top)) 0 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Bootstrap navbar overrides */
.navbar {
    padding: 0 !important;
}

.navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

/* Logo with image layout */
.logo-with-img {
    display: flex !important;
    align-items: center;
}

.logo-img {
    height: 108px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.45));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-with-img:hover .logo-img {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.75));
    transform: scale(1.03);
}

/* Logo-text gizle — sadece görsel kullanılıyor */
.logo-text {
    display: none;
}

/* Footer logo biraz daha büyük */
footer .logo-img {
    height: 135px;
}

/* Nav links (desktop) */
.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links .nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main) !important;
    padding: 6px 10px !important;
    position: relative;
    padding-bottom: 8px !important;
}

.nav-links .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after {
    width: 80%;
}

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

/* Hamburger (custom three-line button) */
.hamburger {
    display: none;
    /* Hidden on desktop, Bootstrap handles responsive show/hide */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    background: transparent !important;
    border: none !important;
    padding: 4px !important;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    display: block;
    border-radius: 2px;
    transition: var(--transition);
}

/* Show hamburger on mobile via Bootstrap's toggler */
@media (max-width: 991.98px) {
    .hamburger {
        display: flex !important;
    }

    /* Mobile dropdown menu */
    .navbar-collapse {
        background: var(--primary-color);
        margin-top: 10px;
        border-radius: 8px;
        padding: 15px 20px 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-links .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
    }

    .nav-links .nav-link::after {
        display: none;
    }

    .nav-links li:last-child .nav-link {
        border-bottom: none;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-content > * {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content .hero-subtitle { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.3s; }
.hero-content p { animation-delay: 0.5s; }
.hero-content .hero-btns { animation-delay: 0.7s; }

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--accent-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: var(--bg-color) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn:hover {
    color: var(--accent-color) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
    border-color: var(--accent-color);
}

.btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-outline {
    background-color: transparent;
    color: var(--white) !important;
    border-color: var(--white);
}

.btn-outline::after {
    background-color: var(--white);
}

.btn-outline:hover {
    color: var(--bg-color) !important;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

/* =============================================
   COMMON SECTIONS
   ============================================= */
.section-padding {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
}

/* =============================================
   PAGE HEADER (Inner Pages)
   ============================================= */
.page-header {
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--white);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    transform: translate(15px, 15px);
    z-index: -1;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.features-list li::before {
    content: '✔';
    color: var(--accent-color);
    margin-right: 15px;
    font-weight: bold;
}

/* =============================================
   SERVICES GRID
   ============================================= */
.service-card {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-color);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.service-img-wrapper {
    margin: -40px -30px 25px -30px;
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid var(--accent-color);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--surface-color);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item .icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
    min-width: 24px;
}

.info-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.info-item p,
.info-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background-color: var(--primary-color);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-about .logo {
    margin-bottom: 10px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-social ul li a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.tbb-disclaimer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =============================================
   ANIMATIONS & SCROLL REVEALS
   ============================================= */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   TABLET (≤992px)
   ============================================= */
@media (max-width: 991.98px) {
    .logo-img {
        height: 85px;
    }
    footer .logo-img {
        height: 110px;
    }

    body {
        background-attachment: scroll;
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 35px 25px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }
}

/* =============================================
   MOBİL (≤768px)
   ============================================= */
@media (max-width: 767.98px) {
    .logo-img {
        height: 70px;
    }
    footer .logo-img {
        height: 90px;
    }

    .hamburger {
        margin-left: auto;
    }

    .hero {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    .page-header {
        min-height: 240px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 25px 20px;
    }
}

/* =============================================
   KÜÇÜK MOBİL (≤480px)
   ============================================= */
@media (max-width: 480px) {
    .logo-img {
        height: 55px;
    }
    footer .logo-img {
        height: 75px;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header {
        min-height: 200px;
    }

    .service-card {
        padding: 28px 20px;
    }

    .tbb-disclaimer {
        font-size: 0.75rem;
    }
}

/* =============================================
   WHATSAPP FLOAT BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: pulse-green 2s infinite;
}

/* WhatsApp Text Bubble */
.whatsapp-float::before {
    content: "Randevu İçin Tıklayınız";
    position: absolute;
    right: 75px; 
    top: 50%;
    transform: translateY(-50%);
    background-color: #25d366;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Text Bubble Pointer */
.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 63px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #25d366;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #FFF;
    transform: scale(1.05);
    animation: none;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.4);
}

.whatsapp-float:hover::before {
    background-color: #1ebe57;
    right: 80px;
}

.whatsapp-float:hover::after {
    border-color: transparent transparent transparent #1ebe57;
    right: 68px;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 15px;
        font-size: 30px;
    }
    /* Hide text bubble completely on mobile screens to save space and prevent overflow */
    .whatsapp-float::before,
    .whatsapp-float::after {
        display: none !important;
    }
}
/* =============================================
   NAVBAR DROPDOWN
   ============================================= */
.dropdown-menu {
    background: var(--surface-color);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    min-width: 200px;
    margin-top: 8px !important;
}

/* Desktop Dropdown Animation */
@media (min-width: 992px) {
    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: all 0.3s ease-out;
        pointer-events: none;
    }
    .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.dropdown-item {
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 10px 20px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: rgba(212,175,55,0.1);
    color: var(--accent-color);
    padding-left: 25px; /* Slight slide right on hover */
}

.nav-links .dropdown-toggle::after {
    border: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-links .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Mobile dropdown animated */
@media (max-width: 991.98px) {
    .dropdown-menu {
        display: block;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
        background: rgba(255, 255, 255, 0.03); 
        border: none;
        border-left: 2px solid var(--accent-color);
        border-radius: 6px;
        padding: 0; 
        box-shadow: none;
        margin: 5px 0 10px 10px !important; 
    }
    .dropdown-menu.show {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
        padding: 10px 0 10px 15px;
    }
    .dropdown-item {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255,255,255,0.04);
        font-size: 0.9rem;
        transform: translateX(-15px);
        opacity: 0;
        transition: all 0.4s ease;
    }
    .dropdown-menu.show .dropdown-item {
        transform: translateX(0);
        opacity: 1;
    }
    .dropdown-item:nth-child(1) { transition-delay: 0.05s; }
    .dropdown-item:nth-child(2) { transition-delay: 0.1s; }
    .dropdown-item:nth-child(3) { transition-delay: 0.15s; }
}

/* =============================================
   EMSAL KARAR KARTI
   ============================================= */
.emsal-card {
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.emsal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--accent-color);
    transition: height 0.4s ease;
}

.emsal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    border-color: rgba(212,175,55,0.2);
}

.emsal-card:hover::before {
    height: 100%;
}

.emsal-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.emsal-court-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.court-yargitay  { background: rgba(220,53,69,0.12); color: #ff6b7a; border: 1px solid rgba(220,53,69,0.25); }
.court-danistay  { background: rgba(13,110,253,0.12); color: #6ea8fe; border: 1px solid rgba(13,110,253,0.25); }
.court-aym       { background: rgba(212,175,55,0.12); color: var(--accent-color); border: 1px solid rgba(212,175,55,0.25); }
.court-aihm      { background: rgba(25,135,84,0.12); color: #75b798; border: 1px solid rgba(25,135,84,0.25); }

.emsal-hukuk-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emsal-title {
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.4;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.emsal-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.04);
}

.emsal-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.emsal-meta-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 600;
}

.emsal-meta-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.emsal-summary {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
    flex-grow: 1;
}

/* =============================================
   MAKALELER & HABERLER
   ============================================= */

/* --- Filtre Çubuğu --- */
.makale-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted);
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-color);
}

/* --- Makale Kartı --- */
.makale-card {
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
    backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
}

.makale-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.makale-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    border-color: rgba(212, 175, 55, 0.2);
}

.makale-card:hover::after {
    width: 100%;
}

.makale-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.makale-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.badge-ceza    { background: rgba(220, 53, 69, 0.15); color: #ff6b7a; border: 1px solid rgba(220,53,69,0.3); }
.badge-idare   { background: rgba(13, 110, 253, 0.15); color: #6ea8fe; border: 1px solid rgba(13,110,253,0.3); }
.badge-is      { background: rgba(25, 135, 84, 0.15); color: #75b798; border: 1px solid rgba(25,135,84,0.3); }
.badge-aile    { background: rgba(111, 66, 193, 0.15); color: #c29ffa; border: 1px solid rgba(111,66,193,0.3); }
.badge-anayasa { background: rgba(212, 175, 55, 0.15); color: var(--accent-color); border: 1px solid rgba(212,175,55,0.3); }

.makale-type {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.makale-title {
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.45;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.makale-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.makale-meta {
    display: flex;
    gap: 18px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.makale-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.makale-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition);
    margin-top: auto;
}

.makale-read-more:hover {
    color: var(--white);
    gap: 12px;
}

.makale-add-note {
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.makale-add-note i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* --- Haberler Bölümü --- */
.haber-section {
    background: rgba(13, 27, 42, 0.4);
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* Featured Haber */
.haber-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.haber-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0,0,0,0.5);
}

.haber-featured-img {
    position: relative;
    overflow: hidden;
    max-height: 400px;
}

.haber-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.haber-featured:hover .haber-featured-img img {
    transform: scale(1.05);
}

.haber-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--bg-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.haber-featured-body {
    background: var(--surface-color);
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.haber-meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.haber-category-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(212,175,55,0.12);
    color: var(--accent-color);
    border: 1px solid rgba(212,175,55,0.25);
    font-family: 'Inter', sans-serif;
}

.haber-date {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
}

.haber-featured-title {
    font-size: 1.6rem;
    line-height: 1.35;
    color: var(--white);
    margin: 0;
}

.haber-featured-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

/* Haber Kartı */
.haber-card {
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.haber-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    border-color: rgba(212,175,55,0.15);
}

.haber-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.haber-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.haber-card:hover .haber-card-img img {
    transform: scale(1.08);
}

.haber-card-img .haber-category-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
}

.haber-card-body {
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.haber-card-title {
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.45;
    margin: 0;
}

.haber-card-excerpt {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.haber-read-link {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    margin-top: 8px;
}

.haber-read-link:hover {
    color: var(--white);
    gap: 10px;
}

/* Responsive – Haberler */
@media (max-width: 991.98px) {
    .haber-featured {
        grid-template-columns: 1fr;
    }
    .haber-featured-img {
        max-height: 280px;
    }
    .haber-featured-body {
        padding: 30px 25px;
    }
    .haber-featured-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .makale-filter-bar {
        gap: 8px;
    }
    .filter-btn {
        padding: 7px 15px;
        font-size: 0.8rem;
    }
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
    z-index: 1050;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.cookie-text i {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-cookie {
    background: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie:hover {
    background: #e6c55c;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   CUSTOM CHECKBOX (KVKK)
   ============================================= */
.kvkk-checkbox-label {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--white);
    line-height: 1.5;
    margin-top: 15px;
    width: 100%;
}

.kvkk-checkbox-label span {
    display: block !important;
    flex: 1 !important;
    text-align: left !important;
}

.kvkk-checkbox-label span a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 500;
}

.kvkk-checkbox-label input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 3px !important; /* aligns with text visually */
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    border: 2px solid var(--accent-color) !important;
    border-radius: 4px !important;
    position: relative !important;
    cursor: pointer;
    flex-shrink: 0 !important;
    display: inline-block !important;
    outline: none !important;
    transition: all 0.2s ease !important;
}

.kvkk-checkbox-label input[type="checkbox"]::after {
    content: "âœ”";
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    color: var(--bg-color) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    transition: transform 0.2s ease-in-out !important;
}

.kvkk-checkbox-label input[type="checkbox"]:checked {
    background-color: var(--accent-color) !important;
}

.kvkk-checkbox-label input[type="checkbox"]:checked::after {
    transform: translate(-50%, -50%) scale(1) !important;
}
