/* ============================================
   SEKÜLERLIK SEMPOZYUMU - AKADEMİK TASARIM
   Last Build: 2026-02-09
   ============================================ */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
iframe,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    --primary: #1e3a5f;
    /* Koyu Lacivert */
    --primary-dark: #152a45;
    --accent: #c9a227;
    /* Altın */
    --accent-hover: #b8931f;
    --bg-light: #f8f9fa;
    --bg-alt: #eef2f7;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --border: #dfe6e9;
    --success: #27ae60;
    --error: #e74c3c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-contact {
    text-align: right;
}

.navbar {
    padding: 10px 0;
}

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

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


.logo-text {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-menu a {
    display: block;
    padding: 10px 18px;
    font-weight: 600;
    color: var(--text-dark);
    border-radius: 5px;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    /* Academic standard */
}

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    /* Larger touch target */
    z-index: 1002;
    /* Ensure above menu */
}

.nav-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* ============================================
   HERO / BANNER SLIDER
   ============================================ */
.hero {
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-slide:first-child {
    position: relative;
}

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

.hero-banner {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--white);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.content-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent);
}

.content-box p {
    margin-bottom: 15px;
}

.note {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Konular */
.topic-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.topic-list li {
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: transform 0.3s;
}

.topic-list li:hover {
    transform: translateX(5px);
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

.committee-box {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.committee-box h3 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.committee-box ul {
    list-style: none;
}

.committee-box li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.committee-box li:last-child {
    border-bottom: none;
}

/* Timeline */
.timeline {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

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

.timeline-date {
    min-width: 150px;
    font-weight: 700;
    color: var(--primary);
    background: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.timeline-content {
    flex: 1;
    padding: 10px 0;
}

/* ============================================
   BAŞVURU FORMU
   ============================================ */
.form-intro {
    text-align: center;
    margin-bottom: 30px;
}

.form-intro a {
    color: var(--accent);
    font-weight: 600;
}

.application-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

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

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

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: var(--error);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.word-count {
    display: block;
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.error-message {
    display: block;
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 1.2em;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    background: var(--primary);
    color: var(--white);
    padding: 15px 50px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(30, 58, 95, 0.3);
}

.success-message {
    display: none;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

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

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

/* ============================================
   İLETİŞİM
   ============================================ */
/* ============================================
   HOMEPAGE GRID
   ============================================ */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.section-title-sm {
    font-size: 1.5rem;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.announcement-list {
    list-style: none;
}

.announcement-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 15px;
    align-items: center;
}

.announcement-list li:last-child {
    border-bottom: none;
}

.announcement-list .date {
    background: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
}

.announcement-list a {
    color: var(--text-dark);
    font-weight: 500;
}

.announcement-list a:hover {
    color: var(--accent);
}

.about-preview p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.read-more {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: var(--accent);
    margin-left: 5px;
}

@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   İLETİŞİM
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.contact-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-box a {
    color: var(--accent);
    font-weight: 600;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content p {
    margin: 5px 0;
    opacity: 0.9;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 1001;
        border-top: 1px solid var(--border);
    }

    .header-logo {
        width: 50px;
        height: 50px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo {
        gap: 10px;
        padding-right: 10px;
    }

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

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

    .application-form {
        padding: 25px;
    }

    .section {
        padding: 40px 0;
    }

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

    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }

    .timeline-date {
        min-width: auto;
    }
}