html, body {
    overflow-x: hidden;
}
.card,
.apply-card,
.contact-card,
.detail-box,
.countdown div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-wrapper.page-loaded {
    opacity: 1;
    transform: translateY(0);
}


body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 60px;
    background: #751d14;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: #b69445;
    text-shadow: 0 0 8px #000;
    transition: 0.3s;
}

.nav-links a:hover {
    transform: scale(1.1);
}

.hashtag {
    margin-top: 20px;
    font-size: 20px;
    letter-spacing: 2px;
    opacity: 0.8;
}


.card-grid {
    display: grid;
    gap: 40px;
    padding: 100px;
}

.committee-card .card-image {
    height: 70%;
}

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

.card {
    background: rgba(0,0,0,0.4);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
}

.card-content {
    height: 30%;
    padding: 25px;
    background: linear-gradient(to bottom, #751d14, #4a0c08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-content h2 {
    font-size: 20px;
    margin: 0;
    letter-spacing: 1px;
}
.card-content p {
    font-size: 12px;
    margin-top: 10px;
    opacity: 0.8;
}

.apply-grid, 
.contact-grid{
  justify-content: center;
  display: grid;
  grid-template-columns: repeat(4, 400px);
  gap: 40px;
  max-width: 1200px;
  margin: 80px auto 0 auto;
}


.btn {
    display: inline-block;
    padding: 10px 25px;
    background: #b69445;
    color: #751d14;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 15px;
}


.un-bg {
    position: absolute;
    width: 800px;
    opacity: 0.25;
    z-index: 0;
}

.committees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 250px;
}
.committee-card {
    text-decoration: none;
    color: #b69445;
    background: #5e130d;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    height: 420px;
}
.committee-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 0 40px rgba(0,0,0,0.8),
        0 0 30px rgba(182,148,69,0.3);
}

.detail-section {
    padding-top: 140px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.detail-image-wrapper {
    width: 70%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
}

.detail-image-wrapper img {
    width: 100%;
    display: block;
}
.detail-title {
    margin-bottom: 20px;
    text-align: center;
    margin-top: 35px;
    font-size: 40px;
    letter-spacing: 2px;
    color: #b69445;
    text-shadow:
        0 0 10px rgba(182,148,69,0.6),
        0 0 20px rgba(0,0,0,0.8);
}
.detail-box {
    margin-top: 50px;
    width: 35.5%;
    padding: 40px 45px;
    background: linear-gradient(to bottom, #751d14, #4a0c08);
    border-radius: 20px;
    border: 1px solid rgba(182,148,69,0.3);
    box-shadow:
        0 0 40px rgba(0,0,0,0.8),
        inset 0 0 20px rgba(0,0,0,0.6);
}

.detail-box p {
    margin-top: 45px;
    font-size: 24px;
    line-height: 1.8;
    color: #d6b96a;
}
.apply-section {
    padding-top: 140px;
    padding-bottom: 120px;
    text-align: center;
}
.apply-main-title {
    font-size: 38px;
    letter-spacing: 3px;
    color: #b69445;
    text-shadow: 0 0 15px rgba(182,148,69,0.5);
    margin-bottom: 10px;
}
.apply-subtitle {
    margin-top: 30px;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 10px;
}
.apply-card {
    position: relative;
    background: linear-gradient(to bottom, #751d14, #4a0c08);
    border-radius: 20px;
    height: 340px; /* sabit yükseklik */
    padding: 0;    /* iç padding kaldırıyoruz */
    box-shadow:
        0 0 40px rgba(0,0,0,0.7),
        inset 0 0 15px rgba(0,0,0,0.5);
}



.apply-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 50px rgba(0,0,0,0.9),
        0 0 25px rgba(182,148,69,0.3);
}
.apply-card h2 {
    position: absolute;
    top: 30px;
    left: 35px;
    right: 35px;
    margin: 0;
    text-align: center;
}


.apply-card p {
    position: absolute;
    top: 120px;
    left: 35px;
    right: 35px;
    margin: 0;
    text-align: left;
    font-size: 13px;
    line-height: 1.8;
}


.contact-section {
    padding-top: 140px;
    padding-bottom: 140px;
    text-align: center;
}
.contact-title {
    font-size: 38px;
    letter-spacing: 3px;
    color: #b69445;
    text-shadow: 0 0 15px rgba(182,148,69,0.5);
}
.contact-subtitle {
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 10px;
}
.contact-card {
    text-decoration: none;
    color: #b69445;
    background: linear-gradient(to bottom, #751d14, #4a0c08);
    border-radius: 20px;

    height: 240px; 
    padding: 40px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center; 

    text-align: center;    

    transition: 0.4s;
    box-shadow:
        0 0 40px rgb(0, 0, 0),
        inset 0 0 15px rgba(0, 0, 0, 0.339);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 50px rgba(0,0,0,0.9),
        0 0 25px rgba(182,148,69,0.3);
}
.contact-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) saturate(100%) invert(72%) sepia(34%) saturate(458%) hue-rotate(6deg) brightness(95%) contrast(90%);
}


.map-icon {
    width: 40px;
    height: 40px;
}


.contact-card h3 {
    margin: 10px 0 5px 0;
    font-size: 20px;
}
.contact-card p {
    font-size: 12px;
    opacity: 0.8;
}

.committees-section {
    padding-top: 150px;   
    padding-bottom: 120px;
    text-align: center;
}
.committees-section p {
    text-align: left;
}
.committees-section a {
    text-align: left;
}

.committees-title {
    font-size: 38px;
    letter-spacing: 3px;
    margin-top: 10px;
    color: #b69445;
    text-shadow:
        0 0 15px rgba(182,148,69,0.6),
        0 0 25px rgba(0,0,0,0.8);
}
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}
.apply-card,
.contact-card {
    position: relative;
    height: 260px;
    display: grid;
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px;
    align-items: stretch;
}


