@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --main-color:#EDD961;
    --black-color:#0e0e0e;
    --border: 0.1rem solid rgba(255,255,255,0.4);
}

*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s ease;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: 0.8rem;
    background-color: #fff;
}

html::-webkit-scrollbar-thumb{
    border-radius: 3rem;
    background-color: var(--black-color);
}

body{
    background-color: var(--main-color);
    min-height: 100vh;
}

section{
    padding: 3.5rem 7%;
}

.btn{
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: var(--black-color);
    cursor: pointer;
    margin-top: 1rem;
}

.btn:hover{
    opacity: 0.9;
    background-color: #333;
}

/* HEADER */
.header{
    background-color: white;
    display: flex;
    align-items:center;
    justify-content: space-between;
    padding: 1.5rem 7%;
    margin: 2rem 7%;
    border-radius: 30rem;
    box-shadow: 0px 0px 17px -2px rgba(0,0,0,0.75);
    position: sticky;
    top: 2rem;
    z-index: 1000;
}

.header .logo img{
    height: 5rem;
}

.header .navbar a{
    margin: 0 1rem;
    font-size: 1.6rem;
    color: var(--black-color);
    border-bottom: 0.15rem solid transparent;
    font-weight: 500;
}

.header .navbar .active,
.header .navbar a:hover{
    border-color: var(--main-color); 
    padding-bottom: 0.5rem;
    color: var(--main-color);
}

#menu-btn{
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--black-color);
    display: none; 
}

/* HOME */
.home{
    min-height: 100vh;
    background: url(../images/home.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -12rem; 
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    padding-right: 5%; 
} 

.home .content{
    max-width: 50rem; 
    text-align: center;
    color: #fff;
    text-shadow: 0 .5rem 1rem rgba(0,0,0,0.7); 
}

.home .content h3{
    font-size: 6rem; 
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
}

.home .content p{
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0;
    color: #eee;
}

/* --- ABOUT (HAKKIMIZDA) - GÜNCELLENDİ --- */
.about .row{
    display: flex;
    align-items: center;
    
    /* BURASI DEĞİŞTİ: Arka plan beyazdan sarıya döndü */
    background: var(--main-color); 
    
    /* Kutunun sınırları belli olsun diye ince bir çizgi (opsiyonel) */
    border: 2px solid var(--black-color);
    
    flex-wrap: wrap; 
    border-radius: 1rem;
    overflow: hidden;
}

.about .row .image{
    flex: 1 1 42rem;
}

.about .row .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 30rem;
}

.about .row .content{
    flex: 1 1 42rem;
    padding: 3rem;
}

.about .row .content h3{
    font-size: 3rem;
    color: var(--black-color);
}

.about .row .content p{
    font-size: 1.6rem;
    
    /* Sarı zemin üzerinde okunması için yazıyı siyah yaptık */
    color: var(--black-color); 
    
    padding: 1rem 0;
    line-height: 1.8;
}

.baslik {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 4rem;
    font-weight: bold;
    border-bottom: 0.2rem solid var(--black-color);
    padding-bottom: 1rem;
    display: block;
    width: fit-content;
    margin: 0 auto 2rem auto;
}

/* ARAÇLAR */
.galeri {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr)); 
    gap: 1.5rem;
}

.foto img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.foto img:hover {
    transform: scale(1.03);
}

/* İLETİŞİM */
.contact .row{
    display: flex;
    background-color: var(--black-color);
    flex-wrap: wrap;
    gap: 1rem;
    border-radius: 1rem;
    overflow: hidden;
}

.contact .row .map{
    flex: 1 1 42rem;
    width: 100%;
    height: 40rem;
    border: none;
}

.contact .row form{
    flex: 1 1 42rem;
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
}

.contact .row form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    margin-bottom: 4rem; 
}

.contact .row form h2{ 
    font-size: 5rem;   
    color: var(--main-color);
    margin: 1rem 0;
    font-weight: bold;
}

.contact .row form h4{ 
    font-size: 2.4rem; 
    color: var(--main-color);
    margin: 0.5rem 0;
    opacity: 0.8;      
    font-weight: 400;
}

/* FOOTER */
.footer{
    background-color: var(--black-color);
    text-align: center;
    padding: 3rem 7%;
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer .links a{
    padding: 0.7rem 2rem;
    color: #fff;
    font-size: 1.5rem;
    border: var(--border);
    border-radius: 0.5rem;
}

.footer .links a:hover{
    background-color: var(--main-color);
    color: var(--black-color);
}

.footer .credit{
    font-size: 2rem;
    color: #fff;
    font-weight: 300;
    padding-top: 2rem;
}

.footer .credit span {
    color: var(--main-color);
}


/* MOBİL UYUMLULUK */
@media (max-width: 991px){
    html{
        font-size: 55%;
    }
    .header{
        padding: 1.5rem 2rem;
        margin: 2rem;
    }
    section{
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px){
    
    #menu-btn{
        display: inline-block; 
    }

    .header .navbar{
        position: absolute;
        top: 100%; right: 0; left: 0;
        background: #fff;
        border-top: .1rem solid rgba(0,0,0,.2);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); 
        border-radius: 1rem;
        margin-top: 1rem;
        flex-direction: column;
    }

    .header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a{
        display: block;
        margin: 1.5rem;
        padding: 1.5rem;
        background: #eee;
        font-size: 2rem;
        border-radius: .5rem;
        text-align: center;
    }

    .home {
        justify-content: center; 
        padding-right: 0;       
    }

    .home .content h3{
        font-size: 4.5rem;
    }

    .about .row .image,
    .about .row .content,
    .contact .row .map,
    .contact .row form{
        flex: 1 1 100%;
    }
    
    .contact .row form h2{
        font-size: 3.5rem; 
    }
    .contact .row form h4{
        font-size: 1.6rem;
    }
}