/* =========================================
   RESET
========================================= */

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

/* =========================================
   BODY
========================================= */

body{
    background:#B87333;
    color:#07148a;
    font-weight:bolder;
    line-height:1.7;
}

/* =========================================
   HERO
========================================= */

.hero{
    background:linear-gradient(
        135deg,
        #2ecc71,
        #27ae60
    );

    color:#fff;
    text-align:center;
    padding:80px 20px;
}

.hero h1{
    font-size:2.8rem;
    margin-bottom:10px;
}

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

/* =========================================
   CONTENT
========================================= */

.content,
.gallery,
.partners{

    max-width:1200px;
    margin:60px auto;
    padding:0 20px;

}

h2{

    color:#e6072c;
    background:rgb(37, 191, 211);
    margin-bottom:20px;
    font-size:2rem;
    text-align:center;

}

.content p{

    font-size:1.05rem;
    text-align:justify;

}

/* =========================================
   GALLERY
========================================= */

.gallery .grid{

    display:grid;

    /* HER SATIRDA 2 RESİM */
    grid-template-columns:repeat(2,1fr);

    gap:20px;

}

.gallery img{

    width:100%;
    height:400px;

    object-fit:cover;

    border-radius:15px;

    cursor:zoom-in;

    transition:all .35s ease;

    box-shadow:
    0 10px 25px rgba(0,0,0,.15);

}

.gallery img:hover{

    transform:scale(1.03);

}

/* =========================================
   PARTNERS
========================================= */

.partners .cards{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(440px,1fr));

    gap:20px;

}

.card{

    background:#2610a3;

    color:white;

    padding:25px;

    border-radius:15px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.12);

    transition:.3s;

}

.card:hover{

    transform:translateY(-5px);

}

/* =========================================
   PARTNER PHOTO
========================================= */

.partner-photo{

    width:100%;
    max-width:400px;

    height:220px;

    object-fit:cover;

    border-radius:15px;

    border:3px solid #48d60f;

}

/* =========================================
   FOOTER
========================================= */

footer{

    background:#2c3e50;

    color:white;

    text-align:center;

    padding:25px;

    margin-top:60px;

}

/* =========================================
   LIGHTBOX
========================================= */

#lightbox{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:
    rgba(0,0,0,.95);

    display:none;

    align-items:center;
    justify-content:center;

    z-index:99999;

}

#lightbox img{

    max-width:90%;
    max-height:90%;

    border-radius:15px;

    box-shadow:
    0 20px 40px rgba(0,0,0,.5);

}

#closeLightbox{

    position:absolute;

    top:20px;
    right:30px;

    font-size:50px;

    color:white;

    cursor:pointer;

}

/* =========================================
   NAVBAR
========================================= */

.navbar{

    position:sticky;

    top:0;

    width:100%;

    z-index:10000;

    background:rgb(81,10,173);

    border-radius:0 0 20px 20px;

    padding:10px 16px;

    transition:.3s;

}

.navbar.scrolled{

    box-shadow:
    0 8px 20px rgba(0,0,0,.2);

}

.nav-inner{

    max-width:1300px;

    margin:auto;

    display:flex;

    align-items:center;

    gap:15px;

}

.brand{

    text-decoration:none;

    color:white;

    font-size:1.1rem;

    font-weight:700;

}

.nav-menu{

    margin-left:auto;

    display:flex;

    gap:10px;

    align-items:center;

}

.nav-item{

    text-decoration:none;

    color:white;

    background:rgb(184,181,9);

    padding:10px 14px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;

}

.nav-item:hover{

    background:rgb(143,42,42);

}

/* =========================================
   DROPDOWN
========================================= */

.dropdown{

    position:relative;

}

.dropbtn{

    border:none;

    background:none;

    color:white;

    font-weight:700;

    cursor:pointer;

    padding:10px;

}

.dropdown-content{

    display:none;

    position:absolute;

    top:100%;

    left:0;

    background:red;

    min-width:260px;

    border-radius:10px;

    overflow:hidden;

    box-shadow:
    0 10px 25px rgba(0,0,0,.2);

}

.dropdown-content a{

    display:block;

    text-decoration:none;

    color:yellow;

    padding:12px;

}

.dropdown-content a:hover{

    background:#111;

}

.dropdown:hover
.dropdown-content{

    display:block;

}

/* =========================================
   HAMBURGER
========================================= */

.nav-toggle{

    display:none;

    background:none;

    border:none;

    cursor:pointer;

}

.hamburger{

    width:25px;
    height:3px;

    background:white;

    position:relative;

    display:block;

}

.hamburger::before,
.hamburger::after{

    content:"";

    position:absolute;

    left:0;

    width:25px;
    height:3px;

    background:white;

}

.hamburger::before{

    top:-8px;

}

.hamburger::after{

    top:8px;

}

/* =========================================
   GOLD TEXT
========================================= */

.gold-text{

    color:#FFD700;

}

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

@media(max-width:900px){

    .nav-toggle{

        display:block;

    }

    .nav-menu{

        display:none;

        flex-direction:column;

        position:absolute;

        right:10px;

        top:70px;

        width:280px;

        background:white;

        border-radius:15px;

        padding:15px;

        box-shadow:
        0 10px 30px rgba(0,0,0,.2);

    }

    .nav-menu.open{

        display:flex;

    }

    .nav-item{

        width:100%;

        text-align:center;

    }

}

/* =========================================
   PHONE
========================================= */

@media(max-width:768px){

    .hero h1{

        font-size:2rem;

    }

    .gallery .grid{

        grid-template-columns:1fr;

    }

    .gallery img{

        height:280px;

    }

    .partners .cards{

        grid-template-columns:1fr;

    }

}