/* ============================================================
   Barbershop Website — Modern Premium Design
   Bilingual: Georgian + English
   ============================================================ */

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0a;
    --bg2: #111111;
    --bg3: #1a1a1a;
    --accent: #d4a853;
    --accent2: #c9952e;
    --gold: #f0c060;
    --text: #ffffff;
    --text2: #999999;
    --text3: #666666;
    --border: #222222;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 20px 60px rgba(0,0,0,0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans Georgian', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Typography === */
h1, h2, h3, h4 {
    font-family: 'Bebas Neue', 'Noto Sans Georgian', sans-serif;
    letter-spacing: 1px;
}
h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: 0.9; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.4rem; font-weight: 600; font-family: 'Inter', 'Noto Sans Georgian', sans-serif; letter-spacing: 0; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent2); }

/* === Language Toggle === */
.lang-toggle {
    position: fixed; top: 20px; right: 20px; z-index: 10000;
    display: flex; gap: 4px; background: rgba(20,20,20,0.9);
    backdrop-filter: blur(20px); border: 1px solid var(--border);
    border-radius: 50px; padding: 4px;
}
.lang-btn {
    padding: 6px 14px; border-radius: 50px; border: none;
    background: transparent; color: var(--text2); cursor: pointer;
    font-size: 0.8rem; font-weight: 600; transition: var(--transition);
    font-family: 'Inter', sans-serif;
}
.lang-btn.active { background: var(--accent); color: #000; }

/* Language visibility */
body.lang-ka .en { display: none !important; }
body.lang-en .ka { display: none !important; }

/* === Buttons === */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 50px;
    font-size: 0.95rem; font-weight: 700; text-decoration: none;
    transition: var(--transition); cursor: pointer; border: none;
    text-align: center; font-family: 'Inter', 'Noto Sans Georgian', sans-serif;
    letter-spacing: 0.5px;
}
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212,168,83,0.3); color: #000; }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: white; color: #000; border-color: white; }
.btn-outline-dark { background: transparent; color: var(--text); border: 2px solid var(--border); }
.btn-outline-dark:hover { background: var(--text); color: #000; border-color: var(--text); }
.btn-outline-white { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: white; color: #000; }
.btn-white { background: white; color: #000; }
.btn-white:hover { background: #e0e0e0; transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-header { padding: 10px 24px; font-size: 0.85rem; background: var(--accent); color: #000; }
.btn-header:hover { background: var(--accent2); color: #000; }

/* === Header === */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0; transition: var(--transition);
    background: transparent;
}
.header.scrolled {
    background: rgba(10,10,10,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
}
.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; font-weight: 700; color: white !important;
    letter-spacing: 2px;
}
.nav { display: flex; gap: 28px; }
.nav a {
    color: rgba(255,255,255,0.6); font-weight: 500; font-size: 0.9rem;
    position: relative; transition: var(--transition);
}
.nav a:hover { color: white; }
.nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
    height: 2px; background: var(--accent); transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* === Hero === */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.8) 100%);
}
.hero::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212,168,83,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212,168,83,0.04) 0%, transparent 50%);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1); padding: 10px 24px;
    border-radius: 50px; font-size: 0.9rem; margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
}
.hero-badge .stars { color: var(--gold); letter-spacing: 2px; }
.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 4px; margin-bottom: 20px;
    background: linear-gradient(to bottom, #fff 0%, #999 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.15rem; color: var(--text2); margin-bottom: 40px;
    max-width: 600px; margin-left: auto; margin-right: auto;
    font-weight: 400;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 2; text-align: center; color: var(--text3); font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 2px;
}
.scroll-arrow { font-size: 1.2rem; animation: bounce 2s infinite; margin-top: 4px; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* === Sections === */
.section { padding: 100px 0; }
.section-light { background: var(--bg2); }
.section-dark { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text2); font-size: 1.1rem; }
.section-header.light p { color: var(--text3); }
.section-cta { text-align: center; margin-top: 50px; }

