@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #C60C0E;
    --primary-dark: #a00a0b;
    --secondary-color: #1a3a5f;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Layout */
header {
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.banner-container {
    position: relative;
    margin-bottom: 1rem;
    height: 200px; /* Daha kısa modern yükseklik */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9); /* Yazının daha iyi okunması için hafif karartma */
}

.logo-overlay {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    text-align: left;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    letter-spacing: -1px;
}

.logo-text span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 0.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li a {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    border-radius: 4px;
    cursor: pointer;
}

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

/* SPA Sections */
.app-section {
    display: none;
}

.app-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* Marquee Replacement */
.news-ticker {
    background-color: #fcebeb;
    border-bottom: 1px solid #f5c2c2;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    position: relative;
    color: var(--primary-dark);
    font-weight: 500;
}

.news-ticker .container {
    overflow: hidden;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite; /* Biraz daha yavaş ve okunaklı */
    padding-left: 100%;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Main Layout */
.main-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 992px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Sidebar Links */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    background-color: #f1f3f5;
    border-radius: 6px;
    font-weight: 500;
    color: var(--secondary-color);
}

.sidebar-nav a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateX(5px);
}

/* Widgets Container */
.widgets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.widget-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Iframe Responsive Wrapper */
.iframe-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #eee;
    border-radius: 8px;
}

.slayt-wrapper {
    height: 500px;
}

.content-area ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.content-area ul li {
    margin-bottom: 0.6rem;
    position: relative;
    list-style: none;
    padding-left: 0.5rem;
}

.content-area ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1rem;
    margin-left: -1rem;
    font-size: 1.2rem;
    vertical-align: middle;
}

.news-item h3, .announcement-item h3 {
    line-height: 1.4;
}

.announcement-item p {
    margin-bottom: 0.5rem;
}

/* New Contact Form Styles */
.contact-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.form-group input, 
.form-group textarea {
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fcfcfc;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(198, 12, 14, 0.08);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(198, 12, 14, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(198, 12, 14, 0.4);
    filter: brightness(1.1);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item {
    background: var(--light-bg);
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-item h4 {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.info-item p {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Announcement Detail Styling */
.announcement-header {
    text-align: center;
    margin-bottom: 2rem;
}

.announcement-header h3 {
    margin: 5px 0;
    color: var(--secondary-color);
}

.announcement-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.board-signature {
    text-align: right;
    margin: 2rem 0;
}

.agenda-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}

.agenda-section h4 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.agenda-section ol {
    padding-left: 1.5rem;
}

.agenda-section ol li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    font-size: 0.95rem;
}


