/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    /* Colors */
    --primary-color: #d4af37;
    --secondary-color: #EFEBE1;
    --accent-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --light-gray2: #EAEAEA;
    --black: #000000;
    --dark-gray: #484848;
    --med-gray: #707070;
    --gray: #808080;
    --off-white: #FCF9F4;
    --off-white-hover: #F7F3ED;
    --light-brown: #E3DED0;
    --brown: #B4AC96;
    --med2-gray: #727272;

    /* Typography */
    --font-primary: 'Baskervville', 'Times New Roman', serif;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    font-size: 1.1rem;
    color: var(--med-gray);
}

html {
    scroll-behavior: smooth;
}

/* Utility Classes */
.italic {
    font-style: italic;
}

.bold {
    font-weight: 600;
}

.image-shadow {
    box-shadow: 0 0px 15px rgba(0, 0, 0, 0.10);
}

.heading-underline {
    border-bottom: 1px solid var(--light-brown);
    padding-bottom: 0.5rem;
}

.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-opacity {
    transition: opacity 0.3s ease;
    opacity: 0.8;
}
.hover-opacity:hover {
    opacity: 1;
}



/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-weight: 300;
}

.display-3 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-style: italic;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    align-items: center;
    flex-wrap: nowrap;
}

.navbar-toggler {
    border: 0px !important;
}
.navbar-toggler-icon {
    opacity: 0.3;
}
.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}
.icon-close {
    font-size: 3rem;
    line-height: 1;
    opacity: 0.5;
}

/* NAVBAR FLEX LAYOUT */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.d-flex.align-items-center.flex-shrink-0 {
    min-width: 0;
}

.slogan {
    white-space: nowrap;
    font-size: 1rem;
    color: var(--med-gray);
}

/* Hide slogan on mobile */
@media (max-width: 1200px) {
    .slogan {
        display: none !important;
    }
}

/* NAVBAR COLLAPSE: Only absolute on mobile */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(252, 249, 244, 0.98);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .navbar-nav {
        padding: 1rem 0;
    }
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    .navbar-nav .nav-item a:hover {
        background: var(--off-white-hover);
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        position: static !important;
        background: none !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center;
        width: auto !important;
    }
    .navbar-nav {
        flex-direction: row;
        padding: 0;
    }
    .navbar-nav .nav-item {
        border: none;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        text-align: left;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 300;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-family: var(--font-primary);
    margin: 0 15px;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .slogan {
    font-style: italic;
    font-size: 1rem;
    color: var(--med-gray);
    font-weight: 300;
    display: flex;
    align-items: center;
    margin: 0 20px 0 0;
    white-space: nowrap;
}

.navbar .slogan p {
    margin: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: linear-gradient(0deg, #E5E0D4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://cdn.csdurant.com/templates/mitchelljewelers.com/img/flourish-design.png') no-repeat center bottom;
    background-size: 100% auto;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--med-gray);
    font-weight: 300;
}

.hero-section p {
    color: var(--med-gray);
    font-weight: 300;
    font-size: 1.5em;
    font-style: italic;
}

/* Video Container */
.video-container {
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   PAGE TITLE BAR
   ======================================== */

#page-title {
    background: linear-gradient(0deg, #E5E0D4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 10rem;
    padding-bottom: 1rem;
}
#page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://cdn.csdurant.com/templates/mitchelljewelers.com/img/flourish-design.png') no-repeat center bottom;
    background-size: 100% auto;
    z-index: 1;
}
#page-title .container {
    position: relative;
    z-index: 2;
}

#page-title h1 {
    color: var(--med-gray);
    font-weight: 300;
}

/* ========================================
   CONTENT SECTION
   ======================================== */

#page-title {
    padding-left: 1rem;
    padding-right: 1rem;
}

#content, .content-section {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ========================================
   FORMS
   ======================================== */

/* Form Controls */
.form-control,
.form-select {
    border-radius: 0;
    border: 1px solid var(--med-gray);
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 0.2rem rgba(180, 172, 150, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-light);
}

/* Form Labels */
.form-label {
    color: var(--med-gray);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

/* Form Check */
.form-check-input {
    border-radius: 0;
    border: 1px solid var(--med-gray);
}

.form-check-input:focus {
    border-color: var(--brown);
    box-shadow: 0 0 0 0.2rem rgba(180, 172, 150, 0.25);
}

.form-check-input:checked {
    background-color: var(--brown);
    border-color: var(--brown);
}

.form-check-label {
    color: var(--med-gray);
    font-weight: 400;
}

/* ========================================
   SWIPER SLIDERS
   ======================================== */
#slider {
    padding-left: 1rem;
    padding-right: 1rem;
}

#page-slider {
    background: var(--off-white);
    padding-left: 1rem;
    padding-right: 1rem;
}



/* Image Slider */
.image-swiper {
    width: 100%;
    height: auto;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.16)
}

