
/* ================= RESET ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    background:#f4f4f4;
    color:#222;
    overflow-x:hidden;
    line-height:1.5;
}

img{
    max-width:100%;
    display:block;
}

/* ================= CONTAINER ================= */

.container{
    width:92%;
    max-width:1350px;
    margin:auto;
}

/* ================= HEADER ================= */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(0,0,0,.06);
    transition:.3s;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:85px;
    gap:20px;
}

.logo{
    width:60px;
    object-fit:contain;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:14px;
}

.brand{
    font-size:24px;
    font-weight:800;
    color:#111;
}

nav{
    display:flex;
    align-items:center;
    gap:30px;
}

nav a{
    text-decoration:none;
    color:#222;
    font-weight:700;
    position:relative;
    transition:.3s;
}

nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#d6a04c;
    transition:.3s;
}

nav a:hover{
    color:#d6a04c;
}

nav a:hover::after{
    width:100%;
}

/* ================= HERO ================= */

.hero{
    min-height:500px;
    padding:140px 20px 80px;
    background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url('../images/hero.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.hero-content{
    max-width:850px;
}

.hero h1{
    font-size:72px;
    margin-bottom:18px;
    font-weight:800;
    line-height:1.1;
}

.hero p{
    font-size:20px;
    opacity:.95;
}

/* ================= PROJECT SECTION ================= */

.projects-section{
    padding:90px 0;
}

/* ================= TABS ================= */

.tabs{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-bottom:60px;
    flex-wrap:wrap;
}

.tab-btn{
    border:none;
    background:white;
    padding:16px 26px;
    border-radius:16px;
    cursor:pointer;
    font-size:15px;
    font-weight:700;
    transition:.3s ease;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.tab-btn:hover{
    transform:translateY(-3px);
}

.tab-btn.active{
    background:#d6a04c;
    color:#111;
}

/* ================= PROJECT CONTENT ================= */

.project-content{
    display:none;
    animation:fade .4s ease;
}

.project-content.active{
    display:block;
}

@keyframes fade{
    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= PROJECT GRID ================= */

.projects-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:30px;
}

/* ================= CARD ================= */

.project-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    cursor:pointer;
    transition:.35s ease;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    position:relative;
}

.project-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.project-card img{
    width:100%;
    height:280px;
    object-fit:cover;
    transition:transform .4s ease;
}

.project-card:hover img{
    transform:scale(1.05);
}

.project-info{
    padding:28px;
}

.project-info span{
    color:#d6a04c;
    font-size:13px;
    font-weight:800;
    letter-spacing:2px;
}

.project-info h3{
    margin-top:12px;
    font-size:28px;
    line-height:1.3;
}

/* ================= GALLERY MODAL ================= */

.gallery-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
    padding:20px;
}

.gallery-modal.active{
    display:flex;
}

.gallery-box{
    width:100%;
    max-width:1200px;
    max-height:90vh;
    overflow-y:auto;
    background:white;
    border-radius:28px;
}

.gallery-header{
    padding:24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    background:white;
    z-index:5;
}

.gallery-header h2{
    font-size:32px;
}

.gallery-header button{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:#111;
    color:white;
    font-size:24px;
    cursor:pointer;
    transition:.3s;
}

.gallery-header button:hover{
    transform:rotate(90deg);
}

