/* Modern CSS Variables for ZOE Precious Metals */
:root {
    /* Gold & Luxury Color Palette */
    --gold-primary: #D4AF37;
    --gold-secondary: #FFD700;
    --gold-dark: #B8860B;
    --gold-light: #F5E6A8;

    /* Neutral Colors */
    --dark-primary: #1a1a1a;
    --dark-secondary: #2c2c2c;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', 'Roboto', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 2rem;

    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-primary);
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    color: var(--gold-primary);
}

h2 {
    font-size: 2.5rem;
    color: var(--dark-primary);
}

h3 {
    font-size: 2rem;
    color: var(--gold-primary);
    text-transform: uppercase;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-medium);
    text-align: left;
}

.text-gold {
    color: var(--gold-primary) !important;
}

.text-luxury {
    /* background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%); */
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Styles */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 0;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    background: var(--dark-primary) !important;
    box-shadow: var(--shadow-medium);
}

.navbar-brand img {
    transition: transform var(--transition-fast);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--gold-primary) !important;
    transform: translateY(-2px);
}

.dropdown-menu {
    background: var(--dark-primary) !important;
    border: 1px solid var(--gold-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-heavy);
    padding: 1rem 0;
}

.dropdown-item {
    transition: all var(--transition-fast);
    padding: 0.75rem 1.5rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: var(--white) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: var(--dark-primary);
}

.carousel {
    height: 100%;
    width: 100%;
    background: var(--dark-primary);
}

.carousel-inner {
    background: var(--dark-primary);
}

.carousel-item {
    height: 100vh;
    min-height: 600px;
    position: relative;
    margin: 0;
    padding: 0;
    background: var(--dark-primary);
    transition: none;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(212, 175, 55, 0.3) 100%);
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    background: var(--dark-primary);
}

.carousel-item.active img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    animation: fadeInUp 1s ease-out;
    color: var(--white) !important;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
    color: var(--white) !important;
    text-align: center;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    border: none;
    color: var(--white);
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-medium);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    color: var(--white);
}

.btn-outline-gold {
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    background: transparent;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Main Content Sections */
.section {
    padding: var(--section-padding);
}

.section-dark {
    background: var(--dark-primary);
    color: var(--white);
}

.section-light {
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-primary);
}

/* Full-width container for hero section */
.container-fluid.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0;
    width: 100%;
    max-width: none;
}

/* Cards */
.service-card {
    background: var(--white);
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-medium);
    box-shadow: var(--shadow-light);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.service-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.service-card .card-body {
    padding: 2rem;
}

.service-card .card-title {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card .card-title a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.service-card .card-title a:hover {
    color: var(--gold-dark);
}

.read-more {
    color: var(--gold-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.read-more:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Main Content Wrapper for Sticky Footer */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-bottom: 2rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-primary);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-primary) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer h5 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.footer-menu a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: var(--gold-primary);
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    color: var(--gold-primary);
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    color: var(--gold-secondary);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .navbar-collapse {
        background: var(--dark-primary);
        margin-top: 1rem;
        border-radius: 8px;
        padding: 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

/* Focus States for Accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    outline: none;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

/* Carousel Improvements */
.carousel {
    background: var(--dark-primary);
}

/* Specific styling for JewelleryTrading carousel */
#carouselExampleCaptions {
    border-radius: 10px;
    overflow: hidden;
}

#carouselExampleCaptions .carousel-inner,
#carouselExampleCaptions .carousel-item {
    height: 100% !important;
    border-radius: 0;
}

#carouselExampleCaptions .carousel-item img {
    border-radius: 0 !important;
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    transition: none;
}

#carouselExampleCaptions .carousel-indicators {
    bottom: 1rem;
    margin: 0;
}

#carouselExampleCaptions .carousel-control-prev,
#carouselExampleCaptions .carousel-control-next {
    height: 100%;
    top: 0;
    bottom: 0;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    background-color: transparent;
}

.carousel-indicators .active {
    background-color: var(--gold-primary);
}
