/* ==========================================================================
   Global Reset & Variables
   ========================================================================== */
:root {
    --primary:   #2f80ed;
    --secondary: #f7c04a;
    --dark:      #1b1b1b;
    --light:     #f5f5f5;
    --text:      #333333;
    --font:      'Poppins', sans-serif;
    --navbar-height: 60px;
}

/* style.css en üstüne veya :root’dan hemen sonra */
html {
    scroll-behavior: smooth;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    background: var(--light);
    color: var(--text);
    line-height: 1.6;
}

/* ==========================================================================
   Utility Container
   ========================================================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    margin-top: var(--navbar-height);
    height: calc(100vh - var(--navbar-height));
    background: url('../images/00.jpg') center/cover no-repeat;
}
.hero {
    overflow: hidden;
}
.hero::after  {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    top: 50%;
    transform: translateY(-50%);
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.btn {
    position: relative;
    z-index: 3;
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: background 0.3s, color 0.3s;
}
.btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ==========================================================================
   Sections
   ========================================================================== */
section {
    margin: 40px 0;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    scroll-margin-top: 80px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-section {
    margin: 10px 0 !important;
    padding: 10px 10px !important;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem; /* Fotoğraflarla başlık arası boşluk */
    color: var(--dark);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Promo
   ========================================================================== */
.promo {
    text-align: center;
}
.promo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Location (“Biz Neredeyiz?”)
   ========================================================================== */
.location-info .map-wrapper {
    width: 100%;
    height: 450px;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}
.location-info .map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
input, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
button {
    background: var(--primary);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}
button:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    text-align: center;
    padding: 20px;
    background: var(--dark);
    color: #fff;
    margin-top: 40px;
}
footer a {
    color: var(--secondary);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   WhatsApp Sabit Butonu
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
}
.whatsapp-float:hover {
    background-color: #1DA851;
}
.whatsapp-float img {
    width: 32px;
    height: 32px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Mobil (<769px) -> off‑canvas aktif */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-links {
        display: flex;
    }
}

/* ==============================
   Contact bölümü: iki section
   ============================== */
.contact-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.contact-section {
    background: #FFF;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.contact-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: var(--dark);
}
.contact-section form .form-group {
    margin-bottom: 1rem;
}
.contact-section form input,
.contact-section form textarea {
    width: 100%;
    padding: .75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}
.contact-section form button.btn {
    background: var(--primary);
    color: #fff;
    padding: .75rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background .3s;
}
.contact-section form button.btn:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* ==========================================================================
   NAVBAR (off‑canvas mobile‑first)
   ========================================================================== */
/* Container & pozisyon */
.navbar {
    height: var(--navbar-height);
    background: var(--dark);
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

/* Logo */
.logo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

/* Hamburger (mobilde gözükecek) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}
.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: transform .3s, opacity .3s;
}

/* Overlay (arka plan karartma) */
.nav-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s;
    z-index: 1001;
}

/* Menü linkleri (off‑canvas modu) */
.nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    padding-top: 4rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 1002;
}
.nav-links li {
    list-style: none;
}
.nav-links li a {
    color: #fff;
    padding: .75rem 1.5rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background .3s;
}
.nav-links li a:hover {
    background: rgba(255,255,255,0.1);
}

/* Menü açıkken */
html.nav-open .nav-links {
    transform: translateX(0);
}
html.nav-open .nav-overlay {
    visibility: visible;
    opacity: 1;
}

/* Hamburger → X animasyonu */
html.nav-open .menu-toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
html.nav-open .menu-toggle .bar:nth-child(2) {
    opacity: 0;
}
html.nav-open .menu-toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Responsive (desktop)
   ========================================================================== */
@media (min-width: 769px) {
    /* Mobil özellikleri iptal et */
    .menu-toggle { display: none; }
    .nav-overlay { display: none; }

    /* Menü linklerini yatay, statik yap */
    .nav-links {
        position: static !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        background: none !important;
        width: auto !important;
        height: auto !important;
        padding-top: 0 !important;
        gap: 2rem;
    }
}

/* Galeri düzeni zaten var; sadece küçük eklemeler: */
.gallery img {
    cursor: pointer;
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* Başlangıçta gizli */
.hidden {
    display: none;
}

/* Büyütülmüş resim */
.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

/* Kapat butonu */
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

/* Oklar */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}
.prev { left: 30px; }
.next { right: 30px; }

/* Video Galeri başlığı */
.video-gallery-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Grid düzen */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Thumbnail görseller */
.video-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.video-thumb img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Lightbox ortak stil */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.hidden {
    display: none;
}

/* Video oynatıcı */
.lightbox-video {
    max-width: 90%;
    max-height: 90%;
}

/* Kapat butonu */
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

/* Gezinti okları */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    user-select: none;
    padding: 10px;
}
.prev { left: 30px; }
.next { right: 30px; }


/* ==========================================================================
   Instagram Sabit Butonu
   ========================================================================== */
.instagram-float {
    position: fixed;
    bottom: 100px;       /* WhatsApp butonunun üstüne yerleştirir */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #E1306C;  /* Instagram pembe-mor ton */
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s;
}
.instagram-float:hover {
    background-color: #C13584;   /* Hover rengi biraz koyu */
}
.instagram-float img {
    width: 32px;
    height: 32px;
}
.video-gallery-section {
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    margin: 20px 0;
}

.video-gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--dark);
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.instagram-video {
    width: 100%;
    aspect-ratio: 9 / 16; /* Dikey Reels için uygundur */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.instagram-video iframe {
    width: 100%;
    height: 600px;
    border: none;
    overflow: hidden;
}