.countdown div:hover {
    transform: translateY(-5px);
    box-shadow:
        0 25px 60px rgba(0,0,0,0.9),
        0 0 20px rgba(182,148,69,0.25);
}

.countdown span {
    font-size: 32px;
    font-weight: 700;
    color: #d6b96a;

    text-shadow:
        0 0 8px rgba(0,0,0,0.6);
}
.countdown p {
    font-size: 11px;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 6px;
}
.detail-box p {
    white-space: pre-line;
}
.committee-title {
    font-size: 24px;    
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.committee-subtitle {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 15px;
}
.learn-more {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.committee-card:hover .learn-more {
    opacity: 1;
    transform: translateX(5px);
}
.apply-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 22px;
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    
    background: linear-gradient(to bottom, #b69445, #9c7c32);
    color: #751d14;

    border-radius: 8px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.apply-btn:hover {
    box-shadow:
        0 0 15px rgba(182,148,69,0.5);
}

.hero {
    height: 100vh;
    background: 
        linear-gradient(
            rgba(30, 0, 0, 0.65),
            rgba(30, 0, 0, 0.75)
        ),
        url("../images/background.jpg") center center / cover no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 90px;
    letter-spacing: 4px;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    opacity: 0.7;
    margin-bottom: 60px;
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.countdown span {
    font-size: 38px;
    font-weight: 700;
}

.countdown p {
    font-size: 13px;
    margin-top: 6px;
    letter-spacing: 1px;
}


.countdown small {
    font-size: 20px;
    letter-spacing: 1px;
    opacity: 0.6;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(182,148,69,0.08), transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        rgba(0,0,0,0) 40%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 1;
}
.hero h1 {
    margin-bottom: 40px; 
}
.countdown {
    margin-bottom: 35px;  
}
.hashtag {
    margin-top: 30px;
    letter-spacing: 2px;
    opacity: 1;
}

.secretariat {
    padding: 180px 20px 160px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-box {
    max-width: 820px;
    width: 100%;
    padding: 70px 70px;
    border-radius: 25px;

    background: linear-gradient(to bottom, #7a140e, #4a0c08);

    border: 1px solid rgba(182,148,69,0.25);

    box-shadow:
        0 0 60px rgba(0,0,0,0.8),
        inset 0 0 25px rgba(0,0,0,0.6);

    text-align: center;
}

.message-box h2 {
    font-size: 30px;
    margin-bottom: 40px;
    letter-spacing: 2px;

    color: #d6b96a;

    text-shadow:
        0 0 10px rgba(182,148,69,0.5),
        0 0 20px rgba(0,0,0,0.8);
}

.message-box p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 22px;
    color: #d6b96a;
}

.signature {
    margin-top: 35px;
    opacity: 0.9;
}
.secretariat {
    padding: 180px 20px 160px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-box {
    max-width: 820px;
    width: 100%;
    padding: 70px 70px;
    border-radius: 25px;

    background: linear-gradient(to bottom, #7a140e, #4a0c08);

    border: 1px solid rgba(182,148,69,0.25);

    box-shadow:
        0 0 60px rgb(0, 0, 0),
        inset 0 0 25px rgba(0, 0, 0, 0.126);

    text-align: center;
}
.message-box p {
    text-align: left;
}

.message-box h2 {
    font-size: 30px;
    margin-bottom: 40px;
    letter-spacing: 2px;

    color: #d6b96a;

    text-shadow:
        0 0 10px rgba(182,148,69,0.5),
        0 0 20px rgba(0,0,0,0.8);
}

.message-box p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 22px;
    color: #d6b96a;
}
.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    margin: 15px auto 0;
    background: #b69445;
}
/* Global Text Hover */

h1, h2, h3, p, a, span {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

h1:hover,
h2:hover,
h3:hover,
a:hover {
    text-shadow:
        0 0 12px rgba(182,148,69,0.6),
        0 0 20px rgba(182,148,69,0.3);
}
/* Global Box Hover */

.card,
.committee-card,
.apply-card,
.contact-card,
.detail-box,
.message-box {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover,
.committee-card:hover,
.apply-card:hover,
.contact-card:hover,
.detail-box:hover,
.message-box:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 60px rgba(0,0,0,0.8),
        0 0 25px rgba(182,148,69,0.25);
}
.detail-image-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.detail-image-wrapper img {
    transition: transform 0.6s ease;
}

.detail-image-wrapper:hover img {
    transform: scale(1.08);
}
.committee-card {
    overflow: hidden;
}

.committee-card img {
    transition: transform 0.6s ease;
}

.committee-card:hover img {
    transform: scale(1.08);
}
.committee-card:hover img {
    transform: scale(1.08);
    filter: brightness(0.9);
}
.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;              /* eski genişlik */
    padding: 75px 0;           /* eski padding */
    border-radius: 14px;       /* eski radius */

    background: linear-gradient(
        to bottom,
        rgba(95, 20, 15, 0.95),
        rgba(60, 10, 8, 0.95)
    );

    border: 1px solid rgba(182,148,69,0.6);

    box-shadow:
        0 0 25px rgba(0,0,0,0.8),
        inset 0 0 12px rgba(0,0,0,0.6);

    box-sizing: border-box;    /* border eklenince büyümesin */
}
.hero-subtitle {
    letter-spacing: 2px;
    opacity: 0.9;
    transition: text-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.hero-subtitle:hover {
    opacity: 1;
    text-shadow:
        0 0 18px rgba(182,148,69,0.8),
        0 0 30px rgba(182,148,69,0.4);

    transform: scale(1.04);
}
.countdown div {
    border: 1px solid rgba(182,148,69,0.6);

    box-shadow: 0 20px 50px rgba(0,0,0,0.85);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-subtitle {
    letter-spacing: 2px;
    opacity: 0.9;
    transition: 
        text-shadow 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease;
}
/* Overlay */

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1500;
}
/* ===== OVERLAY ===== */

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
    z-index: 2000;
}

#overlay.active {
    opacity: 1;
    pointer-events: all;
}


@media (max-width: 768px) {

    .committees-grid,
    .apply-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        padding: 40px 20px;
        gap: 25px;
        width: 100%;
        box-sizing: border-box;
    }

}
/* ================= MOBILE COUNTDOWN FIX ================= */

@media (max-width: 768px) {

    .countdown {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        width: 90%;
        margin: 30px auto 0 auto;
        justify-items: center;
    }

    .countdown div {
        width: 100%;
        max-width: 160px;
        height: 150px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        border-radius: 18px;
    }

    .countdown span {
        font-size: 34px;
        display: block;
        margin-bottom: 8px;
    }

    .countdown p {
        font-size: 14px;
        margin: 0;
    }

}
/* ================= MOBILE HERO FIX ================= */

@media (max-width: 768px) {

    .hero h1 {
        font-size: 42px;   /* SALMUN küçüldü */
        letter-spacing: 1px;
    }

    .countdown {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;          /* sütun arası daraldı */
        width: 90%;
        margin: 25px auto 0 auto;
    }

    .countdown div {
        width: 100%;        /* sabit width kaldırıldı */
        padding: 18px 0;
    }

    .countdown span {
        font-size: 26px;
    }

    .countdown p {
        font-size: 11px;
        margin-top: 6px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-top: 18px;
    }

}
/* ================= MOBILE ================= */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2100;
}


.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;

    background: linear-gradient(to bottom, #751d14, #4a0c08);

    display: flex;
    flex-direction: column;
    justify-content: center;   /* Dikey ortalama */
    align-items: center;       /* Yatay ortalama */

    gap: 35px;

    transform: translateX(100%);
    transition: transform 0.4s ease;

    z-index: 2000;
}

/* Açık hali */
.mobile-menu.open {
    transform: translateX(0);
}

/* Menü linkleri */
.mobile-menu a {
    text-decoration: none;
    color: #b69445;           /* SARI */
    font-size: 20px;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

/* Hover efekti */
.mobile-menu a:hover {
    transform: scale(1.08);
    text-shadow:
        0 0 12px rgba(182,148,69,0.7),
        0 0 20px rgba(182,148,69,0.4);
}
/* ===== MOBILE DETAIL FIX ===== */

@media (max-width: 768px) {

    .detail-image-wrapper {
        width: 90%;
        margin-top: 0px;
    }

    .detail-title {
        font-size: 26px;
        margin-top: 25px;
    }

    .detail-box {
        width: 80%;              /* %35.5 iptal */
        padding: 30px 25px;
        margin-top: 50px;
    }

    .detail-box p {
        font-size: 15px;         /* 24px çok büyüktü */
        line-height: 1.7;
        margin-top: 0;
        text-align: left;
    }
}
/* ===== CONTACT ICON FIX ===== */

.contact-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-card {
    color: #b69445;
}

.contact-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    object-fit: contain;
}

.logo {
    flex: 0 0 auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    margin-left: auto;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2100;
}

/* ================= MOBILE ================= */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2100;
}


@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: linear-gradient(to bottom, #751d14, #4a0c08);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;

        transform: translateX(100%);
        transition: transform 0.4s ease;

        z-index: 2000;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu a {
        text-decoration: none;
        color: #b69445;
        font-size: 20px;
        letter-spacing: 2px;
    }

    #overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        pointer-events: none;
        transition: 0.4s ease;
        z-index: 1500;
    }

    #overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: linear-gradient(to bottom, #751d14, #4a0c08);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 2000;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu a {
        text-decoration: none;
        color: #b69445;
        font-size: 20px;
        letter-spacing: 2px;
    }

    #overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        pointer-events: none;
        transition: 0.4s ease;
        z-index: 1500;
    }

    #overlay.active {
        opacity: 1;
        pointer-events: all;
    }
/* ================= MOBILE ================= */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2100;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: #b69445;
}

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 260px;
        height: 100vh;
        background: linear-gradient(to bottom, #751d14, #4a0c08);

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;

        transform: translateX(100%);
        transition: transform 0.4s ease;

        z-index: 2000;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .mobile-menu a {
        text-decoration: none;
        color: #b69445;
        font-size: 20px;
        letter-spacing: 2px;
    }

    #overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        pointer-events: none;
        transition: 0.4s ease;
        z-index: 1500;
    }

    #overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

body {
    margin: 0;
    font-family: 'Cinzel', serif;
    color: #b69445;
    overflow-x: hidden;

    background: radial-gradient(
        circle at center,
        #781f17 0%,
        #581713 70%,
        #631f1a 100%
    );
}
.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-wrapper svg {
    max-width: 45px;
    max-height: 45px;
}