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

:root {
    --primary-gold: #FFD700;
    --primary-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-dark: #333333;
    --accent-blue: #2c5aa0;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --gradient-gold: linear-gradient(135deg, #FFD700, #FFA500);
    --gradient-dark: linear-gradient(135deg, #1a1a1a, #333333);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #6c757d;
    --border-color: #e9ecef;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #444444;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    padding-top: 90px;
}

header {
    background: var(--gradient-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    min-height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-right: 3rem;
}

.logo-img {
    width: 150px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: var(--primary-dark);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
    margin-left: auto;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 8px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-gold);
}

.nav-links a.active::after {
    width: 100%;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    border-radius: 6px;
}

.dropdown a::after {
    display: none;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #34495e;
    transition: 0.3s;
    border-radius: 30px;
    border: 2px solid var(--primary-gold);
}

.slider:before {
    position: absolute;
    content: "☀️";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: var(--primary-gold);
    transition: 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

input:checked+.slider {
    background-color: #f39c12;
}

input:checked+.slider:before {
    transform: translateX(28px);
    content: "🌙";
}

.hero-carousel {
    position: relative;
    height: calc(100vh - 90px);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-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;
    text-align: center;
    color: white;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    color: var(--primary-gold);
    font-weight: 600;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 24px;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.carousel-nav:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 30px;
}

.carousel-nav.next {
    right: 30px;
}

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

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--primary-gold);
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    flex: 0 0 auto;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.cta-button.secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.intro-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    text-align: center;
}

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

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
}