.image-swiper .swiper-slide {
    text-align: center;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Brand Carousel */
.brand-swiper {
    width: 100%;
    height: 200px;
    margin: 0 0 1rem 0;
}

.brand-swiper .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0rem;
    border-radius: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-swiper .swiper-slide:hover {
    transform: scale(1.05);
}

.brand-swiper .swiper-slide img {
    max-width: 100%;
    max-height: 250px;
    min-height: 200px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-swiper .swiper-slide:hover img {
    filter: grayscale(0%);
}

/* Testimonial Slider */
.testimonial-swiper {
    width: 100%;
    height: auto;
    position: relative;
}

.testimonial-swiper .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    font-style: italic;
    color: var(--white);
}

.testimonial-swiper .swiper-slide p {
    font-size: 1rem;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    /* Ensure buttons stay within container */
    margin-top: -20px;
    z-index: 10;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Swiper Pagination */
.swiper-pagination {
    position: absolute !important;
    bottom: -35px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 0;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 10 !important;
}

.swiper-pagination-bullet {
    background: #EFEBE2 !important;
    border: 1px solid rgb(226, 222, 211) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
    transform: scale(1) !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.16) !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.swiper-pagination-bullet-active {
    background: #BEB7A3 !important;
    border: 1px solid #BEB7A3 !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.16) !important;
}

/* Disable dynamic bullets scaling */
.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transform: scale(1) !important;
}

.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active {
    transform: scale(1) !important;
}

/* Swiper Utility Classes */
.slider-above-pagination {
    overflow: visible;
    margin-bottom: 50px;
}

/* ========================================
   SECTIONS
   ======================================== */

/* Brands Section */
#brands {
    text-align: center;
    background-color: var(--off-white);
    padding-top: 4rem;
    padding-bottom: 0;
}

#brands h1, #brands p {
    padding: 0 1rem;
}

/* Footer Bar */
#footer-bar {
    background: var(--med2-gray);
    color: var(--white);
    padding: 2rem 0;
}

#footer-bar h5 {
    margin-bottom: 0;
}

#footer-bar hr {
    margin-top: 5px;
}

#footer-bar img {
    max-height: 60px;
    width: auto;
}

#footer-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer-bar a:hover {
    color: var(--off-white);
}

#footer-bar .business-info {
    font-size: 1.1rem;
    padding: 1rem;
    font-style: italic;
    text-align: center;
}

#footer-bar .social-icons {
    font-size: 1.5rem;
}

#footer-bar .social-icons a {
    margin: 0 0.25rem;
}

#footer-bar .social-icons a, #footer-bar .social-icons a i {
    color: var(--white);
    transition: all 0.3s ease;
}

#footer-bar .social-icons a:hover, #footer-bar .social-icons a:hover i {
    color: var(--light-gray);
    transform: scale(1.2);
}

#footer-bar .footer-logo .social-icons {
    display: none;
}

#footer-bar .business-info .social-icons {
    display: block;
    margin-top: 1rem;
}

/* Footer */
footer {
    color: var(--med-gray);
    font-size: 0.8rem;
}

footer a {
    color: var(--dark-gray);
}

footer a:hover {
    color: var(--med2-gray);
}

/* General Section Spacing */
section {
    padding: 4rem 0;
}

/* ========================================
   COMPONENTS
   ======================================== */

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 1.2rem;
    border-radius: 0;
    padding: 0.5rem 2rem;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--off-white);
    border-color: var(--brown);
    color: var(--med-gray);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--brown);
    border-color: var(--brown);
    color: var(--off-white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--light-brown);
    color: var(--med-gray);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--light-brown);
    border-color: var(--light-brown);
    color: var(--med-gray);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--brown);
    color: var(--med-gray);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--brown);
    border-color: var(--brown);
    color: var(--off-white);
}

.btn-outline-secondary {
    background-color: transparent;
    border-color: var(--light-brown);
    color: var(--med-gray);
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background-color: var(--light-brown);
    border-color: var(--light-brown);
    color: var(--med-gray);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Laptop (768px to 1200px) */
@media (min-width: 768px) and (max-width: 1200px) {
    .navbar .slogan {
        display: none;
    }
    #footer-bar .business-info {
        font-size: 0.9rem;
    }
}

/* Desktop (768px and up) */
@media (min-width: 768px) {
    #footer-bar .footer-logo .social-icons {
        display: block;
    }

    #footer-bar .business-info .social-icons {
        display: none;
    }

    #footer-bar .business-info {
        padding: 1rem;
        border-left: 1px solid #908B7D;
        font-style: italic;
        text-align: left;
    }
}

/* Laptop (1200px and up) */
@media (min-width: 1200px) {
    #footer-bar .business-info {
        font-size: 1.1rem;
    }
}

/* Tablet (768px and down) */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .image-swiper {
        height: auto;
    }

    .brand-swiper {
        height: 200px;
    }

    .brand-swiper .swiper-slide img {
        max-height: 200px;
        min-height: 150px;
    }

    .testimonial-swiper {
        height: auto;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .navbar .slogan {
        text-align: center;
        margin-top: 10px;
    }

    .nav-link {
        margin: 0 5px;
        text-align: center;
    }

    .business-info {
        border-left: none;
        text-align: center;
    }
}

/* Mobile (576px and down) */
@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }

    .image-swiper {
        height: 200px;
    }

    .brand-swiper {
        height: 200px;
    }

    .brand-swiper .swiper-slide img {
        max-height: 200px;
        min-height: 150px;
    }

    .testimonial-swiper {
        height: auto;
    }
}

/* Extra Small Mobile (480px and down) */
@media (max-width: 480px) {
    .brand-swiper {
        height: 200px;
    }

    .brand-swiper .swiper-slide img {
        max-height: 200px;
        min-height: 150px;
    }
}

.icon-close i {
    font-size: 2rem;
    line-height: 1;
}