/* ==========================================
   ANTERA PEYZAJ
   Premium Website v1
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Manrope',sans-serif;
    background:#f7f7f5;
    color:#1d1d1d;
    overflow-x:hidden;
    width: 100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

img{
    display:block;
    max-width:100%;
    height:auto;
}

video{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ================= NAVBAR ================= */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:25px 7%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:999;
    background:rgba(15,34,26,.45);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo img{
    height:52px;
}

.menu{
    display:flex;
    gap:40px;
}

.menu a{
    color:white;
    font-size:15px;
    font-weight:600;
    transition:.3s;
}

.menu a:hover{
    color:#d4b16c;
}

.button{
    padding:14px 28px;
    background:#d4b16c;
    border-radius:50px;
    color:#163326;
    font-weight:700;
    transition:.3s;
    display: inline-block;
}

.button:hover{
    transform:translateY(-2px);
}

/* ================= HERO ================= */
.hero{
    position:relative;
    min-height:100vh;
    min-height:100dvh; /* Mobil tarayıcılar için */
    padding-top:env(safe-area-inset-top);
    padding-bottom:env(safe-area-inset-bottom);
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.hero video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.overlay{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.45);
}

.hero-content{
     padding:100px 20px 60px;
    position:relative;
    z-index:5;
    text-align:center;
    width:900px;
    max-width:90%;
    color:white;
}

.small-title{
    letter-spacing:6px;
    font-size:13px;
    margin-bottom:18px;
    color:#d4b16c;
}

.hero h1{
    font-size:72px;
    line-height:1.1;
    font-weight:800;
    margin-bottom:30px;
}

.hero-text{
    font-size:21px;
    line-height:1.8;
    opacity:.9;
    margin-bottom:45px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}

.btn-green{
    padding:18px 36px;
    background:#1d4d38;
    border-radius:50px;
    color:white;
    font-weight:700;
    transition:.35s;
}

.btn-green:hover{
    transform:translateY(-5px);
    background:#2d6a4f;
}

.btn-white{
    padding:18px 36px;
    border:2px solid white;
    border-radius:50px;
    color:white;
    font-weight:700;
    transition:.35s;
}

.btn-white:hover{
    background:white;
    color:#163326;
}

.scroll-down{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);
    font-size:32px;
    color:white;
    animation:down 1.8s infinite;
}

@keyframes down{
    0%{ transform:translate(-50%,0); }
    50%{ transform:translate(-50%,12px); }
    100%{ transform:translate(-50%,0); }
}

/* ================= KURUMSAL (ABOUT) ================= */
.about {
    padding: 120px 7%;
    background: #f7f7f5;
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-content h2 {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    color: #163326;
    margin-bottom: 30px;
}

.about-text-p {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.about-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 35px;
}

.badge {
    font-size: 15px;
    font-weight: 700;
    color: #163326;
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(22, 51, 38, 0.15);
}

/* ================= HİZMETLER (SERVICES) ================= */
.services {
    padding: 120px 7%;
    background: #163326;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-main-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: transform 0.35s, border-color 0.35s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #d4b16c;
}

.service-icon {
    font-size: 24px;
    color: #d4b16c;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-weight: 300;
}

/* ================= PROJELER (PROJECTS) ================= */
.projects {
    padding: 120px 7%;
    background: #f7f7f5;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
}

.projects-main-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    color: #163326;
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.project-item {
    position: relative;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(22, 51, 38, 0.08);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 34, 26, 0.9) 0%, rgba(15, 34, 26, 0) 60%);
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px;
    z-index: 10;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.project-category {
    font-size: 12px;
    font-weight: 800;
    color: #d4b16c;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.project-info h3 {
    font-size: 22px;
    color: #ffffff;
    font-weight: 700;
}

.project-item:hover img {
    transform: scale(1.08);
}

.project-item:hover::after {
    opacity: 0.95;
}

.project-item:hover .project-info {
    transform: translateY(0);
}

/* ================= BLOG ================= */
.blog {
    padding: 120px 7%;
    background: #163326;
}

