/* İzmir Multipl Skleroz Derneği - Ana Stil Dosyası */

:root {
    --primary-color: #7986CB; /* Pastel Mavi - Logodaki mavi tonları */
    --primary-dark: #3F51B5; /* Koyu Mavi - Vurgu için */
    --secondary-color: #FFB74D; /* Pastel Turuncu - Logodaki turuncu tonları */
    --secondary-dark: #F7941D; /* Koyu Turuncu - Vurgu için */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-section img {
    height: 80px;
    width: auto;
}

.site-title {
    display: flex;
    flex-direction: column;
}

.site-title h1 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.site-title p {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Navigation */
nav {
    background-color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

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

/* Slider Section */
.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: var(--light-bg);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    color: var(--white);
}

.slide-1 {
    background: linear-gradient(135deg, rgba(63, 81, 181, 0.9), rgba(121, 134, 203, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><rect fill="%233F51B5" width="1200" height="500"/></svg>');
    background-size: cover;
    background-position: center;
}

.slide-2 {
    background: linear-gradient(135deg, rgba(255, 183, 77, 0.9), rgba(247, 148, 29, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><rect fill="%23FFB74D" width="1200" height="500"/></svg>');
    background-size: cover;
    background-position: center;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInDown 0.8s ease-out;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: slideInUp 0.8s ease-out;
}

.slide-content .btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--white);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideInUp 1s ease-out;
}

.slide-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

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

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

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

.slider-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.arrow {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content */
main {
    padding: 40px 0;
    min-height: 400px;
}

/* Info Cards Section */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.info-cards-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.info-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-top-color: var(--secondary-dark);
}

.info-card .icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.info-card:hover .icon {
    color: var(--secondary-dark);
    transform: scale(1.1);
}

.info-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}

.content-section {
    background-color: var(--white);
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 3px solid var(--secondary-dark);
    padding-bottom: 10px;
}

.content-section h3 {
    color: var(--primary-dark);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.content-section p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Events Section */
.events-section {
    margin: 50px 0;
}

.event-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-color);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-color: var(--secondary-dark);
}

.event-header {
    display: flex;
    gap: 30px;
    padding: 30px;
    align-items: center;
}

.event-poster {
    flex-shrink: 0;
    width: 250px;
    height: auto;
}

.event-poster img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.event-details {
    flex: 1;
}

.event-badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.event-details h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.event-info-item .icon {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.event-info-item strong {
    color: var(--primary-dark);
    min-width: 80px;
}

.event-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
}

.event-link {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .event-header {
        flex-direction: column;
        padding: 20px;
    }

    .event-poster {
        width: 100%;
        max-width: 300px;
    }

    .event-details h3 {
        font-size: 1.5rem;
    }
}

/* Yönetim Kurulu */
.board-section {
    margin-bottom: 40px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.board-member {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.board-member h4 {
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.board-member .position {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 80px 20px;
}

.coming-soon h2 {
    color: var(--primary-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.coming-soon p {
    color: var(--gray);
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-info a {
    color: var(--secondary-dark);
    text-decoration: none;
}

.footer-info a:hover {
    text-decoration: underline;
}

.footer-credits {
    text-align: right;
    font-size: 0.9rem;
}

.footer-credits a {
    color: var(--secondary-dark);
    text-decoration: none;
    font-weight: 600;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .site-title h1 {
        font-size: 1.5rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .slider-container {
        height: 400px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slide-content .btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-credits {
        text-align: center;
    }

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

    .info-cards,
    .info-cards-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .info-cards-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 350px;
    }

    .slide-content {
        padding: 0 20px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slider-arrows {
        padding: 0 10px;
    }
}
