/* 
  =======================================================================
  PROFESSIONAL HTML TEMPLATE
  =======================================================================
  Licença: Uso Comercial (Agência/Freelancer)
  Author: Envato User
  Site: #
  
  Licensed under Envato Elements Terms. 
  You are free to use this template for your commercial or personal projects.
  =======================================================================
*/

/* 
   The Royal Barber - V2 PRO Theme (Redesign)
   Author: Template Pack
   Style: Gentleman's Lounge / Modern Luxury
*/

:root {
    /* Colors - Deep Navy & Copper Palette */
    --primary-color: #c49a6c; /* Copper/Bronze */
    --primary-dark: #a37e53;
    --bg-color: #0b1120; /* Deep Navy */
    --bg-secondary: #151e32; /* Lighter Navy */
    --bg-tertiary: #1e293b; /* Slate */
    --text-color: #e2e8f0; /* Off-white */
    --text-muted: #94a3b8; /* Blue-grey */
    --white: #ffffff;
    --black: #000000;
    --border-color: rgba(196, 154, 108, 0.2);

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-signature: 'Great Vibes', cursive;

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.loader-line {
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 auto;
    animation: loadLine 1.5s ease-in-out forwards;
}

@keyframes loadLine {
    to { width: 100%; }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--bg-color);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--bg-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Section Headers */
.section-header {
    margin-bottom: 70px;
}

.section-tag {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    color: var(--white);
}

/* Top Bar */
.top-bar {
    background-color: var(--bg-secondary);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span {
    margin-right: 20px;
}

.top-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-social a {
    margin-left: 15px;
    color: var(--text-muted);
}

.top-social a:hover {
    color: var(--primary-color);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 17, 32, 0.95);
    padding: 20px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    font-weight: 500;
}

.nav-link:hover, .nav-link.active-link {
    color: var(--primary-color);
}

.btn-nav {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    color: var(--primary-color);
}

.btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.nav-toggle, .nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section (Ken Burns) */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1s ease, transform 8s linear;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.1); /* Ken Burns Effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 17, 32, 0.6), rgba(11, 17, 32, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.hero-subtitle {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 30px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.7s;
}

.hero-title em {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.9s;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.1s;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-down i {
    margin-top: 10px;
    color: var(--primary-color);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Stats Section */
.stats {
    background-color: var(--bg-secondary);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Philosophy Section */
.philosophy {
    background-color: var(--bg-color);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.signature-text {
    font-family: var(--font-signature);
    font-size: 3rem;
    color: var(--white);
    margin-top: 20px;
    transform: rotate(-5deg);
    opacity: 0.9;
}

.image-frame {
    position: relative;
    padding: 20px;
    border: 1px solid var(--primary-color);
}

.image-frame img {
    position: relative;
    top: -40px;
    left: -40px;
    width: 100%;
    box-shadow: 20px 20px 0 rgba(0,0,0,0.3);
}

/* Menu Section (Price List) */
.menu {
    background-color: var(--bg-secondary);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.menu-category {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.price-list li {
    margin-bottom: 30px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--white);
    font-weight: 600;
}

.item-dots {
    flex-grow: 1;
    border-bottom: 1px dotted var(--text-muted);
    margin: 0 15px;
    position: relative;
    top: -5px;
}

.item-price {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Portfolio Section (Masonry) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 17, 32, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-overlay h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

/* Ritual Section */
.ritual {
    background-color: var(--bg-tertiary);
}

.ritual-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 50px;
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.step:hover .step-icon {
    background-color: var(--primary-color);
    color: var(--bg-secondary);
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* Team Section */
.team {
    background-color: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-card {
    background-color: var(--bg-tertiary);
    transition: var(--transition);
    border: 1px solid transparent;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.team-img {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
    filter: grayscale(100%);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--white);
}

.team-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials Section */
.testimonials {
    background-image: linear-gradient(rgba(11, 17, 32, 0.9), rgba(11, 17, 32, 0.9)), url('https://images.unsplash.com/photo-1503951914875-452162b7f300?q=80&w=2070&auto=format&fit=crop');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.testimonial-item {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(5px);
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.6;
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Partners Section */
.partners {
    background-color: var(--bg-color);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-item {
    font-size: 3rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition);
}

.partner-item:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* VIP Club Section */
.vip-club {
    background-color: var(--bg-color);
    padding: 0; /* Full width feel */
}

.vip-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #0f1623 100%);
    border: 1px solid var(--primary-color);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.vip-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vip-tag {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.vip-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.vip-text {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.vip-benefits {
    margin-bottom: 40px;
}

.vip-benefits li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.vip-benefits i {
    color: var(--primary-color);
    margin-right: 15px;
}

.vip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Section */
.faq {
    background-color: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-tertiary);
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255,255,255,0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* Floating Button */
.float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Booking Section */
.booking {
    background-color: var(--bg-color);
    position: relative;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background-color: var(--bg-secondary);
    padding: 60px;
    border: 1px solid var(--border-color);
}

.booking-text {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea {
    height: 120px;
    resize: none;
}

/* Footer */
.footer {
    background-color: var(--black);
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 10px;
}

.footer-social a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .image-frame img {
        top: 0;
        left: 0;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ritual-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-line {
        display: none;
    }

    .step {
        margin-bottom: 40px;
    }

    .vip-card {
        grid-template-columns: 1fr;
    }

    .vip-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: var(--bg-secondary);
        padding: 4rem 2rem;
        transition: .4s;
        z-index: 100;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .nav-menu.show-menu {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-toggle, .nav-close {
        display: block;
    }
    
    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .item-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}
