/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #d4af37;
    --accent-color: #333;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.header.visible {
    background: rgba(200, 200, 200, 0.85);
    backdrop-filter: blur(10px);
}

.header.hidden {
    transform: translateY(-100%);
}

.navbar {
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
}

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

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-book-button {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-book-button:hover {
    background: #000;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 2001;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('https://d2zdpiztbgorvt.cloudfront.net/region1/us/937467/inspiration/2c5083e43fb9466da676d6cdd603f4-mike-the-barber-inspiration-893633eb19364405b49f4c253b05cf-booksy.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

/* Left Side: Small Contact Block */
.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-contact-small {
    color: var(--white);
}

.hero-phone-small {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-phone-small:hover {
    color: var(--secondary-color);
}

.hero-address-small {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.9;
}

/* Center: Large Business Name, Phone, Address */
.hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-image {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.hero-title-large {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-phone-large {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.3s;
}

.hero-phone-large:hover {
    color: var(--secondary-color);
}

.hero-address-large {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.btn-directions {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid var(--white);
}

.btn-directions:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Right Side: Booking Text and Button */
.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-booking-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--white);
    margin-bottom: 2rem;
    max-width: 300px;
}

.btn-book-now {
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 300px;
    text-align: center;
    white-space: nowrap;
}

.btn-book-now:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    color: var(--primary-color);
    background: var(--white);
}

/* Section Styles */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.about-images img:hover {
    transform: scale(1.05);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.service-duration {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

.booking-widget {
    margin-top: 3rem;
    padding: 2rem 0;
    width: 100%;
    min-height: 400px;
}

.booking-widget iframe,
.booking-widget > div {
    width: 100%;
}

/* Booking Section */
.booking {
    background: var(--white);
    padding: 80px 20px;
}

.booking .section-title {
    margin-bottom: 2rem;
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px;
    user-select: none;
    transition: color 0.3s;
    text-decoration: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--secondary-color);
}

/* Info Section */
.info-panels {
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.info-stacked {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 968px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.info-grid > .info-card:first-child h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-grid > .info-card:first-child {
    padding: 3rem;
}

.info-grid > .info-card:first-child .hours-item {
    padding: 1.25rem 0;
    font-size: 1.1rem;
}

.info-grid > .info-card:first-child .day {
    font-size: 1.15rem;
}

.info-grid > .info-card:first-child .time {
    font-size: 1.1rem;
}

.hours-list {
    margin-bottom: 2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
    color: var(--primary-color);
}

.time {
    text-align: right;
    color: var(--text-light);
}

.time.closed {
    color: #999;
    font-style: italic;
}

.hours-note {
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-item,
.amenities,
.safety {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-item h3,
.amenities h3,
.safety h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.amenities-list,
.safety-list {
    list-style: none;
}

.amenities-list li,
.safety-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

/* Booksy Modal */
.booksy-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.booksy-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.booksy-modal-content {
    background: var(--white);
    margin: 2% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.booksy-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-color);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.booksy-modal-close:hover {
    color: var(--secondary-color);
}

#booksyWidgetContainer {
    min-height: 400px;
    width: 100%;
}

#booksyWidgetContainer iframe,
#booksyWidgetContainer > div {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-left,
    .hero-right {
        justify-content: center;
        align-items: center;
    }

    .hero-booking-text {
        max-width: 100%;
        text-align: center;
    }

    .btn-book-now {
        max-width: 100%;
    }

    .hero-title-large {
        font-size: 3.5rem;
    }

    .hero-phone-large {
        font-size: 2.5rem;
    }

    .hero-address-large {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .hero {
        background-size: cover;
        background-position: center;
    }

    .hero-container {
        padding: 80px 20px 60px;
    }

    /* Hide contact info on mobile */
    .hero-left {
        display: none;
    }

    .hero-phone-large,
    .hero-address-large {
        display: none;
    }

    /* Reorder hero-center content - title first */
    .hero-center {
        display: flex;
        flex-direction: column;
        order: -1;
    }

    .hero-title-large {
        font-size: 2.5rem;
        order: 1;
        margin-bottom: 1.5rem;
    }

    .hero-logo-image {
        order: 2;
        width: 150px;
        margin-bottom: 1.5rem;
    }

    .btn-book-now {
        order: 3;
    }

    .hero-booking-text {
        font-size: 1rem;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        display: flex;
        flex-direction: column;
        padding: 4rem 2rem;
        transition: right 0.3s ease;
        z-index: 2000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 1rem;
        display: block;
        color: var(--white);
        font-size: 1.2rem;
    }

    .nav-book-btn {
        margin: 1rem 0 0;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .section-title {
        font-size: 2rem;
    }

    .hours-card {
        padding: 2rem 1.5rem;
    }

    .hours-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .time {
        text-align: left;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 20px 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

