﻿/* Navbar Styles */
.navbar-custom {
    background: transparent !important;
    transition: background 0.3s ease;
}

    .navbar-custom.scrolled {
        background: #253a4b !important; /* Royal purple, slightly transparent */
        backdrop-filter: blur(10px);
    }

.navbar-nav {
    margin: 0 auto;
}

    .navbar-nav .nav-item {
        margin: 0 15px;
    }

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 700;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: white !important;
    }

.navbar-brand {
    display: none;
}
/* Hero Section */
.light-Background {
    background-color: #253a4b;
}

.dark-Background {
    background-color: #001F3F;
}

.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-top: 8vh;
}

.logo-placeholder {
    width: 300px;
    height: 300px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.logo-placeholder2 {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-placeholder2 img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.barbers-name .display-1 {
    color: white;
    font-weight: bold;
    font-size: 9rem;
    line-height: 1;
}

.barbers-subtitle {
    color: #D4AF37;
    font-size: 3rem;
    font-weight: 300;
    margin-top: -10px;
}

.btn-find-us {
    background: transparent;
    border: 2px solid #D4AF37;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 5px;
}

    .btn-find-us:hover {
        background: white;
        color: #333;
        border-color: white;
    }
/* Content Sections */
.content-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.about-section {
    padding: 60px 0;
}

.about-text-block {
    padding-left: 15px;
    padding-right: 15px;
}

.about-title {
    font-size: 7.5rem; /* Increased size */
    font-weight: bold;
    margin-bottom: 0.5rem;
    transition-delay: 0s;
}

.about-subtitle {
    font-size: 2rem; /* Increased size */
    font-weight: 300;
    margin-bottom: 1rem;
    color: #D4AF37;
    transition-delay: 0.2s;
}

.about-item {
    font-size: 4rem; /* Increased size */
    font-weight: bold;
    margin: 0.25rem 0;
}

    .about-item:nth-child(3) {
        transition-delay: 0.4s;
    }

    .about-item:nth-child(4) {
        transition-delay: 0.6s;
    }

    .about-item:nth-child(5) {
        transition-delay: 0.8s;
    }

.about-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text {
    margin-top: -40px; /* Raise text slightly above image */
    padding-left: 10px; /* Slightly smaller gap */
}

.about-text-main {
    font-size: 2rem; /* Slightly larger than secondary */
    margin-bottom: 1rem;
}

.about-text-secondary {
    font-size: 1.5rem; /* Increased size for secondary text */
    margin-bottom: 1rem;
}

.services-section {
    padding: 60px 0;
}

.service-block {
    padding: 30px;
    height: 100%;
}

.service-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.service-underline {
    border: none;
    height: 2px;
    background: #D4AF37;
    width: 60px;
    margin: 0 auto;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.service-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
}

.service-description {
    font-size: 1rem;
    color: #495057;
}

.service-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #D4AF37;
    font-style: italic;
}
/* Footer */
.footer {
    background: #253a4b; /* Solid royal purple */
    color: white;
}

    .footer .social-links a {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer .social-links a:hover {
            color: #D4AF37;
        }

    .footer .address p {
        font-size: 0.9rem;
    }
/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -290px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-image {
    width: 250px;
    height: auto;
}
/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%);
    }

    40% {
        transform: translateX(-50%) translateY(10px);
    }

    60% {
        transform: translateX(-50%) translateY(5px);
    }
}

