/* ========================================
   CSS Variables (Root)
   ======================================== */
:root {
    --bs-primary: #08232C;
    --bs-primary2: #ffffff;
    --bs-primary3: #E6E3DD;
    --bs-primary-rgb: 40, 46, 32;
    --bs-link-color: #282E20;
    --bs-link-hover-color: #1a1e15;
    --transition-speed: 0.3s;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);
    --bs-primary-hover: #ACBB25;
    --bs-btn-active: #9bd988;
    --bs-btn-disabled: #e4e4e4;
}

/* ========================================
   Base Styles
   ======================================== */
html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ========================================
   Bootstrap Overrides
   ======================================== */
.btn-primary {
    --bs-btn-bg: #08232C;
    --bs-btn-border-color: #EAC168;
    --bs-btn-color: #282E20;
    --bs-btn-hover-bg: #D4AF5F;
    --bs-btn-hover-border-color: #D4AF5F;
    --bs-btn-hover-color: #282E20;
    --bs-btn-active-bg: #C19F54;
    --bs-btn-active-border-color: #C19F54;
    --bs-btn-active-color: #282E20;
    --bs-btn-disabled-bg: #F2D9A3;
    --bs-btn-disabled-border-color: #F2D9A3;
    --bs-btn-disabled-color: #8C7E5C;
    --bs-btn-focus-shadow-rgb: 234, 193, 104;
    transition: all var(--transition-speed) ease;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 0;
    letter-spacing: 1px;
    color: white;
    border: 1px solid white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn {
    transition: all var(--transition-speed) ease;
/*    border: 0px solid var(--bs-primary);*/
    font-weight: 500;
    padding: 10px 25px;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: var(--bs-primary-hover);
    color: white;
    transform: translateY(-2px);
}

.bg-primary {
    background-color: #08232C !important;
}

.text-primary {
    color: #282E20 !important;
}

.bg-secondary {
    background-color: var(--bs-primary3) !important;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    padding: 15px 0;
    transition: all var(--transition-speed) ease;
}

.navbar-brand img {
    height: 50px;
    transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    padding: 10px 15px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--bs-primary2);
    transform: scaleX(0);
    transition: transform var(--transition-speed) ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: var(--bs-primary2) !important;
}

/* ========================================
   Hero Section (Background Video)
   ======================================== */
#web-background {
    height: 100vh;
    width: 100vw;
    z-index: 0;
    position: fixed;
    top: 0;
    left: 0;
}

/*#web-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}*/

#web-background video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#web-background img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.web-bg-text {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--bs-primary2) !important;
    font-family: fraunces_120pt-light, serif;
    font-size: clamp(40px, 8vw, 90px);
    width: 80%;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-30%);
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

/* ========================================
   Main Sections
   ======================================== */
.main-section {
    position: relative;
    z-index: 3;
}

.mian-section {
    position: relative;
    z-index: 3;
}

/* ========================================
   Promotion Section
   ======================================== */
#section2 {
    margin-top: 100vh;
    text-align: center;
    padding: 100px 0;
    box-sizing: border-box;
}

.promo-box {
    margin: auto;
    width: 90%;
    max-width: 800px;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-speed) ease;
}

.promo-box:hover {
    transform: translateY(-5px);
}

.promo-box img {
    max-width: 180px;
    margin: 20px 0;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 150px 0;
}

.about-description {
    max-width: 650px;
    margin: auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* ========================================
   Media Grid
   ======================================== */
.media-item {
    box-sizing: border-box;
    padding: 10px;
    overflow: hidden;
}

.media-item img,
.media-item video {
    object-fit: cover;
    width: 100%;
    height: 250px;
    transition: transform 0.5s ease;
}

.media-item:hover img,
.media-item:hover video {
    transform: scale(1.08);
}

/* ========================================
   Treatments Section
   ======================================== */
.treatment-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow var(--transition-speed) ease;
}

.treatment-img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.treatment-description {
    max-width: 500px;
    line-height: 1.8;
    color: #555;
}

.row.mb-4 {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.row.mb-4:last-child {
    border-bottom: none;
}

/* ========================================
   Founder Section
   ======================================== */
.founder-img {
    width: 100%;
    max-width: 350px;
    transition: transform 0.5s ease;
}

.founder-img:hover {
    transform: scale(1.03);
}

.founder-quote {
    line-height: 1.8;
    font-size: 28px;
    font-style: italic;
    color: #333;
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--bs-primary2);
}

/* ========================================
   Hero Image Section
   ======================================== */
.hero-image-section {
    height: 80vh;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonial-card {
    padding: 2rem;
    background: white;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed) ease;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 100px;
    color: var(--bs-primary2);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card h4 {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: #666;
    line-height: 1.7;
    font-style: italic;
}

.footer-logo {
    max-width: 200px;
    transition: transform var(--transition-speed) ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-title {
    color: var(--bs-primary2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--bs-primary2);
    transform: translateX(5px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 30px 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    margin-right: 10px;
    transition: all var(--transition-speed) ease;
}

.social-icon:hover {
    background: var(--bs-primary2);
    color: var(--bs-primary);
    transform: translateY(-3px);
}

/* ========================================
   Text Colors & Utilities
   ======================================== */
.text-gold {
    color: var(--bs-primary2);
}

h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--bs-primary2);
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bs-primary2);
    color: var(--bs-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--bs-primary);
    color: var(--bs-primary2);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }

    .founder-quote {
        font-size: 22px;
    }

    .hero-image-section {
        height: 50vh;
        background-attachment: scroll;
    }

    .testimonial-card {
        margin-bottom: 20px;
    }

    .media-item img,
    .media-item video {
        height: 200px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
