/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --primary-color: #D32F2F; /* Crimson Red */
    --primary-dark: #b71c1c;
    --secondary-color: #0B192C; /* Midnight Blue */
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

* {
    margin: -2px;
    padding: 2px;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    flex-wrap: nowrap;
    gap: 10px;
    min-width: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

.brand-icon {
    width: 54px;
    height: 54px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text .title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary-color);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.brand-text .subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
}

.main-nav {
    flex-shrink: 1;
    min-width: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.main-nav a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.nav-home {
    font-size: 1.3rem;
    color: var(--primary-color) !important;
}

.main-nav a.nav-home::after {
    display: none;
}

.btn-contact {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid var(--primary-color);
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: calc(100vh - 90px);
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(11, 25, 44, 0.9) 0%, rgba(11, 25, 44, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-box {
    max-width: 700px;
    color: var(--white);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 0 0 80px 0;
    background-color: transparent;
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Pulls it up slightly over the hero section */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-box {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(211, 47, 47, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
}

.feature-box h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ==========================================================================
   Güncel Bakış Section
   ========================================================================== */
.guncel-bakis-section {
    padding: 100px 0;
    background-color: #F4F6F9;
}

.section-title .subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.guncel-featured {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    margin-top: 50px;
    margin-bottom: 30px;
}

.guncel-image {
    flex: 0 0 45%;
    background: linear-gradient(135deg, var(--secondary-color), #1a365d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.1);
    font-size: 8rem;
    min-height: 400px;
}

.guncel-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    align-self: flex-start;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.guncel-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.guncel-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.guncel-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.guncel-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 30px;
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
    font-style: italic;
}

.btn-read-more {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    gap: 15px;
}

.guncel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.guncel-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-top: 3px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.guncel-card:hover {
    transform: translateY(-5px);
}

.badge-small {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.guncel-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.guncel-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .guncel-featured { flex-direction: column; }
    .guncel-image { min-height: 250px; }
}

@media (max-width: 768px) {
    .guncel-grid { grid-template-columns: 1fr; }
    .guncel-content { padding: 30px; }
    .guncel-title { font-size: 1.5rem; }
}

/* ==========================================================================
   Info Section
   ========================================================================== */
.info-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.separator {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .main-nav { 
        display: none; 
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 999;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    .main-nav a.btn-contact {
        display: inline-block;
        margin-top: 10px;
    }
    .mobile-toggle { display: block; }
    .hero-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-actions { flex-direction: column; }
    .hero-text-box { text-align: center; margin: 0 auto; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-bg img { object-position: center center; }
    .features-grid { grid-template-columns: 1fr; }
    .features-section { margin-top: 40px; }
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   News Portal Layout (Güncel Bakış)
   ========================================================================== */
.breaking-news-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--primary-color);
}

.ticker-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ticker-badge {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    font-size: 0.75rem;
    border-radius: 3px;
    white-space: nowrap;
}

.ticker-content a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.ticker-content a span {
    font-weight: 800;
    color: #ffcccc;
    margin-right: 5px;
}

.portal-container {
    padding: 30px 15px;
    max-width: 1200px;
}

/* Surmanset Grid */
.surmanset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.portal-card-small {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.portal-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 3rem;
}

.bg-grad-1 { background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d); }
.bg-grad-2 { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.bg-grad-3 { background: linear-gradient(135deg, #870000, #190a05); }
.bg-grad-4 { background: linear-gradient(135deg, #373B44, #4286f4); }
.bg-grad-5 {
    background: linear-gradient(135deg, #e63946, #b01b24);
}
.bg-grad-6 { background: linear-gradient(135deg, #cb2d3e, #ef473a); }
.bg-grad-7 { background: linear-gradient(135deg, #000000, #434343); }

.card-title {
    padding: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}

/* Main Area Layout */
.portal-main-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Manset Column */
.manset-slider-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.manset-slide {
    display: block;
    position: relative;
    height: 450px;
    text-decoration: none;
}

.manset-slide .slide-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 30px 40px 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: var(--white);
}

.slide-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 10px;
}

.slide-overlay h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.2;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-dots .dot.active {
    background: var(--primary-color);
}

.sub-manset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.portal-card-medium {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s;
}

.portal-card-medium:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.portal-card-medium .card-img {
    width: 94px;
    height: 75px;
    flex-shrink: 0;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
}

.portal-card-medium .card-body {
    padding: 15px;
}

.portal-card-medium h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.3;
}

/* Sidebar */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0;
}

.sidebar-slider-container {
    border: 1px solid #eaeaea;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-slide {
    display: block;
    text-decoration: none;
}

.sidebar-slide .slide-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.7);
}

.sidebar-slide .slide-title {
    padding: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.sidebar-video {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: auto;
    background: #000;
}

.video-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111, #333);
    text-decoration: none;
    position: relative;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(211,47,47,0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 2;
    transition: transform 0.3s;
}

.video-thumb:hover .play-btn {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .portal-main-area { grid-template-columns: 1fr; }
    .surmanset-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .manset-slide { height: 350px; }
    .slide-overlay h2 { font-size: 1.5rem; }
    .sub-manset-grid { grid-template-columns: 1fr; }
}

@media (max-width: 576px) {
    .surmanset-grid { grid-template-columns: 1fr; }
    .ticker-flex { flex-direction: column; align-items: flex-start; gap: 5px; }
}

/* Hide mobile-only home text on desktop */
.mobile-home-text {
    display: none;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Dropdown Menu Styles */
.has-dropdown {
    position: relative;
}
.dropdown-menu-custom {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none;
}
.has-dropdown:hover .dropdown-menu-custom {
    display: block;
}
.dropdown-menu-custom li {
    margin: 0;
    padding: 0;
}
.dropdown-menu-custom li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}
.dropdown-menu-custom li a:hover {
    background: #f8f9fa;
    color: #e50914;
    padding-left: 25px;
}

/* SUPER STRONG DROPDOWN FIX */
.main-nav ul.dropdown-menu-custom {
    display: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    background: #fff !important;
    min-width: 180px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1000 !important;
    list-style: none !important;
    overflow: hidden !important;
}
.main-nav ul.dropdown-menu-custom.show-dropdown {
    display: flex !important;
}
.main-nav ul.dropdown-menu-custom li {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}
.main-nav ul.dropdown-menu-custom li a {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
}
.main-nav ul.dropdown-menu-custom li a::after {
    display: none !important;
}


.responsive-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0 !important;
    overflow: hidden;
    background: #000;
}
.responsive-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Floating Üye Ol Button */
.floating-uyeol-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #d62828;
    color: #fff;
    border-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(214, 40, 40, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}
.floating-uyeol-btn:hover {
    background-color: #b01e22;
    transform: scale(1.05);
    color: #fff;
}
.floating-uyeol-btn i {
    font-size: 1.2rem;
}
