/* 
    Saloon Home - Premium Barbershop Stylesheet
    Aesthetic: Modern, Dark, Luxury
*/

:root {
    --primary-color: #ffffff;
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #888888;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

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

.container {
    width: 100%;
    padding: 0 5%;
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 1000;
    background: var(--bg-color);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 400;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-menu ul li a:hover {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 15px;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-slider {
    height: calc(100vh - 100px);
    margin-top: 100px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('../images/chair.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

.hero-content {
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 60%;
}

.top-tag {
    display: block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(40px, 11vw, 160px);
    line-height: 0.85;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -4px;
    text-transform: uppercase;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(18px, 4vw, 36px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 45px;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Removed hero-image classes as image is now background */

/* Ticker Section */
.ticker-section {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
}

.ticker-wrapper {
    display: flex;
    width: 100%;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 20s linear infinite;
}

.ticker-track span {
    font-size: 12px;
    letter-spacing: 4px;
    color: #666;
    text-transform: uppercase;
    font-weight: 400;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Section */
.about-section {
    width: 100%;
    background-color: var(--bg-color);
}

.about-container {
    display: flex;
    width: 100%;
}

.about-images {
    flex: 1;
    display: flex;
}

.img-col {
    flex: 1;
    height: 100%;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

.about-content {
    flex: 1;
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 5vw;
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #ffffff;
}

.divider {
    width: 40px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

.about-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.btn.full-width {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    background-color: #ffffff;
    color: #000;
}

.btn.full-width:hover {
    background-color: #dddddd;
}

/* Services Section */
.services-section {
    background-color: #0c0c0c;
    padding-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.services-header {
    padding: 0 5%;
    margin-bottom: 80px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card {
    padding: 80px 10%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:last-child {
    border-right: none;
}

.service-num {
    color: #666;
    font-size: 14px;
    display: block;
    margin-bottom: 40px;
    font-weight: 700;
}

.service-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #ffffff;
}

.service-price {
    font-size: 56px;
    color: #ffffff;
    line-height: 1;
    font-weight: 300;
}

/* Access Section */
.access-section {
    background-color: var(--bg-color);
    padding-top: 100px;
    padding-bottom: 100px;
}

.access-header {
    padding: 0 5%;
    margin-bottom: 60px;
}

.access-image-wrapper {
    width: 100%;
    padding: 0 5%;
}

.access-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #0c0c0c;
    padding-top: 100px;
}

.testimonials-header {
    padding: 0 5%;
    margin-bottom: 80px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card {
    padding: 80px 10%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-card:last-child {
    border-right: none;
}

.stars {
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 40px;
}

.quote {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 50px;
    flex-grow: 1;
    font-weight: 300;
}

.author {
    font-size: 12px;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
}

/* Footer Section */
.main-footer {
    background-color: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
    padding: 80px 10%;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col:last-child {
    border-right: none;
}

.hours-list {
    margin-top: 50px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hour-row span.day {
    font-size: 11px;
    letter-spacing: 2px;
    color: #666;
    text-transform: uppercase;
}

.hour-row span.time {
    font-size: 14px;
    color: #999;
}

.contact-info {
    margin-top: 50px;
    margin-bottom: 50px;
}

.contact-info p {
    color: #999;
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 5%;
    position: relative;
}

.footer-bottom .logo {
    position: absolute;
    left: 5%;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.footer-nav ul li a {
    color: #666;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 40px; }
    .hero-title { letter-spacing: -2px; }
}

@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .hero-slider { background-position: center right; }
    
    .services-grid, 
    .testimonials-grid, 
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card, .testimonial-card, .footer-col {
        padding: 60px 8%;
    }
    
    .service-card:nth-child(2) { border-right: none; }
    .service-card:nth-child(3) { border-top: 1px solid rgba(255, 255, 255, 0.05); grid-column: span 2; }
}

@media (max-width: 768px) {
    .main-header { padding: 15px 0; }
    .logo img { height: 32px; }
    
    .hero-slider {
        margin-top: 60px;
        height: auto;
        min-height: 600px;
        padding: 100px 0;
        background-position: center right 25%;
    }
    
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; }
    
    .hero-title { 
        font-size: clamp(48px, 15vw, 80px); 
        letter-spacing: -1px;
    }
    
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }
    
    .btn { width: 100%; text-align: center; margin: 0 !important; }

    .header-cta { display: none; }
    
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77,0,0.175,1);
        z-index: 999;
    }
    
    .nav-menu.active { right: 0; }
    .nav-menu ul { flex-direction: column; text-align: center; gap: 35px; }
    .nav-menu ul li a { font-size: 24px; letter-spacing: 3px; }
    
    .about-container { flex-direction: column; }
    .about-images { flex-direction: column; height: auto; }
    .img-col img { min-height: 350px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    
    .about-content { padding: 60px 20px; align-items: center; text-align: center; }
    .section-title { font-size: clamp(32px, 10vw, 50px); margin-bottom: 25px; }
    
    .services-header, .access-header, .testimonials-header {
        text-align: center;
        margin-bottom: 50px;
        padding: 0 20px;
    }
    
    .services-grid, 
    .testimonials-grid, 
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card, 
    .testimonial-card, 
    .footer-col {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 60px 20px;
        text-align: center;
    }
    
    .service-price { font-size: 48px; }
    .service-card:nth-child(3) { grid-column: 1; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        padding: 60px 20px;
    }
    
    .footer-bottom .logo {
        position: relative;
        left: 0;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero-title { font-size: 50px; }
    .hero-subtitle { font-size: 18px; }
    .section-title { font-size: 32px; }
}
@media (max-width: 1024px) {
    /* Details Page Responsive */
    .details-split {
        grid-template-columns: 1fr !important;
    }
    .details-sidebar {
        position: static !important;
        margin-top: 30px;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: repeat(3, 180px) !important;
    }
    .gallery-item.main {
        grid-row: span 2 !important;
        grid-column: span 2 !important;
    }
}

@media (max-width: 768px) {
    /* Results Page Map Toggle */
    .results-main {
        flex-direction: column !important;
    }
    .results-list {
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }
    .map-container {
        width: 100% !important;
        height: 300px !important;
        position: static !important;
    }
    
    /* Booking & Checkout Responsive */
    .slots-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .staff-selection {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .checkout-wrapper .container > div {
        grid-template-columns: 1fr !important;
    }
    #identification-form > div {
        grid-template-columns: 1fr !important;
    }
    
    /* Details Page Header */
    .salon-details-wrapper h1 {
        font-size: 24px !important;
    }
    .salon-details-wrapper .btn-primary {
        width: 100%;
        margin-top: 20px;
    }
    .salon-details-wrapper > .container > div:nth-child(2) {
        flex-direction: column;
        text-align: center;
    }
}

/* Premium Animations & Effects */
.service-item:hover, .salon-card:hover, .sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255,255,255,0.1);
    transform: translate(-50%, -50%) rotate(45deg);
    transition: 0.6s;
    opacity: 0;
}

.btn-primary:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) translateY(-100%);
}