.blog-main-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.blog-date {
    font-size: 12px;
    color: #d4b16c;
    font-weight: 700;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 15px 0;
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}

.blog-link {
    font-size: 14px;
    font-weight: 700;
    color: #d4b16c;
    transition: letter-spacing 0.3s;
}

.blog-link:hover {
    letter-spacing: 2px;
}

/* ================= İLETİŞİM (CONTACT) ================= */
.contact {
    padding: 120px 7%;
    background: #f7f7f5;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: 44px;
    font-weight: 800;
    color: #163326;
    line-height: 1.2;
    margin-bottom: 25px;
}

.contact-text {
    font-size: 17px;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-icon {
    font-size: 20px;
}

.info-item p {
    font-size: 16px;
    color: #1d1d1d;
}

.whatsapp-button-link {
    display: inline-block;
    padding: 15px 35px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.3s, background 0.3s;
}

.whatsapp-button-link:hover {
    transform: translateY(-3px);
    background: #20ba59;
}

.contact-form-container {
    background: #ffffff;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(22, 51, 38, 0.08);
}

.contact-form-container h3 {
    font-size: 24px;
    color: #163326;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    background: #fcfcfb;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: #163326;
}

.form-submit-btn {
    padding: 16px;
    background: #163326;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.form-submit-btn:hover {
    background: #1d4d38;
    transform: translateY(-2px);
}

/* ================= FOOTER ================= */
.main-footer {
    background: #0d1e17;
    padding: 40px 7%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ================= TOPLU MOBIL UYUMLULUK (MEDIA QUERIES) ================= */
@media (max-width:768px){

    /* --- HTML/BODY GÜVENLİK KORUMASI --- */
    html, body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* --- NAVBAR MOBİL --- */
    .navbar {
        padding: 15px 5%;
    }
    .logo img {
        height: 40px;
    }

    /* --- HERO MOBİL --- */
    .hero{
        height:100dvh;
        padding:80px 20px 20px;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .hero-content{
        max-width:100%;
        padding:0;
    }

    .small-title{
        font-size:11px;
        letter-spacing:4px;
        margin-bottom:10px;
    }

    .hero h1{
        font-size:34px;
        line-height:1.15;
        margin-bottom:15px;
    }

    .hero-text{
        font-size:15px;
        line-height:1.6;
        margin-bottom:25px;
    }

    .hero-buttons{
        flex-direction:column;
        gap:12px;
    }

    .btn-green,
    .btn-white{
        width:100%;
        padding:15px;
    }

    .scroll-down{
        display:none;
    }

    /* --- KURUMSAL MOBİL --- */
    .about {
        padding: 60px 5%;
    }
    .about-container {
        grid-template-columns: 1fr !important; /* Yan yana duran yapıyı tek sütuna indir */
        gap: 40px !important;
    }
    .about-content h2 {
        font-size: 32px !important;
        margin-bottom: 20px;
    }
    .about-image img {
        height: 350px !important; /* Mobilde görselin aşırı uzamasını engelle */
    }

    /* --- HİZMETLER MOBİL --- */
    .services {
        padding: 60px 5%;
    }
    .services-main-title {
        font-size: 32px !important;
        margin-bottom: 40px;
    }

    /* --- PROJELER MOBİL --- */
    .projects {
        padding: 60px 5%;
    }
    .projects-main-title {
        font-size: 32px !important;
        margin-bottom: 40px;
    }

    /* --- BLOG MOBİL --- */
    .blog {
        padding: 60px 5%;
    }
    .blog-main-title {
        font-size: 32px !important;
        margin-bottom: 40px;
    }

    /* --- İLETİŞİM & TEKLİF FORMU MOBİL (HATA VEREN KISIM) --- */
    .contact {
        padding: 60px 5%;
    }
    .contact-container {
        grid-template-columns: 1fr !important; /* Yan yana yapıyı dikey tek sütun yap */
        gap: 40px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .contact-info h2 {
        font-size: 32px !important;
    }
    .contact-form-container {
        padding: 25px !important; /* 50px olan iç boşluğu 25px'e düşürerek taşmayı önle */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .contact-form input, .contact-form textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* --- WHATSAPP FLOAT MOBİL --- */
    .whatsapp-float{
        width:58px;
        height:58px;
        right:20px;
        bottom:20px;
    }
}

/* ================= LOADER ================= */
#loader{
    position:fixed;
    inset:0;
    background:#0f221a;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999999;
    transition:opacity .8s ease, visibility .8s ease;
}

#loader.hide{
    opacity:0;
    visibility:hidden;
}

.loader-content{
    display:flex;
    flex-direction:column;
    align-items:center;
}

.loader-logo{
    width:500px;
    margin-bottom:-60px;
    animation:logoFade 2s ease infinite;
}

.loader-line{
    width:220px;
    height:3px;
    background:rgba(255,255,255,.12);
    border-radius:30px;
    overflow:hidden;
}

.loader-line span{
    display:block;
    width:0%;
    height:100%;
    background:#d4b16c;
    animation:loading 2.3s ease forwards;
}

@keyframes loading{
    from{ width:0; }
    to{ width:100%; }
}

@keyframes logoFade{
    0%{ transform:scale(.96); opacity:.5; }
    50%{ transform:scale(1); opacity:1; }
    100%{ transform:scale(.96); opacity:.5; }
}

/* ================= WHATSAPP BUTTON ================= */
.whatsapp-float{
    position:fixed;
    right:30px;
    bottom:30px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    box-shadow:0 15px 35px rgba(37,211,102,.35);
    transition:.35s;
    z-index:9999;
    animation:whatsappPulse 2s infinite;
}

.whatsapp-float:hover{
    transform:translateY(-6px) scale(1.08);
}

@keyframes whatsappPulse{
    0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5); }
    70%{ box-shadow:0 0 0 18px rgba(37,211,102,0); }
    100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); }
}