.intro-content h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.intro-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.highlight-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.values-preview {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

footer {
    background: var(--gradient-dark);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

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

.social-links li {
    margin-bottom: 0.8rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-gold);
}

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

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-dark);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        white-space: normal;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .nav-item {
        width: 100%;
        margin-bottom: 1rem;
        white-space: normal;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 0;
        white-space: normal;
    }

    .logo {
        margin-right: 1rem;
    }

    .logo-img {
        width: 120px;
        height: 70px;
    }

    .dropdown {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        border: none;
        margin-left: 20px;
        margin-top: 10px;
    }

    .dropdown a {
        color: var(--text-light);
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown a:hover {
        background-color: transparent;
        color: var(--primary-gold);
    }

    body {
        padding-top: 80px;
    }

    .hero-carousel {
        height: calc(100vh - 80px);
    }

    .slide-content h1 {
        font-size: 2.8rem;
    }

    .slide-content .subtitle {
        font-size: 1.2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .carousel-nav {
        padding: 10px 15px;
        font-size: 20px;
    }

    .carousel-nav.prev {
        left: 15px;
    }

    .carousel-nav.next {
        right: 15px;
    }

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

    .intro-content h2 {
        font-size: 2.2rem;
    }

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

    .highlight-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 75px;
    }

    .hero-carousel {
        height: calc(100vh - 75px);
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .highlight-stats {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (min-width: 769px) {
    .dropdown {
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s;
    }

    .nav-item:hover>.dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.anonim-soru-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.quiz-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.zekat-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

.two-column .left,
.two-column .right {
    flex: 1 1 350px;
    min-width: 300px;
    max-width: 600px;
}

.anonim-soru-section h2,
.quiz-section h2,
.zekat-section h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 16px;
}

.anonim-soru-section p,
.quiz-section p,
.zekat-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.anonim-soru-section iframe {
    border-radius: 12px;
    background: var(--bg-primary);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    width: 100%;
    height: 600px;
}

.quiz-section img,
.zekat-section img {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

.cta-button {
    display: inline-block;
    background: #FFD700;
    color: #181818;
    padding: 12px 32px;
    border-radius: 24px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
    margin-top: 12px;
}

.cta-button:hover {
    background: #fff;
    color: #FFD700;
}

@media (max-width: 900px) {
    .two-column {
        flex-direction: column;
        gap: 24px;
    }

    .two-column .left,
    .two-column .right {
        max-width: 100%;
    }
}

.social-media-section {
    padding: 60px 0 40px 0;
    background: var(--bg-primary);
}

.social-media-section .section-title {
    text-align: center;
    font-size: 2.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
}

.social-media-section .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FFD700;
    margin: 16px auto 0 auto;
    border-radius: 2px;
}

.social-media-section .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
}

.social-media-cards {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-card {
    background: var(--bg-secondary);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
    padding: 32px 24px 24px 24px;
    min-width: 260px;
    max-width: 320px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.social-logo {
    margin-bottom: 18px;
}

.social-username {
    font-size: 1.15rem;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 8px;
}

.social-followers {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 18px;
}

.social-card .cta-button {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.social-card.youtube .social-logo svg {
    background: none;
}

@media (max-width: 900px) {
    .social-media-cards {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .social-card {
        max-width: 100%;
        width: 100%;
    }
}

#splash-screen {
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s;
}

#splash-screen video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#splash-screen.hide {
    opacity: 0;
    pointer-events: none;
}

.contact-form-box {
    background: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    padding: 2.2rem 2rem;
    min-width: 320px;
    flex: 1 1 320px;
}

.contact-form label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.3rem;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-gold);
    outline: none;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s, color 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.18);
}

.contact-form button[type="submit"]:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.galeri-section {
    background: var(--bg-secondary);
    width: 100%;
    min-height: 70vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.gallery-container {
    position: relative;
    background: var(--bg-primary);
    width: 100%;
    max-width: 1200px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.gallery-button {
    margin-top: 40px;
    padding: 15px 40px;
    background: var(--gradient-gold);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-button:hover {
    transform: translateY(-2px);
}

.gallery-button:active {
    transform: translateY(0);
}

.image-stack {
    position: absolute;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.image-stack img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-stack:hover img {
    transform: scale(1.05);
}

.image-stack.center {
    z-index: 10;
    transform: translateX(0) scale(1.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.image-stack.left-1 {
    z-index: 8;
    transform: translateX(-180px) scale(0.9);
    opacity: 0.8;
}

.image-stack.left-2 {
    z-index: 6;
    transform: translateX(-320px) scale(0.8);
    opacity: 0.6;
}

.image-stack.left-3 {
    z-index: 4;
    transform: translateX(-420px) scale(0.7);
    opacity: 0.4;
}

.image-stack.right-1 {
    z-index: 8;
    transform: translateX(180px) scale(0.9);
    opacity: 0.8;
}

.image-stack.right-2 {
    z-index: 6;
    transform: translateX(320px) scale(0.8);
    opacity: 0.6;
}

.image-stack.right-3 {
    z-index: 4;
    transform: translateX(420px) scale(0.7);
    opacity: 0.4;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    z-index: 15;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.prev {
    left: 30px;
}

.nav-arrow.next {
    right: 30px;
}

.progress-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 15;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    width: 0%;
    border-radius: 2px;
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    .galeri-section {
        padding: 40px 15px;
    }

    .gallery-container {
        height: 500px;
    }

    .image-stack {
        width: 200px;
        height: 280px;
    }

    .image-stack img {
        width: 100%;
        height: 100%;
    }

    .image-stack.left-1,
    .image-stack.right-1 {
        transform: translateX(-120px) scale(0.9);
    }

    .image-stack.left-2,
    .image-stack.right-2 {
        transform: translateX(-200px) scale(0.8);
    }

    .image-stack.left-3,
    .image-stack.right-3 {
        transform: translateX(-260px) scale(0.7);
    }

    .image-stack.right-1 {
        transform: translateX(120px) scale(0.9);
    }

    .image-stack.right-2 {
        transform: translateX(200px) scale(0.8);
    }

    .image-stack.right-3 {
        transform: translateX(260px) scale(0.7);
    }

    .gallery-button {
        margin-top: 30px;
        padding: 12px 30px;
        font-size: 16px;
    }
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.indicator {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    overflow: hidden;
    transition: width 0.3s ease, border-radius 0.3s ease;
}

.indicator.active {
    width: 40px;
    border-radius: 10px;
    background: #ddd;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.indicator .progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background: var(--gradient-gold);
    transition: width linear;
    border-radius: 10px 0 0 10px;
}

.slide-content {
    position: absolute;
    right: 30px;
    bottom: 40px;
    text-align: right;
    z-index: 2;
    max-width: 400px;
    padding: 1rem;
}

.slide-content h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.slide-content .subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.slide-content p {
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cta-buttons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 0.8rem !important;
        margin-top: 1.5rem;
        overflow-x: auto;
        padding: 0 10px;
        align-items: center !important;
    }

    .cta-button {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        flex: 0 0 auto !important;
        min-width: max-content !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    .slide-content .cta-buttons {
        justify-content: flex-end !important;
        flex-direction: row !important;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        gap: 0.6rem;
        padding: 0 5px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .slide-content {
        position: absolute;
        right: 20px;
        bottom: 30px;
        text-align: right;
        z-index: 2;
        max-width: calc(100% - 40px);
        padding: 1rem;
    }

    .slide-content .cta-buttons {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .slide-content .cta-button {
        padding: 10px 16px;
        font-size: 0.85rem;
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    nav {
        padding: 0 1.5rem;
    }

    .logo {
        margin-right: 2rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 8px 6px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 8px 4px;
    }
}

.announcements-section {
    background-color: var(--bg-secondary);
    width: 100%;
    padding: 60px 0;
}

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

.announcements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.announcements-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
}

.announcements-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.view-all-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.view-all-btn:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    align-items: start;
}

.announcement-card {
    background: var(--bg-primary);
    border-radius: 15px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.date-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-gold);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.date-day {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
}

.date-month {
    font-size: 0.8rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.date-year {
    font-size: 0.7rem;
    opacity: 0.8;
}

.announcement-content {
    margin-top: 20px;
    padding-right: 80px;
}

.announcement-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    text-decoration: none;
}

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

    .announcements-title {
        font-size: 2rem;
    }

    .announcement-content {
        padding-right: 20px;
    }

    .date-badge {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .announcements-section {
        padding: 40px 0;
    }

    .announcements-container {
        padding: 0 10px;
    }

    .announcements-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}