:root {
    --primary-dark: #001943;
    --primary-light: #96d6e3;
    --accent-gray: #637791;
    --text-white: #f5f7fa;
    --bg-light: #f5f7fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: var(--bg-light);
    color: #333;
    overflow-x: hidden;
}

.navbar {
    background: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: var(--primary-dark);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.navbar-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    transition: transform 0.3s ease;
}

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

.navbar-logo h1 {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1;
    color: var(--primary-light);
    font-size: 24px;
    letter-spacing: 2px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.navbar-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    font-size: 14px;
}

.navbar-link:hover {
    color: var(--primary-light);
}

.nav-btn {
    background: var(--primary-light);
    color: var(--primary-dark) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold !important;
}

.nav-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-light);
    transition: 0.3s;
    border-radius: 3px;
}

.navbar.scrolled .bar {
    background-color: white;
}

.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 25, 67, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%),
        url('image/etkinlik.jpeg');
    background-size: cover;
    background-position: center 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 60px;
}

.hero-content h2 {
    font-size: 60px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    color: white;
    font-family: 'Rock Salt', cursive;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    animation: fadeInUp 1.2s ease;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    min-width: 90px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(150, 214, 227, 0.3);
}

.countdown-value {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-light);
}

.countdown-label {
    font-size: 12px;
    text-transform: uppercase;
}

.btn-primary {
    padding: 12px 35px;
    background: var(--primary-light);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

section {
    padding: 80px 10%;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--primary-light);
    display: block;
    margin: 10px auto;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    transition: 0.4s;
    border-bottom: 4px solid var(--primary-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 300px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.venue-background {
    background: #eef2f7;
    padding: 80px 10%;
}

.venue-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.venue-text-wrapper {
    flex: 1;
    min-width: 300px;
}

.venue-map {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.venue-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.6);
    filter: brightness(1.1);
}

.special-font {
    font-family: 'Rock Salt', cursive;
    font-size: 0.8em;
    color: var(--primary-light);
}

.contact-header {
    height: 50vh;
    background: linear-gradient(135deg, rgba(0, 25, 67, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%),
        url('image/etkinlik.jpeg');
    background-size: cover;
    background-position: center 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
}

.contact-header h2 {
    font-size: 48px;
    font-family: 'Rock Salt', cursive;
    animation: fadeInUp 1s ease;
}

.contact-wrapper {
    padding: 60px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
}

.info-card,
.form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    border-bottom: 4px solid var(--primary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3,
.form-card h3 {
    font-size: 24px;
    color: var(--primary-dark);
    margin-bottom: 25px;
    position: relative;
}

.info-card h3::after,
.form-card h3::after {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--primary-light);
    display: block;
    margin-top: 8px;
}

.social-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.tiktok { background: #000; }
.instagram { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.linkedin { background: #0077b5; }
.email-info { background: var(--primary-dark); }

.social-link:hover {
    transform: translateX(10px);
    filter: brightness(1.1);
}

.social-link i {
    margin-right: 15px;
    font-size: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

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

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#duyurular .card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 20px;
    display: block;
    padding: 25px 40px;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

#duyurular .card:hover {
    transform: translateX(10px);
}

.slider {
    width: 100%;
    height: 150px;
    margin: auto;
    overflow: hidden;
    position: relative;
    background: rgba(0, 32, 89, 0.1);
}

.slide-track {
    display: flex;
    width: calc(450px * 8);
    animation: scroll 25s linear infinite;
}

.slide {
    width: 450px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 17px;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.1);
}

.slider:hover .slide-track {
    animation-play-state: paused;
}

.slider::before,
.slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.slider::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
}

.slider::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.1), transparent);
}

footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

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

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-450px * 4)); }
}

@media(max-width: 768px) {
    .hero h2 {
        font-size: 36px;
    }

    .contact-header h2 {
        font-size: 32px;
    }

    .contact-wrapper {
        margin-top: 20px;
        padding: 20px 5%;
    }

    .menu-toggle {
        display: flex !important;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--primary-dark);
        padding: 100px 30px;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.4);
    }

    .navbar-menu.active {
        display: flex;
        right: 0;
    }

    .navbar-logo h1 {
        display: none;
    }

    #duyurular .card {
        padding: 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .navbar-logo h1 {
        display: none;
    }
}

footer {
    background: var(--primary-dark);
    color: white;
    text-align: center;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.footer-logo {
    width: 60px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}