/* Mantar Enfeksiyonları Toplantısı - Modern Medical Congress Styling */
:root {
    --primary-color: #1a4f7c;
    --primary-dark: #0f3252;
    --primary-light: #2b70ab;
    --accent-red: #c92a2a;
    --accent-red-hover: #a61e1e;
    --accent-gold: #f59f00;
    --text-main: #2b303a;
    --text-muted: #6c757d;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --border-subtle: #edf2f7;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-red);
}

/* Header & Navigation */
.main-header {
    background-color: #ffffff;
    border-bottom: 2px solid #eef2f6;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area .brand-link {
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 75px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    display: inline-block;
    padding: 10px 14px;
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: #f1f5f9;
}

.nav-link.highlight {
    background: linear-gradient(135deg, var(--accent-red), #e03131);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(201, 42, 42, 0.25);
}

.nav-link.highlight:hover {
    background: linear-gradient(135deg, var(--accent-red-hover), #c92a2a);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(201, 42, 42, 0.35);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
}

/* Banner Section */
.banner-section {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.banner-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.banner-badge {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.banner-badge span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(15, 50, 82, 0.92);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.banner-badge .event-dates {
    background: linear-gradient(135deg, var(--accent-red), #e03131);
}

/* Page Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content {
    padding-bottom: 60px;
    min-height: calc(100vh - 450px);
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 4px solid var(--accent-red);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.page-breadcrumb {
    font-size: 13px;
    color: #cbd5e1;
}

.page-breadcrumb a {
    color: #e2e8f0;
}

.page-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Section Styling */
.content-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 35px;
    margin-bottom: 30px;
}

.content-card h2, .content-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-card h2:first-child, .content-card h3:first-child {
    margin-top: 0;
}

.content-card p {
    margin-bottom: 16px;
    text-align: left;
    color: #334155;
}

/* Countdown Area */
.countdown-section {
    background: linear-gradient(135deg, #0e2a47 0%, #1a4f7c 100%);
    color: #ffffff;
    padding: 45px 0;
    text-align: center;
    box-shadow: inset 0 3px 10px rgba(0,0,0,0.2);
}

.countdown-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 18px 24px;
    min-width: 110px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.countdown-card:hover {
    transform: translateY(-3px);
}

.countdown-val {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.countdown-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2e8f0;
    font-weight: 600;
}

/* Home Grid & Feature Cards */
.home-section {
    padding: 50px 0 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.president-card {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.president-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e2e8f0;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.president-info {
    flex: 1;
}

.president-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

.president-sub {
    font-size: 13.5px;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 12px;
}

/* Important Dates Card */
.dates-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.dates-box-header {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dates-list {
    list-style: none;
    padding: 0;
}

.date-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
    transition: background-color 0.2s ease;
}

.date-item:hover {
    background-color: #f8fafc;
}

.date-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #ffffff;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 115px;
    flex-shrink: 0;
}

.date-badge.highlight {
    background: linear-gradient(135deg, var(--accent-red), #e03131);
}

.date-badge .day {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.date-badge .year {
    font-size: 11px;
    opacity: 0.9;
}

.date-text {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-main);
}

/* Quick Action Boxes */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-box {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.feature-desc {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--accent-red);
    color: #ffffff;
}

.btn-accent:hover {
    background: var(--accent-red-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

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

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

/* Tables */
.custom-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 14px;
}

.custom-table th {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
}

.custom-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    color: #334155;
}

.custom-table tr:nth-child(even) {
    background-color: #f8fafc;
}

.custom-table tr:hover {
    background-color: #f1f5f9;
}

.price-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-red);
}

/* Committee Cards */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.member-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid #e2e8f0;
}

.member-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.member-role {
    font-size: 13px;
    color: var(--accent-red);
    font-weight: 600;
    margin-bottom: 8px;
}

.member-affil {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Scientific Program Days */
.program-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.program-tab-btn {
    padding: 12px 20px;
    background: #e2e8f0;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.program-tab-btn.active, .program-tab-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.program-day-content {
    display: none;
}

.program-day-content.active {
    display: block;
}

.session-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.session-header {
    background: #f1f5f9;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.session-time {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-red);
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.session-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 16px;
}

.session-chairs {
    font-size: 13px;
    color: #64748b;
    font-style: italic;
    width: 100%;
}

.session-talks {
    padding: 16px 20px;
}

.talk-item {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.talk-item:last-child {
    border-bottom: none;
}

.talk-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 14.5px;
}

.talk-speaker {
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 600;
}

/* Forms */
.form-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin-top: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 13.5px;
    color: #334155;
}

.form-label .required {
    color: var(--accent-red);
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 79, 124, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.field-validation-error {
    color: var(--accent-red);
    font-size: 12.5px;
    margin-top: 4px;
    display: block;
}

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #e6fcf5;
    border: 1px solid #c3fae8;
    color: #0ca678;
}

.alert-danger {
    background-color: #fff5f5;
    border: 1px solid #ffe3e3;
    color: #e03131;
}

.alert-info {
    background-color: #e7f5ff;
    border: 1px solid #d0ebff;
    color: #1971c2;
}

/* Footer */
.main-footer {
    background-color: #0b1f33;
    color: #cbd5e1;
    padding: 60px 0 20px;
    border-top: 4px solid var(--primary-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
    padding-bottom: 4px;
}

.footer-logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo {
    max-height: 55px;
    width: auto;
    background: #ffffff;
    padding: 6px;
    border-radius: 4px;
}

.footer-logo.diamed-logo {
    background: transparent;
   /*  filter: brightness(0) invert(1); */
}

.org-name, .partner-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

.org-addr, .partner-details {
    font-size: 13px;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: #cbd5e1;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1e3a58;
    padding-top: 20px;
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        margin-top: 15px;
    }
    
    .main-nav.open {
        display: block;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    
    .nav-link {
        padding: 12px 16px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.hover-zoom {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hover-zoom:hover {
    transform: scale(1.02);
    filter: brightness(1.02);
}