/* =====================================================
   BRAND FONTS
===================================================== */
@font-face {
    font-family: 'Rockwell';
    src: url('../fonts/rockwell.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =====================================================
   BRAND VARIABLES
===================================================== */
:root {
    --brand-red:    #FF4723;
    --brand-black:  #151515;
    --brand-dark:   #000000;
    --brand-mid:    #474747;
    --brand-muted:  #8F8F8F;
    --brand-silver: #bababa;
    --brand-white:  #ffffff;
    --font-logo:    'Rockwell', serif;
    --font-display: 'Khand', sans-serif;
    --font-body:    'Open Sans', sans-serif;
}

/* =====================================================
   GLOBAL
===================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--brand-dark);
    background: var(--brand-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    letter-spacing: 1px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-red); }

.section-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand-silver);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.accent { color: var(--brand-red); }

/* =====================================================
   NAVBAR
===================================================== */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    padding-top: max(1rem, env(safe-area-inset-top));
    transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
    background: rgba(0,0,0,0.94);
    backdrop-filter: blur(6px);
    padding: 0.6rem 0;
    padding-top: max(0.6rem, env(safe-area-inset-top));
    box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

#navbar.menu-open {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
}

/* UB logo - hidden by default, fades in on scroll or menu open */
.navbar-brand {
    font-family: var(--font-logo);
    font-size: 1.6rem;
    font-weight: normal;
    letter-spacing: -1px;
    padding-top: 6px;
    padding-bottom: 6px;
    color: var(--brand-white) !important;
    text-decoration: none;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#navbar.scrolled .navbar-brand,
#navbar.menu-open .navbar-brand {
    opacity: 1;
    pointer-events: auto;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85) !important;
    padding: 0.4rem 1rem !important;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--brand-red) !important; }

.nav-cta {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-white) !important;
    background: var(--brand-red);
    padding: 0.45rem 1.2rem !important;
    border-radius: 0;
    transition: background 0.2s;
}

.nav-cta:hover { background: #d93b1c !important; color: var(--brand-white) !important; }

.navbar-toggler {
    background: #000000;
    border: none;
    padding: 6px 10px;
    border-radius: 5px;
    margin-left: auto;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =====================================================
   HERO
===================================================== */
#hero {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

/* Photo side - left half */
.hero-photo {
    flex: 1 1 55%;
    position: relative;
    overflow: hidden;
    min-height: 480px;
}

.hero-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

#hero.loaded .hero-photo img { transform: scale(1); }

/* Subtle right-edge fade so the two halves blend slightly */
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(0,0,0,0.18) 100%);
}

/* Text panel - right half */
.hero-panel {
    flex: 0 0 45%;
    background: var(--brand-black);
    display: flex;
    align-items: center;
    padding: 7rem 4rem 4rem;
}

.hero-panel-inner { width: 100%; }

.hero-since {
    font-family: var(--font-display);
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-since::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--brand-red);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-logo);
    font-size: clamp(2.8rem, 4.5vw, 5.5rem);
    font-weight: normal;
    color: var(--brand-white);
    line-height: 0.85;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.25rem;
}

.hero-badge {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand-white);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.35rem 0.85rem;
}

.open-badge {
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.55);
}

.open-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bababa;
    margin-right: 6px;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.btn-primary-custom {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--brand-red);
    color: var(--brand-white);
    border: none;
    padding: 0.9rem 2.2rem;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary-custom:hover {
    background: #d93b1c;
    color: var(--brand-white);
    transform: translateY(-1px);
}

.btn-outline-custom {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: transparent;
    color: var(--brand-white);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0.9rem 2.2rem;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: border-color 0.2s, background 0.2s;
}

.btn-outline-custom:hover {
    border-color: var(--brand-white);
    background: rgba(255,255,255,0.08);
    color: var(--brand-white);
}

/* =====================================================
   ABOUT
===================================================== */
#about {
    padding: 6rem 0;
    background: var(--brand-white);
}