/* ================= INSTAGRAM ================= */
.instagram-button-link{
    display:inline-block;
    margin-top:15px;
    padding:16px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    color:#fff;
    background:linear-gradient(45deg,#833AB4,#FD1D1D,#FCAF45);
    transition:.35s;
}

.instagram-button-link:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(253,29,29,.35);
}

.footer-social{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:25px;
}

.footer-social a{
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.footer-social a:hover{
    color:#7ecb65;
}

/* ================= LIGHTBOX & FILTER STILLERI ================= */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 1px solid rgba(22, 51, 38, 0.15);
    background: transparent;
    color: #163326;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: #163326;
    color: #ffffff;
    border-color: #163326;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 51, 38, 0.15);
}

.project-item {
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
}

.project-item.hide {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    position: absolute;
    visibility: hidden;
    pointer-events: none;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 24, 18, 0.95);
    justify-content: center;
    align-items: center;
    user-select: none;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #d4b16c;
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 35px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
}

.lightbox-prev:hover, .lightbox-next:hover {
    color: #d4b16c;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

#lightbox-caption {
    position: absolute;
    bottom: 40px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        font-size: 28px;
        padding: 10px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 20px; right: 25px; }
}

/* ================= BAHÇE REHBERİ & BLOG MODAL STILLERI ================= */
.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1b4332;
    color: #fff;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 25px 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 12px;
}

.blog-content h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,.82);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more-btn {
    background: none;
    border: none;
    color: #d4b16c;
}

/* --- BLOG MODAL --- */
.blog-modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.blog-modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.blog-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 30px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.blog-modal-close:hover {
    color: #333;
}

.blog-modal-badge {
    background: #e8f5e9;
    color: #2d6a4f;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

#modalTitle {
    font-size: 1.8rem;
    color: #1b4332;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-modal-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin-bottom: 25px;
}

.blog-modal-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.blog-modal-body p {
    margin-bottom: 15px;
}

.blog-modal-body h4 {
    color: #1b4332;
    font-size: 1.2rem;
    margin-top: 25px;
    margin-bottom: 10px;
}

.blog-modal-body ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.blog-modal-body li {
    margin-bottom: 10px;
}