/* === Services Grid === */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--bg2); padding: 40px 28px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); text-align: center; transition: var(--transition);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0; transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); border-color: #333; box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: var(--accent); background: linear-gradient(135deg, #1a1a1a, #111); }
.service-card.featured::after {
    content: '★'; position: absolute; top: 16px; right: 16px;
    color: var(--accent); font-size: 1.2rem;
}
.service-icon { font-size: 3rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 8px; font-size: 1.3rem; }
.service-card p { color: var(--text2); margin-bottom: 16px; font-size: 0.9rem; }
.service-price {
    font-size: 2.2rem; font-weight: 900; color: var(--accent);
    font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px;
    margin-bottom: 8px;
}
.service-duration { color: var(--text3); font-size: 0.85rem; display: block; }

/* === Features === */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px; text-align: center;
}
.feature-item { padding: 20px; }
.feature-icon { font-size: 3rem; margin-bottom: 20px; }
.feature-item h3 { margin-bottom: 10px; color: white; }
.feature-item p { color: var(--text3); font-size: 0.95rem; }

/* === Gallery === */
.gallery-filter { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    padding: 10px 24px; border-radius: 50px; border: 1px solid var(--border);
    background: transparent; color: var(--text2); cursor: pointer;
    font-size: 0.9rem; font-weight: 500; transition: var(--transition);
    font-family: 'Inter', 'Noto Sans Georgian', sans-serif;
}
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius); overflow: hidden;
    background: var(--bg2); border: 1px solid var(--border);
    transition: var(--transition); cursor: pointer;
}
.gallery-item:hover { transform: scale(1.02); border-color: #444; }
.gallery-img {
    height: 240px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
}
.gallery-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-img img { transform: scale(1.05); }
.gallery-img::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.6), transparent);
    z-index: 1;
}
.gallery-icon { position: relative; z-index: 1; opacity: 0.6; }
.gallery-caption { padding: 14px; text-align: center; font-weight: 500; font-size: 0.9rem; }
.gallery-note { text-align: center; margin-top: 30px; color: var(--text3); font-size: 0.95rem; }

/* === Reviews === */
.reviews-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.review-card {
    background: var(--bg); padding: 30px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition);
    border-left: 3px solid var(--accent);
}
.review-card:hover { border-color: #333; transform: translateY(-4px); }
.review-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-style: italic; color: #bbb; margin-bottom: 14px; line-height: 1.7; font-size: 0.95rem; }
.review-author { font-weight: 700; color: var(--text); font-size: 0.9rem; }

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    text-align: center; padding: 100px 0;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212,168,83,0.06) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; color: var(--text2); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Contact === */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
    display: flex; gap: 20px; padding: 24px; background: var(--bg2);
    border-radius: var(--radius); border: 1px solid var(--border);
    align-items: flex-start; transition: var(--transition);
}
.contact-card:hover { border-color: #333; }
.contact-icon { font-size: 1.8rem; min-width: 40px; text-align: center; }
.contact-card h3 { margin-bottom: 6px; font-size: 1.1rem; }
.contact-card p, .contact-card a { color: var(--text2); font-size: 0.95rem; }
.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-link {
    padding: 8px 18px; border-radius: 50px; border: 1px solid var(--border);
    color: var(--text2); font-size: 0.85rem; font-weight: 500; transition: var(--transition);
}
.social-link:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); height: 450px; }
.contact-map iframe { width: 100%; height: 100%; border: none; }

/* === Footer === */
.footer { background: #050505; padding: 80px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-col h3 { color: white; margin-bottom: 16px; font-size: 1.2rem; }
.footer-col p { color: var(--text3); margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a { display: block; color: var(--text3); margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-rating { color: var(--gold); margin-top: 12px; font-weight: 600; font-size: 0.95rem; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a {
    padding: 8px 16px; border-radius: 50px; border: 1px solid #222;
    color: var(--text3); font-size: 0.8rem; font-weight: 600; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); color: #000; border-color: var(--accent); }
.footer-bottom {
    border-top: 1px solid #111; padding: 24px 0;
    display: flex; justify-content: space-between; flex-wrap: wrap;
    gap: 12px; font-size: 0.85rem; color: var(--text3);
    max-width: 1200px; margin: 0 auto; padding: 24px;
}
.footer-bottom a { color: var(--accent); }

/* === Mobile === */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero { min-height: 90vh; }
    .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; max-width: 300px; }
    .nav { display: none; }
    .nav.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px); padding: 24px; gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .mobile-toggle { display: block; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-map { height: 300px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .reviews-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .lang-toggle { top: 10px; right: 10px; }
}
