@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;900&family=Syne:wght@400;700;800&display=swap');

:root {
    --bg-color: #000000;
    --accent-color: #ccff00;
    --accent-glow: rgba(204, 255, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --text-muted: #444444;
    --card-bg: #0a0a0a;
    --border-color: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Base Components */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

section {
    position: relative;
    padding: 10rem 0;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-color);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 4rem;
}

.bg-text {
    position: absolute;
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Syne', sans-serif;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 4rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    z-index: 1100;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/stronggym-hero-floor.jpg.webp') no-repeat center center;
    background-size: cover;
    z-index: 0;
    filter: brightness(0.5);
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, #000);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

/* Salonumuz (Architectural Grid) */
.salon-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.salon-item {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
}

.salon-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    z-index: 1;
}

.salon-item:nth-child(1) { grid-column: 1 / 8; height: 600px; }
.salon-item:nth-child(2) { grid-column: 8 / 13; height: 500px; margin-top: 4rem; }
.salon-item:nth-child(3) { grid-column: 3 / 10; height: 500px; margin-top: -4rem; }

.salon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: var(--transition);
}

.salon-item:hover .salon-img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.salon-info {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    max-width: 300px;
    z-index: 2;
}

.salon-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.salon-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Services */
.services-section {
    background: #000;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--border-color);
}

.service-item {
    padding: 3rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.service-item:nth-child(odd) {
    border-right: 1px solid var(--border-color);
}

.service-item:hover {
    background: var(--accent-color);
    color: #000;
}

.service-item span {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
}

/* Gallery */
.gallery-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.gallery-item {
    aspect-ratio: 1/1;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Info Section */
.split-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}

.address-block p {
    font-size: 2.5rem;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contact-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hours-block {
    border-top: 1px solid var(--border-color);
}

.hour-row {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.2rem;
}

.hour-row .day {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 8rem 0;
    background: #000;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.footer-logo h2 {
    font-size: 5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   MOBILE — Full Responsive Overhaul
   ============================================ */
@media (max-width: 768px) {

    /* Global */
    .container { padding: 0 1.25rem; }
    section { padding: 4rem 0; }
    .bg-text { display: none !important; }

    /* Header */
    header { padding: 1rem 0; }
    .logo { font-size: 1.6rem; }
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: left 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1050;
    }

    .nav-links.active { left: 0; }

    .nav-links li a {
        font-size: 1.8rem;
        opacity: 1;
        letter-spacing: 0.1em;
    }

    /* Hero */
    .hero { height: 100svh; min-height: 600px; }

    .hero-media {
        background-attachment: scroll; /* Fix iOS parallax bug */
    }

    .hero-content {
        padding: 0 1.25rem;
        padding-top: 5rem;
    }

    .hero-content h1 {
        font-size: clamp(2.8rem, 13vw, 5rem);
        line-height: 0.9;
        margin-bottom: 1.5rem;
        letter-spacing: -0.04em;
        word-break: keep-all;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: #bbb;
        margin-bottom: 2.5rem;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        padding: 0;
    }

    .hero-btns .btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.85rem;
    }

    /* Section titles */
    .section-label { font-size: 0.7rem; letter-spacing: 0.3em; }

    .section-title {
        font-size: clamp(2.2rem, 11vw, 3.5rem);
        line-height: 1;
        margin-bottom: 2rem;
    }

    /* Salon Grid */
    .salon-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .salon-item {
        width: 100%;
        height: 260px;
        grid-column: unset !important;
        margin: 0 !important;
    }

    .salon-info {
        bottom: 1.25rem;
        left: 1.25rem;
        max-width: calc(100% - 2.5rem);
    }

    .salon-info h3 { font-size: 1.6rem; margin-bottom: 0.3rem; }
    .salon-info p { font-size: 0.8rem; }

    /* Services */
    .service-list {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding: 1.5rem 1.25rem;
        border-right: none !important;
    }

    .service-item span {
        font-size: 1.3rem;
    }

    /* Gallery */
    .gallery-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .gallery-item { aspect-ratio: 1/1; }

    /* Contact Section */
    .split-info {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .address-block p {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .contact-btns {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-btns .btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.85rem;
    }

    .hours-block { border-top: 1px solid var(--border-color); }
    .hour-row { padding: 1.25rem 0; font-size: 1rem; }

    /* Footer */
    footer { padding: 4rem 0; }
    .footer-logo h2 { font-size: 2.8rem; }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .footer-contact p { font-size: 0.9rem; }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.7rem;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .hero-content h1 { font-size: 3rem; }
    .section-title { font-size: 2rem; }
    .service-item span { font-size: 1.1rem; }
}