.hours-grid {
    margin-top: 0.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px dashed #e0e0e0;
    font-size: 0.95rem;
}

.hours-row:last-child { border-bottom: none; }

.hours-day {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--brand-dark);
}

.hours-row.today .hours-day { color: var(--brand-red); }

.hours-time {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-red);
}

.hours-closed {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--brand-silver);
}

/* =====================================================
   SERVICES / PRICING
===================================================== */
#pricing {
    padding: 6rem 0;
    background: #f7f7f7;
}

.pricing-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-item:last-child { border-bottom: none; }

@media (max-width: 767px) {
    /* Override Bootstrap's g-4 gutter between stacked pricing columns */
    #pricing .row { --bs-gutter-y: 0; }
    /* Restore a dividing border after the last item in the first column */
    .col-md-6:first-child .pricing-item:last-child {
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 1rem;
    }
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-dark);
    letter-spacing: 0.5px;
}

.pricing-dots {
    flex: 1;
    margin: 0 0.75rem;
    border-bottom: 2px dotted #d0d0d0;
    position: relative;
    top: -4px;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-red);
    white-space: nowrap;
}

/* =====================================================
   TESTIMONIALS
===================================================== */
#testimonials {
    padding: 6rem 0;
    background: var(--brand-black);
}

.testimonial-card {
    background: #1e1e1e;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    height: 100%;
    transition: transform 0.25s;
}

.testimonial-card:hover { transform: translateY(-4px); }

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 0.5;
    color: var(--brand-red);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.7;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.82);
    margin-bottom: 1.75rem;
}

.testimonial-author {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--brand-silver);
}

.testimonial-stars {
    color: var(--brand-red);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* =====================================================
   FACEBOOK CTA STRIP
===================================================== */
#social-strip {
    background: #1877F2;
    padding: 1.4rem 0;
}

.social-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.social-strip-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--brand-white);
}

.btn-fb {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.18);
    color: var(--brand-white);
    border: 1px solid rgba(255,255,255,0.5);
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.btn-fb:hover {
    background: rgba(255,255,255,0.3);
    color: var(--brand-white);
}

/* =====================================================
   CONTACT / FIND US
===================================================== */
#contact {
    padding: 6rem 0;
    background: var(--brand-white);
}

.contact-detail {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-red);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-silver);
    display: block;
    margin-bottom: 2px;
}

.contact-value {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.map-embed {
    width: 100%;
    height: 380px;
    border: none;
    display: block;
    filter: grayscale(20%);
}

/* =====================================================
   FOOTER
===================================================== */
#footer {
    background: var(--brand-black);
    padding: 2.5rem 0 1.5rem;
    color: rgba(255,255,255,0.55);
}

.footer-logo a {
    font-family: var(--font-logo);
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

.footer-logo .brand-accent { color: var(--brand-red); opacity: 0.75; }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
}

.footer-links li a {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-links li a:hover { color: var(--brand-red); }

.footer-divider {
    border-color: rgba(255,255,255,0.08);
    margin: 1.5rem 0 1.25rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* =====================================================
   SCROLL REVEAL
===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE TWEAKS
===================================================== */

/* Hero: stack photo above panel on mobile/tablet */
@media (max-width: 991px) {
    #hero {
        flex-direction: column;
        min-height: auto;
    }
    .hero-photo {
        flex: none;
        height: 55vw;
        min-height: 260px;
        max-height: 420px;
    }
    .hero-panel {
        flex: none;
        padding: 3.5rem 2rem 3rem;
    }
    .hero-title { font-size: clamp(3rem, 9vw, 3.8rem); }
}

@media (max-width: 767px) {
    #about, #pricing, #testimonials, #contact { padding: 4rem 0; }
    .hero-photo { height: 60vw; }
    .hero-panel { padding: 2.5rem 1.5rem; }
    .map-embed { height: 260px; }
}