* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #333;
    --text-color: #666;
    --light-bg: #f9f9f9;
    --white: #fff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; display: block; height: auto; }

/* HEADER & NAV */
#header {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    transition: all 0.3s ease;
}
#header.scrolled {
    padding: 4px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.navbar { padding: 12px 0; }

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: -14px;
}
.logo img,
.logo-img {
    height: 42px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1);
}
#header.scrolled .logo img,
#header.scrolled .logo-img { height: 36px; }

.logo-text {
    font-size: 40px;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
#header.scrolled .logo-text { font-size: 33px; }

.nav-menu {
    margin-left: auto;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 3px 0;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}
.nav-link:hover { color: var(--primary-color); }
.nav-link:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}
.menu-toggle .bar {
    width: 25px; height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

/* HERO */
.hero-section {
    height: 100vh;
    padding-top: 110px;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('bg.jpg') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    color: var(--white);
}
.hero-title {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 3px;
    animation: fadeInUp 1s ease;
}
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s both;
}
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.6s both;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,107,107,0.3);
}

/* SECTIONS */
.section { padding: 100px 0; }
.section-alt { background: var(--light-bg); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.section-line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

.row {
    display: flex;
    align-items: center;
    gap: 80px;
}
.row-reverse { flex-direction: row-reverse; }
.col-image, .col-text { flex: 1; }
.col-text { padding-left: 10px; }
.col-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.col-text p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* GALERİ - 3x2 görünüm + yatay kaydırma */
.gallery-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e6e6e6;
}
.gallery-scroll::-webkit-scrollbar { height: 8px; }
.gallery-scroll::-webkit-scrollbar-track {
    background: #e6e6e6;
    border-radius: 10px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.gallery-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    grid-template-rows: repeat(2, 240px);
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 20px;
    min-width: max-content;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    scroll-snap-align: start;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* İLETİŞİM */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 48px;
    justify-items: stretch;
    padding: 0 30px;
}
.contact-form,
.contact-info {
    width: 100%;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-form .form-group { margin-bottom: 20px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.contact-form button { width: 100%; }

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 26px;
}
.contact-info .info-item i {
    font-size: 28px;
    color: var(--primary-color);
}
.contact-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

/* FOOTER */
#footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo img { height: 60px; margin-bottom: 20px; }
.footer-logo p { font-size: 14px; color: #999; }
.footer-social h3,
.footer-contact h3 { margin-bottom: 20px; font-size: 20px; }
.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    width: 45px; height: 45px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s;
}
.social-links a:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
}
.footer-contact p { margin-bottom: 10px; color: #999; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 30px; right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 3px 3px 20px rgba(0,0,0,0.4);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
    70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-container { flex-wrap: wrap; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0,0,0,0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
    }
    .nav-menu.active { left: 0; }

    .hero-title { font-size: 44px; }
    .hero-subtitle { font-size: 18px; }

    .row,
    .row-reverse {
        flex-direction: column;
        gap: 30px;
    }
    .section { padding: 70px 0; }
    .section-header h2 { font-size: 32px; }

    .gallery-track {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        grid-template-rows: repeat(2, 220px);
        grid-auto-columns: minmax(220px, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links { justify-content: center; }

    .logo img,
    .logo-img { height: 40px; }
    #header.scrolled .logo img,
    #header.scrolled .logo-img { height: 36px; }
    .logo-text { font-size: 36px; }
    #header.scrolled .logo-text { font-size: 32px; }

    .contact-wrapper { padding: 0; }
    .contact-form,
    .contact-info {
        box-shadow: none;
        padding: 0;
    }

    .whatsapp-float {
        width: 50px; height: 50px;
        bottom: 20px; right: 20px;
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .gallery-track {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        grid-template-rows: repeat(2, 200px);
        grid-auto-columns: minmax(180px, 1fr);
    }
}