.gallery-grid{
    padding:25px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.gallery-grid img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

/* ================= LAPTOP ================= */

@media(max-width:1100px){

    .projects-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .hero h1{
        font-size:56px;
    }

}

/* ================= TABLET ================= */

@media(max-width:768px){

    /* ================= MOBİL PROJE MENÜ ================= */

    .tabs{
        display:flex;
        flex-direction:column;
        align-items:stretch;
        gap:12px;
        background:transparent;
        overflow:visible;
        padding:0;
    }

    .tab-btn{
        width:100%;
        text-align:left;
        padding:16px 18px;
        border-radius:14px;
        font-size:14px;
        background:white;
        border-left:4px solid transparent;
    }

    .tab-btn.active{
        border-left:4px solid #111;
        background:#d6a04c;
        color:#111;
    }

    header{
        padding:0;
    }

    .navbar{
        min-height:75px;
    }

    nav{
        display:none;
    }

    .brand{
        font-size:18px;
    }

    .logo{
        width:48px;
    }

    .hero{
        min-height:360px;
        padding-top:120px;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:16px;
    }

    .projects-section{
        padding:60px 0;
    }

    .tabs{
        justify-content:flex-start;
        flex-wrap:nowrap;
        overflow-x:auto;
        padding:10px 4px 14px;
        gap:10px;
        scrollbar-width:none;
    }

    .tabs::-webkit-scrollbar{
        display:none;
    }

    .tab-btn{
        flex:0 0 auto;
        white-space:nowrap;
        padding:13px 18px;
        font-size:13px;
        border-radius:12px;
    }

    .projects-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .project-card img{
        height:230px;
    }

    .project-info{
        padding:22px;
    }

    .project-info h3{
        font-size:24px;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-grid img{
        height:220px;
    }

    .gallery-header{
        padding:18px;
    }

    .gallery-header h2{
        font-size:22px;
        width:80%;
    }

}

/* ================= SMALL PHONE ================= */

@media(max-width:480px){

    .container{
        width:94%;
    }

    .hero{
        min-height:300px;
    }

    .hero h1{
        font-size:32px;
    }

    .hero p{
        font-size:14px;
    }

    .project-card{
        border-radius:18px;
    }

    .project-card img{
        height:210px;
    }

    .project-info h3{
        font-size:21px;
    }

    .gallery-box{
        border-radius:18px;
    }

    .gallery-grid{
        padding:15px;
        gap:14px;
    }

    .gallery-grid img{
        height:190px;
        border-radius:14px;
    }

}
/* ================= MOBILE MENU BUTTON ================= */

.mobile-menu-btn{
    display:none;
    font-size:30px;
    cursor:pointer;
    user-select:none;
}

@media(max-width:768px){

    .mobile-menu-btn{
        display:block;
    }

    nav{
        position:absolute;
        top:85px;
        left:0;
        width:100%;
        background:white;
        flex-direction:column;
        align-items:flex-start;
        padding:20px;
         gap:18px;
        display:none;
        box-shadow:0 10px 30px rgba(0,0,0,.08);
        border-radius:0 0 20px 20px;
    }

    nav.active{
        display:flex;
    }

    nav a{
        width:100%;
        padding:12px 0;
        border-bottom:1px solid #eee;
    }

}
/* =========================
RESPONSIVE HERO
========================= */

.hero{
    min-height:60vh;
    background:
    linear-gradient(rgba(0,0,0,0.60),rgba(0,0,0,0.65)),
    url("../images/proje-banner.jpg")
    center/cover no-repeat;

    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;

    padding:140px 20px 80px;
}

.hero-content h1{
    font-size:58px;
    color:white;
    margin-bottom:20px;
}

.hero-content p{
    color:#ddd;
    font-size:18px;
    max-width:700px;
    margin:auto;
}

/* =========================
PROJECTS
========================= */

.projects-section{
    padding:90px 0;
    background:#f7f7f7;
}

.tabs{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:50px;
}

.tab-btn{
    padding:14px 22px;
    border:none;
    background:white;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
    box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.tab-btn:hover{
    transform:translateY(-2px);
}

.tab-btn.active{
    background:#c9a227;
    color:white;
}

.project-content{
    display:none;
}

.project-content.active{
    display:block;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.project-card{
    background:white;
    border-radius:18px;
    overflow:hidden;
    cursor:pointer;
    transition:0.4s;
    box-shadow:0 10px 30px rgba(0,0,0,0.07);
}

.project-card:hover{
    transform:translateY(-8px);
}

.project-card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.project-info{
    padding:22px;
}

.project-info span{
    color:#c9a227;
    font-size:13px;
    font-weight:bold;
    letter-spacing:1px;
}

.project-info h3{
    margin-top:10px;
    font-size:24px;
    color:#111;
}

/* =========================
GALLERY
========================= */

.gallery-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.82);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:20px;
}

.gallery-modal.active{
    display:flex;
}

.gallery-box{
    width:100%;
    max-width:1200px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    max-height:90vh;
    overflow-y:auto;
}

.gallery-header{
    padding:25px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid #eee;
}

.gallery-header h2{
    font-size:28px;
}

.gallery-header button{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:#111;
    color:white;
    font-size:24px;
    cursor:pointer;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:30px;
}

.gallery-grid img{
    width:100%;
    height:240px;
    object-fit:cover;
    border-radius:14px;
}

/* =========================
FOOTER
========================= */

footer{
    background:#0a0a0a;
    color:white;
    padding:70px 0 25px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
    margin-bottom:45px;
}

.footer-logo-area{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:20px;
}

.footer-logo{
    height:60px;
}

.footer-about h3{
    font-size:28px;
}

.footer-about p{
    color:#bdbdbd;
    max-width:420px;
    line-height:1.8;
}

.footer-links h4{
    margin-bottom:20px;
    font-size:20px;
}

.footer-links a{
    display:block;
    margin-bottom:14px;
    color:#bdbdbd;
    text-decoration:none;
    transition:0.3s;
}

.footer-links a:hover{
    color:#d8b74b;
    padding-left:4px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,0.08);
    padding-top:22px;
    text-align:center;
    color:#8d8d8d;
    font-size:14px;
}

/* =========================
TABLET
========================= */

@media(max-width:992px){

    .projects-grid{
        grid-template-columns:1fr 1fr;
    }

    .gallery-grid{
        grid-template-columns:1fr 1fr;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

    .hero-content h1{
        font-size:46px;
    }

}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

    .mobile-menu-btn{
        display:block;
    }

    nav{
        position:absolute;
        top:85px;
        right:20px;
        background:white;
        width:240px;
        flex-direction:column;
        align-items:flex-start;
        padding:20px;
        border-radius:12px;
        display:none;
        box-shadow:0 20px 50px rgba(0,0,0,0.12);
    }

    nav.active{
        display:flex;
    }

    .hero{
        min-height:50vh;
        padding:140px 20px 60px;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-content p{
        font-size:16px;
    }

    .projects-grid{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .gallery-grid img{
        height:220px;
    }

    .gallery-header{
        padding:20px;
    }

    .gallery-header h2{
        font-size:22px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-logo-area{
        justify-content:center;
    }

    .footer-about p{
        margin:auto;
    }

}



