/* ========================
   VARIABLES & GLOBAL
   ======================== */
:root {
    --bg-main: #0a0b0e;
    --bg-surface: #12141a;
    --bg-surface-light: #1c1f26;
    
    --accent: #d4af37; /* Elegant Gold */
    --accent-hover: #b5952f;
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --font-main: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-large {
    max-width: 1400px;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
}
.section-header.text-center p {
    margin-inline: auto;
}

/* ========================
   BUTTONS
   ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-main);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    background-color: var(--bg-surface-light);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: #262a33;
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-main);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn.small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.brand-logo .dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: var(--bg-main); /* Fallback */
    position: relative;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,11,14,0.7) 0%, rgba(10,11,14,0.9) 100%);
    z-index: 2;
}

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

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(to right, var(--accent), #f9d976);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ========================
   VIDEO SHOWCASE
   ======================== */
.video-showcase {
    padding-top: 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 9/16; /* Mobile portrait video ratio */
    background: var(--bg-surface);
}

.video-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    pointer-events: none;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: brightness(0.8);
    pointer-events: none;
}

.video-card:hover .showcase-video {
    filter: brightness(1.1);
    transform: scale(1.03);
}

/* ========================
   VALUE PROP / HOW IT WORKS
   ======================== */
.value-grid, .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.steps-grid {
    grid-template-columns: repeat(3, 1fr);
}

.value-card, .step-card {
    background: var(--bg-surface);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
}

.value-card:hover, .step-card:hover {
    transform: translateY(-5px);
    background: var(--bg-surface-light);
    border-color: rgba(212, 175, 55, 0.2);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    margin-bottom: 10px;
}

.value-card h3, .step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.value-card p, .step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================
   SERVICES SECTION
   ======================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 35px 30px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-card.popular {
    background: linear-gradient(145deg, #1c1f26, #12141a);
    border: 1px solid var(--accent);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 30px;
    background: var(--accent);
    color: var(--bg-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.service-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
    min-height: 45px;
}

.service-price {
    margin-top: auto;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.service-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-price .currency {
    color: var(--accent);
    font-weight: 600;
}

/* ========================
   EXPERTS / BARBERS
   ======================== */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.expert-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.expert-card .img-wrapper {
    width: 100%;
    height: 100%;
}

.expert-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    filter: grayscale(30%) contrast(1.1);
}

.expert-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0%) contrast(1.1);
}

/* Adjust size for Abdullah's specific photo */
.expert-card img.abdullah-img {
    object-fit: contain;
    object-position: bottom;
    padding: 10%;
    background-color: var(--bg-surface);
}

.expert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,11,14,0.95) 0%, rgba(10,11,14,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px 20px;
    transition: var(--transition);
}

.expert-info {
    transition: var(--transition);
    transform: translateY(20px);
}

.expert-card:hover .expert-info {
    transform: translateY(0);
}

.expert-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.expert-info .exp {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.expert-info .label {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

.expert-card .btn {
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.expert-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-surface);
    width: 90%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: var(--accent);
    color: var(--bg-main);
}

.modal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 50px 40px;
}

.modal-details h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.modal-exp {
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.modal-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.tag {
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.tag.with-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
}

.modal-desc {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.mock-booking-ui {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-input {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-main);
}
.booking-input:focus {
    outline: none;
    border-color: var(--accent);
}
.booking-input option {
    background-color: var(--bg-surface);
    color: var(--accent);
}

/* ========================
   EXPERIENCE SECTION
   ======================== */
.experience {
    background: var(--bg-surface);
    overflow: hidden;
}

.experience-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.exp-text .subtitle {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.exp-text h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.exp-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.exp-images {
    position: relative;
    height: 600px;
}

.img-box {
    position: absolute;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-1 {
    width: 60%;
    height: 80%;
    left: 0;
    top: 0;
    z-index: 2;
}

.box-2 {
    width: 55%;
    height: 70%;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* ========================
   ABOUT SECTION
   ======================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1/1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.vm-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vm-card {
    background: var(--bg-surface);
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
}

.vm-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.vm-card h4 i {
    color: var(--accent);
}

.vm-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========================
   GALLERY
   ======================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    display: block;
    aspect-ratio: 1/1;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(212, 175, 55, 0);
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item:hover::after {
    background: rgba(212, 175, 55, 0.2);
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
    padding: 120px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-surface-light) 0%, var(--bg-surface) 100%);
    padding: 80px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: var(--bg-surface);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
}

.footer-links a, .footer-contact p {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact i {
    color: var(--accent);
    margin-right: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--bg-main);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* ========================
   ANIMATIONS (Scroll Reveal)
   ======================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 1200px) {
    .experts-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 3.8rem; }
}

@media (max-width: 992px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .experience-wrapper, .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .exp-images { height: 400px; margin-top: 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .modal-layout { grid-template-columns: 1fr; }
    .modal-image { display: none; }
    .modal-content { max-width: 500px; }
    .hero-title { font-size: 3.2rem; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .navbar .btn { display: none; }
    
    .nav-links { 
        position: fixed; 
        top: 0; right: -100%; 
        width: 250px; height: 100vh; 
        background: var(--bg-surface); 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        transition: var(--transition); 
        z-index: 999; 
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-links.active { right: 0; }
    
    .menu-toggle { display: block; z-index: 1000; position: relative; }
    
    .hero { padding-top: 150px; }
    .hero-title { font-size: 2.5rem; }
    .hero-cta { flex-direction: column; }
    .video-grid { grid-template-columns: 1fr; }
    
    /* Disable parallax offsets visually on mobile */
    .img-box { position: relative; width: 100% !important; height: 250px !important; transform: none !important; left: auto; top: auto; right: auto; bottom: auto; margin-bottom: 20px;}
    .exp-images { height: auto; display: flex; flex-direction: column; }
    
    .value-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .experts-grid { grid-template-columns: 1fr 1fr; }
    .contact-methods { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-box h2 { font-size: 2rem; }
    .section-header h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .experts-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.whatsapp-float span {
    position: absolute;
    right: 70px;
    background: #25d366;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background-color: #20ba5a;
}

.whatsapp-float:hover span {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    .whatsapp-float span {
        display: none; /* Hide label on mobile to avoid clutter */
    }
}