.animate-from-left {
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

    .animate-from-left.animate {
        transform: translateX(0);
        opacity: 1;
    }

.animate-from-right {
    transform: translateX(100px); /* Start off-screen to the right */
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

    .animate-from-right.animate {
        transform: translateX(0); /* Slide to original position */
        opacity: 1;
    }
/* About Section New Styles */
.about-section-new {
    color: white;
}

.about-intro-title {
    font-size: 4rem;
    font-weight: bold;
    color: #D4AF37;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.about-intro-text {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.stat-card {
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid #D4AF37;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    }

.stat-number {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    margin: 0;
}

.client-stories-section {
    padding: 60px 0;
}

.story-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 200px; /* Ensures uniform height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .story-card:hover {
        transform: translateY(-5px);
    }

.story-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #D4AF37;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.story-author {
    font-size: 1rem;
    color: white;
    font-weight: bold;
    margin: 0;
}

.location-teaser {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.btn-directions {
    background-color: #D4AF37;
    color: #253a4b;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-directions:hover {
        background-color: #b8942f;
        color: #253a4b;
    }
/* Media Queries */
@media (max-width: 768px) {
    .barbers-name .display-1 {
        font-size: 5rem;
    }

    .barbers-subtitle {
        font-size: 2.5rem;
    }

    .navbar-nav .nav-item {
        margin: 10px 0;
    }

    .logo-placeholder2 {
        width: 40px;
        height: 40px;
    }

    .logo-placeholder {
        width: 200px;
        height: 200px;
        margin-bottom: 1rem;
    }

    .about-text-block {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-title {
        font-size: 3.2rem; /* Adjusted for mobile */
    }

    .about-subtitle {
        font-size: 1.5rem; /* Adjusted for mobile */
    }

    .about-item {
        font-size: 2.8rem; /* Adjusted for mobile */
    }

    .about-text {
        margin-top: 1rem; /* Move text below image on mobile */
        padding-left: 5px; /* Adjusted for mobile */
    }

    .about-text-main {
        font-size: 1.5rem; /* Adjusted for mobile */
    }

    .about-text-secondary {
        font-size: 1.2rem; /* Adjusted for mobile */
    }

    .scroll-indicator {
        display: none; /* Hide on mobile */
    }

    .service-block {
        margin-bottom: 20px;
    }

    .about-intro-title {
        font-size: 2.5rem;
    }

    .about-intro-text {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .story-card {
        min-height: 180px;
    }
}

.footer-link:hover {
    color: #D4AF37 !important;
}

.social-links a:hover {
    color: #D4AF37 !important;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column !important;
        gap: 0.5rem !important;
        align-items: center;
    }

    .social-links {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .col-md-3 {
        text-align: center !important;
    }
}
/* Location Page Specific Styles */
.location-section {
    padding: 0;
    height: 100vh;
    background-color: #f8f9fa;
}

.location-row {
    --bs-gutter-x: 0;
    height: 100vh;
}

.location-map-col, .location-info-col {
    height: 100vh;
    padding: 0;
}

.location-map {
    height: 100vh;
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.location-info {
    background-color: #253a4b;
    color: white;
    padding: 40px;
    border-radius: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.location-name {
    font-size: 3rem;
    font-weight: bold;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.location-address, .location-phone {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.location-phone {
    color: #D4AF37;
    font-weight: bold;
}

.location-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: 0;
    margin-top: auto;
}

.barbers-section {
    padding: 80px 0;
}

.barber-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .barber-card:hover {
        transform: translateY(-5px);
    }

.barber-image {
    width: 180px;
    height: 220px;
    object-fit: cover;
    border-radius: 50% 50% 10px 10px;
    margin-bottom: 20px;
}

.barber-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
}

.barber-blurb {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .location-section {
        height: auto;
    }

    .location-row {
        height: auto;
    }

    .location-map-col, .location-info-col {
        height: auto;
    }

    .location-map {
        height: 50vh;
        margin-bottom: 0;
    }

    .location-info {
        height: auto;
        padding: 20px;
    }

    .location-name {
        font-size: 2rem;
    }

    .location-image {
        height: 200px;
    }

    .barber-name {
        font-size: 1.4rem;
    }

    .barber-image {
        width: 140px;
        height: 170px;
    }

    .barber-card {
        padding: 30px 15px;
    }
}

@media (max-width: 991.98px) {
    .navbar-custom {
        background-color: #001F3F !important;
        padding: 0.5rem 1rem !important; /* Add padding for better mobile layout */
    }

        .navbar-custom .navbar-brand.mobile-brand {
            display: inline-block !important; /* Override global display: none to show the mobile brand */
            color: #fff !important;
            font-size: 2rem !important; /* Larger for visibility; adjust as needed */
            font-weight: bold !important;
            text-decoration: none !important;
        }

    .mobile-menu-btn {
        background-color: #001F3F !important;
        border-radius: 0.75rem !important; /* More rounded edges */
        color: #fff !important;
    }

    .mobile-brand-wrapper {
        /* Remove or comment out the red bg once confirmed working */
        /* background-color: rgba(255, 0, 0, 0.1) !important; */
    }
}
/* Services Section Styles */
.services-section {
    padding: 80px 0;
}

.service-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .service-card:hover {
        transform: translateY(-5px);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #253a4b;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
}

.service-description {
    font-size: 1rem;
    color: white;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 15px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #D4AF37;
}

.intro-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.intro-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .intro-title {
        font-size: 2.5rem;
    }

    .intro-text {
        font-size: 1.1rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-card {
        padding: 25px 15px;
    }
}
