/* CSS Variables */
:root {
    /* Colors extracted/inspired by the logo concept (Blue/Teal/Purple) */
    --primary-color: #2c7da0;
    /* Teal/Blueish */
    --secondary-color: #6a4c93;
    /* Purple */
    --accent-color: #468faf;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --footer-bg: #1a1a1a;
    --border-color: #e0e0e0;

    --container-width: 1200px;
    --padding-sm: 1rem;
    --padding-md: 2rem;
    --padding-lg: 4rem;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);

    --radius: 8px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.social-login {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons a {
    color: var(--white);
    margin-left: 10px;
}

.login-btn {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 4px;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    height: 80px;
    /* Adjust based on actual logo ratio */
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

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

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section & Slider */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    color: var(--white);
    background: #000;
    /* Fallback */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay for readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.95;
}

.hero-desc {
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}


/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-menu li a::after {
    display: none;
    /* Remove underline effect from main nav */
}

/* Quick Access */

.quick-access {
    transform: translateY(-50px);
    z-index: 10;
    position: relative;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.access-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform 0.3s;
    border-top: 5px solid var(--primary-color);
}

.access-card:hover {
    transform: translateY(-10px);
}

.access-card:nth-child(2) {
    border-top-color: var(--secondary-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.access-card:nth-child(2) .icon-box {
    color: var(--secondary-color);
}

.access-card h3 {
    margin-bottom: 15px;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.access-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    gap: 10px;
}

/* General Layout */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
    color: var(--text-dark);
}

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

/* Welcome Section */
.layout-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.btn-text:hover {
    border-bottom-color: var(--primary-color);
}

.rounded-img {
    border-radius: var(--radius);
}

/* News Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.btn-small {
    padding: 8px 20px;
    background: var(--text-dark);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.9rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}

.news-card:hover {
    box-shadow: var(--shadow-md);
}

.news-img {
    height: 200px;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-body {
    padding: 20px;
}

.news-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: #b0b0b0;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    /* Use logo here too, maybe filter to white if needed */
    margin-bottom: 20px;
    background: #fff;
    /* Temp fix for visibility */
    padding: 5px;
    border-radius: 4px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.footer-col ul li {
    margin-bottom: 10px;
}

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

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        /* Mobile menu implementation needed via JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }

    .menu-toggle {
        display: block;
    }

    .nav-list.active {
        display: flex;
    }

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

    .layout-2col {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
}



/* ========================================
   KONGRE TAKVİMİ SAYFA STİLLERİ - Basit Versiyon
   ======================================== */

/* Page Hero */
.page-hero {
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    color: var(--white);
    text-align: center;
}

.page-hero .hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-hero .hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Kongreler Section */
.kongreler-section {
    background: var(--bg-light);
}

/* Tab Navigation */
.kongre-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 35px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.tab-btn i {
    font-size: 1.2rem;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kongre-grup {
    margin-bottom: 60px;
}

.kongre-grup:last-child {
    margin-bottom: 0;
}

.kongre-grup .section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.kongre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Kongre Kartları */
.kongre-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.kongre-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.kongre-card.featured {
    border: 2px solid #e74c3c;
}

.kongre-card.past {
    opacity: 0.85;
}

/* Kongre Afişi */
.kongre-afis {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.kongre-afis img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.kongre-card:hover .kongre-afis img {
    transform: scale(1.05);
}

.kongre-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.kongre-badge.uluslararasi {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.kongre-badge.egitim {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.kongre-badge.completed {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.kongre-content {
    padding: 25px;
}

.kongre-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.kongre-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-item i {
    color: var(--primary-color);
    width: 20px;
}

.web-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s;
}

.web-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.kongre-dates {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.kongre-dates h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.kongre-dates ul {
    list-style: none;
}

.kongre-dates li {
    padding: 6px 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.kongre-dates strong {
    color: var(--primary-color);
    font-weight: 600;
}

.kongre-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
    padding: 15px 10px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.stat i {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.stat strong {
    display: block;
    font-size: 1.3rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    margin-bottom: 4px;
}

.stat span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.kongre-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero .hero-content h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .kongre-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .kongre-grid {
        grid-template-columns: 1fr;
    }

    .kongre-content h3 {
        font-size: 1.2rem;
    }

    .kongre-afis {
        height: 200px;
    }

    .kongre-actions {
        flex-direction: column;
    }

    .kongre-actions .btn,
    .kongre-actions .btn-link {
        width: 100%;
        justify-content: center;
    }

    .kongre-stats {