/* ===== GENEL AYARLAR ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}


/* ===== HEADER ===== */

header {
    background: #222;
    color: white;
    padding: 20px 0;
    text-align: center;
}


/* ===== NAVBAR ===== */

nav {
    background: #444;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    transition: 0.3s;
}

nav a:hover {
    background: #ff6600;
}


/* ===== GENEL SECTION ===== */

.section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
}


/* ===== HERO ===== */

.hero{
    background-image: url("images/f5.jpg");
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 140px;
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
}

.hero-content h2 {
    font-size: clamp(26px, 5vw, 42px);
}

.hero-content p {
    font-size: clamp(16px, 3vw, 20px);
    margin-top: 15px;
}


/* ===== BUTTON ===== */

.btn,
.hero-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    background: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover,
.hero-btn:hover {
    background: #e65c00;
}


/* ===== TOP BANNER ===== */

.top-banner {
    position: relative;
    min-height: 100vh;
    padding: 120px 20px;
    background-image: url("images/f2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.top-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.top-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.top-content h1 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
}

.subtitle {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 40px;
}


/* ===== SERVICES & GALLERY ===== */

.services,
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: start;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    height: auto;
}
.card h3 {
    margin-bottom: 10px;
}

.card:hover {
    transform: translateY(-5px);
}

.gallery img {
    width: 100%;
    border-radius: 10px;
}


/* ===== ORTA ARKA PLAN ===== */

.middle-background {
    background-image: url("images/f2.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 20px;
}


/* ===== WHY US ===== */

.why-us {
    display: flex;
    justify-content: center;
}

.why-content {
    background: rgba(120, 120, 120, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 15px;
    max-width: 700px;
    width: 100%;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    margin-top: 100px;
    text-align: center;
}

.why-content h2 {
    font-size: clamp(26px, 3vw, 32px);
    margin-bottom: 25px;
}

.why-content ul {
    list-style: none;
    line-height: 2;
}

.why-content li {
    font-size: clamp(18px, 2vw, 22px);
}


/* ===== CTA ===== */

.cta {
    background: #222;
    color: white;
    text-align: center;
    padding: 10px 20px;
}


/* ===== FOOTER ===== */

footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}


/* ===== MOBİL OPTİMİZASYON ===== */

@media (max-width: 768px) {
    /* NAVIGATION (HAMBURGER UYUMLU) */
    .navbar {
        position: relative;
        z-index: 10000;
        justify-content: space-between;
        padding: 15px 20px;
    }
    nav {
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .hamburger {
        display: flex !important;
    }
    .nav-links {
        position: absolute;
        top: 0px;
        z-index: 9999;
        left: 0;
        width: 100%;
        background: #444;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links.active {
        max-height: 400px;
    }
    /* HERO */
    .hero {
        min-height: 400px;
        padding: 40px 20px;
        text-align: center;
    }
    /* TOP BANNER */
    .top-banner {
        background-attachment: scroll;
        padding: 80px 20px;
        text-align: center;
    }
    /* WHY SECTION */
    .why-content {
        padding: 30px;
        margin-top: 60px;
    }
    /* SECTION GENEL */
    .section {
        padding: 40px 15px;
    }
    /* CARD */
    .card {
        padding: 20px;
    }
    /* SERVICES GRID */
    .services {
        grid-template-columns: 1fr;
    }
    /* GALLERY GRID */
    .gallery-container {
        grid-template-columns: 1fr;
    }
    .gallery-item img {
        height: 220px;
    }
    /* HEADER */
    header h1 {
        font-size: 22px;
        text-align: center;
    }
    /* FOOTER */
    footer {
        text-align: center;
        padding: 20px 10px;
    }
    /* ABOUT PAGE */
    .about-content h2 {
        font-size: 26px;
    }
    .about-content p {
        font-size: 16px;
    }
    /* CONTACT MOBILE */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .contact-overlay {
        padding: 30px 20px;
    }
    .contact-info h2 {
        font-size: 24px;
    }
    .contact-info p {
        font-size: 16px;
    }
    .map-container {
        height: 280px;
    }
}


/* ===== SERVICES PAGE FULL BACKGROUND ===== */

.services-page {
    position: relative;
    min-height: 100vh;
    padding: 120px 20px;
    background-image: url("images/f4.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    align-items: start;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

/* Karartma efekti */

.services-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}


/* Kartlar üste çıksın */

.services-page .card {
    position: relative;
    z-index: 2;
}


/* ===== BASIC GALLERY ===== */

.gallery-section {
    padding: 80px 20px;
    background: #f4f4f4;
}

.gallery-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s ease;
    display: block;
}

.gallery-item img:hover {
    transform: scale(1.05);
}


/* ===== WORKING LIGHTBOX ===== */

#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#lightbox img {
    max-width: 85%;
    max-height: 85vh;
    border-radius: 12px;
    cursor: pointer;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* ===== ABOUT PAGE HERO ===== */

.about-hero {
    position: relative;
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url("images/f7.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-overlay {
    width: 100%;
    min-height: inherit;
    background: rgba(0, 0, 0, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    text-align: center;
    color: #fff;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* ===== CONTACT PAGE SIMPLE CENTER ===== */

.contact-hero {
    position: relative;
    min-height: 100vh;
    background-image: url("images/f6.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.contact-overlay {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.55);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
}

.contact-info {
    color: white;
}

.contact-info h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info a {
    color: white;
    text-decoration: underline;
}

.contact-info a:hover {
    color: white;
    text-decoration: underline;
}

.map-container {
    margin-top: 40px;
    /* yazılar ile harita arası boşluk */
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    border: none;
}


/* ===== WHATSAPP ICON STYLE ===== */

.contact-info .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ddc01a, #cf0ab5);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.contact-info .whatsapp-btn:hover {
    transform: scale(1.07);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.9);
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
}


/* ===== HAMBURGER MENU ===== */

.navbar {
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    z-index: 9999;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
    display: block;
    border-radius: 2px;
}