/* ============================================================
   BARBER KONT — STYLESHEET
   Palette: #212121 (BG), #FBC02D (Accent)
   Fonts: Oswald (Headings) + Outfit (Body)
   ============================================================ */

:root {
    --bg-dark: #212121;
    --bg-darker: #1a1a1a;
    --bg-light: #2c2c2c;
    --primary: #FBC02D;
    --primary-hover: #d39f22;
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    --border: rgba(255,255,255,0.1);
    
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ================= NAV ================= */
.top-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    background: rgba(33, 33, 33, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.status-indicator .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 8px #4caf50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.btn-primary {
    background: var(--primary);
    color: #111;
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border);
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s, border-color 0.3s;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-main);
}

.menu-toggle {
    background: transparent;
    width: 40px; height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 1002;
    display: none; /* Hidden by default, shown on mobile */
}

.menu-toggle span {
    display: block;
    width: 25px; height: 2px;
    background: var(--text-main);
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.fullscreen-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-darker);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.fullscreen-menu.open {
    opacity: 1;
    visibility: visible;
}

.menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.menu-link {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    position: relative;
}

.menu-link:hover {
    color: var(--primary);
    font-style: italic;
}

.menu-footer {
    position: absolute;
    bottom: 3rem;
    display: flex;
    gap: 2rem;
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
}
.menu-footer a:hover {
    color: var(--text-main);
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay-blur {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(33,33,33,0.3), rgba(33,33,33,0.9));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.hero-title span {
    color: var(--primary);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ================= MARQUEE BANNER ================= */
.marquee-wrapper {
    background: var(--primary);
    color: #111;
    overflow: hidden;
    padding: 1rem 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.marquee {
    display: flex;
    white-space: nowrap;
    animation: scrollMarquee 25s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.marquee span {
    padding-right: 2rem;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.3333%); }
}

/* ================= SECTION COMMON ================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ================= ABOUT ================= */
.about {
    padding: 6rem 2rem;
    background: var(--bg-darker);
}

.about-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.about-text em {
    color: var(--text-main);
    font-style: italic;
    font-size: 1.2rem;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: 1.1rem;
}

.about-features li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--primary);
    font-size: 0.7rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper .about-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    filter: grayscale(40%) contrast(1.1);
    position: relative;
    z-index: 2;
}

.img-accent-border {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    z-index: 1;
}

/* ================= SERVICES ================= */
.services {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.service-menu-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-row {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
    transition: 0.3s;
}

.service-row:hover {
    padding-left: 1rem;
    border-bottom-color: var(--primary);
}

.service-row:hover .service-name {
    color: var(--primary);
    font-style: italic;
}

.service-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    letter-spacing: 1px;
    transition: 0.3s;
    white-space: nowrap;
}

.service-line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 0 1.5rem;
}

.service-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: 0.3s;
    white-space: nowrap;
}

.service-row:hover .service-btn {
    background: var(--primary);
    color: #111;
    border-color: var(--primary);
}

/* ================= IMAGE BANNER ================= */
.image-banner {
    background: linear-gradient(rgba(33, 33, 33, 0.7), rgba(33, 33, 33, 0.7)), url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    padding: 8rem 2rem;
    text-align: center;
}

.banner-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

/* ================= REVIEWS ================= */
.reviews {
    padding: 6rem 2rem;
    background: var(--bg-darker);
}

.reviews-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.review-stars {
    color: var(--primary);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    flex-grow: 1;
}

.review-author {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-main);
}

/* ================= CONTACT ================= */
.contact {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.contact-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.info-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.info-block a {
    color: var(--text-muted);
}
.info-block a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

.contact-map {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    filter: grayscale(30%) invert(90%) hue-rotate(180deg);
}

/* ================= FOOTER ================= */
footer {
    padding: 4rem 2rem;
    text-align: center;
    background: #111;
    border-top: 1px solid var(--border);
}

footer h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* ================= MODAL ================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    padding: 1rem;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--bg-light);
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 8px;
    position: relative;
    transform: translateY(20px);
    transition: 0.3s;
    border: 1px solid var(--border);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 2rem;
    line-height: 1;
}
.modal-close:hover {
    color: var(--text-main);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-form label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 0.8rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-submit {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
    width: 100%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .nav-right .status-indicator,
    .nav-right .btn-primary {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .top-nav { padding: 0 1.5rem; }
    .hero-title { font-size: clamp(3rem, 12vw, 4.5rem); }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions button, .hero-actions a { width: 100%; text-align: center; }
    
    .service-row { flex-direction: column; align-items: flex-start; gap: 1rem; padding-left: 0 !important; }
    .service-line { display: none; }
    
    .form-group-row { grid-template-columns: 1fr; }
    
    .img-accent-border { display: none; }
}
