:root {
    --primary: #5e2b17;
    --primary-light: #8b5a2b;
    --secondary: #e8d8c3;
    --dark: #1a120b;
    --light: #f5f5f0;
    --accent: #c19a6b;
    --accent-dark: #8b6b3d;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader-bar {
    width: 8px;
    height: 40px;
    background-color: var(--primary);
    animation: loaderAnimation 1.2s infinite ease-in-out;
}

.loader-bar:nth-child(1) {
    animation-delay: -0.4s;
}

.loader-bar:nth-child(2) {
    animation-delay: -0.2s;
}

.loader-bar:nth-child(4) {
    animation-delay: 0.2s;
}

@keyframes loaderAnimation {

    0%,
    40%,
    100% {
        transform: scaleY(0.5);
    }

    20% {
        transform: scaleY(1);
    }
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: rgba(94, 43, 23, 0.3);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 999;
    mix-blend-mode: multiply;
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background-color: transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(26, 18, 11, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-right: 10px;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px !important;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: calc(100% - 30px);
}

/* Hero Section - Improved Version */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px; /* Reduced from 800px for mobile */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center; /* Centered positioning */
    background-repeat: no-repeat;
    background-attachment: scroll; /* Better for mobile performance */
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 18, 11, 0.7) 0%, rgba(26, 18, 11, 0.3) 100%);
}

.hero-title {
    font-size: 4rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-cta {
    position: relative;
    z-index: 1;
}

.hero-cta .btn {
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 600;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 1;
}

.hero-scroll-indicator span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background-color: white;
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 20px 0;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.section-about {
    background-color: white;
}

.about-image-container {
    position: relative;
}

.about-main-image {
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
}

.about-main-image img {
    transition: transform 0.5s ease;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 10px 30px rgba(94, 43, 23, 0.3);
    z-index: 1;
}

.badge-content {
    text-align: center;
}

.badge-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vision-mission {
    margin-top: 30px;
}

.vm-item {
    display: flex;
    margin-bottom: 25px;
}

.vm-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.vm-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* Products Section */
.section-products {
    background-color: var(--light);
}

.product-filters {
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--primary);
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: calc(100% - 40px);
}

.product-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(94, 43, 23, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-details {
    color: white;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-details {
    transform: translateY(0);
}

.product-details h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.product-specs p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-view {
    margin-top: 20px;
    padding: 8px 25px;
    border: 2px solid white;
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background-color: white;
    color: var(--primary);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.product-price {
    color: var(--primary);
    font-weight: 600;
}

.btn-load-more {
    padding: 10px 30px;
    border-width: 2px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Craftsmanship Section */
.section-craftsmanship {
    background-color: white;
}

.craftsmanship-content {
    padding: 80px;
    display: flex;
    align-items: center;
}

.content-inner {
    max-width: 600px;
}

.process-steps {
    margin-top: 40px;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Cormorant Garamond', serif;
}

.craftsmanship-gallery {
    height: 700px;
}

.splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials */
.section-testimonials {
    padding: 100px 0;
    background-color: var(--primary);
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
    color: var(--dark);
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: rgba(193, 154, 107, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h5 {
    margin-bottom: 0;
    font-size: 1rem;
}

.author-info span {
    font-size: 0.8rem;
    color: #666;
}

/* Contact Section */
.section-contact {
    background-color: white;
    padding: 100px 0 0;
}

.contact-method {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.contact-form-container {
    background-color: var(--light);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--accent);
    z-index: -1;
    pointer-events: none;
}

.form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border-radius: 0;
    border: 1px solid #ddd;
    padding: 12px 15px;
    height: auto;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.btn-submit {
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* Map Section */
.map-section {
    height: 400px;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
}

.footer-logo .logo-icon {
    color: var(--accent);
    margin-right: 10px;
}

.footer-about {
    opacity: 0.7;
    margin-bottom: 20px;
}

.footer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-newsletter-text {
    opacity: 0.7;
    margin-bottom: 20px;
}

.newsletter-form .input-group {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form .form-control {
    background-color: transparent;
    border: none;
    color: white;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .btn {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin-top: 50px;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-payments i {
    font-size: 1.5rem;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-payments i:hover {
    opacity: 1;
    color: var(--accent);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .craftsmanship-content {
        padding: 60px;
    }
    
    .hero-section {
        min-height: 700px;
    }
}

@media (max-width: 991.98px) {
    section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-section {
        min-height: 650px;
    }
    
    /* Adjust background position for tablet */
    .hero-slide {
        background-position: center 30%;
    }

    .craftsmanship-content {
        padding: 40px;
    }

    .craftsmanship-gallery {
        height: 500px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }

    .hero-section {
        min-height: 600px;
        height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    /* Better background positioning for mobile */
    .hero-slide {
        background-position: center 25%;
        background-size: cover;
    }
    
    .hero-slide::before {
        background: linear-gradient(to bottom, rgba(26, 18, 11, 0.4) 0%, rgba(26, 18, 11, 0.7) 100%);
    }
    
    .hero-scroll-indicator {
        bottom: 30px;
    }
    
    .hero-scroll-indicator span {
        font-size: 0.7rem;
    }
    
    .scroll-line {
        height: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .craftsmanship-content {
        padding: 30px 15px;
    }

    .craftsmanship-gallery {
        height: 400px;
    }

    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile-specific background positioning */
    .hero-slide {
        background-position: center 20%;
    }
    
    .hero-scroll-indicator {
        bottom: 20px;
    }

    .about-badge {
        width: 80px;
        height: 80px;
        right: -10px;
    }

    .badge-number {
        font-size: 1.5rem;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .footer {
        padding: 60px 0 0;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 400px;
        height: 100vh;
    }
    
    .hero-slide {
        background-position: center center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-scroll-indicator {
        display: none; /* Hide on landscape mobile */
    }
}

/* Additional fix for very small screens */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-section {
        min-height: 450px;
    }
}

/* Ensure content is always visible */
.hero-slide .container {
    position: relative;
    z-index: 1;
    height: 100%;
}

.hero-slide .row {
    height: 100%;
}

/* Animation adjustments for mobile */
@media (max-width: 767.98px) {
    .animate__animated {
        animation-duration: 0.8s;
    }
    
    .animate__delay-1s {
        animation-delay: 0.5s;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode .section-about,
.dark-mode .section-products,
.dark-mode .contact-form-container,
.dark-mode .section-craftsmanship,
.dark-mode .section-contact {
    background-color: #1e1e1e;
}

.dark-mode .section-title,
.dark-mode .section-subtitle,
.dark-mode .product-title,
.dark-mode .vm-content h4,
.dark-mode .step-content h4,
.dark-mode .contact-details h4,
.dark-mode .form-title {
    color: #ffffff;
}

.dark-mode .section-description,
.dark-mode p,
.dark-mode .product-price,
.dark-mode .vm-content p,
.dark-mode .step-content p,
.dark-mode .contact-details p {
    color: #b0b0b0;
}

.dark-mode .navbar.scrolled {
    background-color: rgba(30, 30, 30, 0.95);
}

.dark-mode .product-card {
    background-color: #2d2d2d;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark-mode .btn-outline-dark {
    color: #e0e0e0;
    border-color: #e0e0e0;
}

.dark-mode .btn-outline-dark:hover {
    background-color: #e0e0e0;
    color: #121212;
}

.dark-mode .form-control {
    background-color: #2d2d2d;
    border-color: #444;
    color: #e0e0e0;
}

.dark-mode .form-control:focus {
    background-color: #2d2d2d;
    color: #e0e0e0;
    border-color: var(--accent);
}

.dark-mode .footer {
    background-color: #121212;
}

.dark-mode .footer-links a {
    color: #b0b0b0;
}

.dark-mode .footer-links a:hover {
    color: var(--accent);
}

.dark-mode .footer-title {
    color: #ffffff;
}

/* Dark Mode Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background-color: var(--accent);
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* Hide one icon initially */
.theme-toggle .fa-moon {
    display: none;
}

.dark-mode .theme-toggle .fa-sun {
    display: none;
}

.dark-mode .theme-toggle .fa-moon {
    display: block;
}


/* Product Modal Styles */
.product-modal .modal-content {
    border-radius: 0;
    border: none;
}

.product-modal .modal-header {
    padding: 1rem 1rem 0;
}

.product-modal .modal-body {
    padding: 2rem;
}

.product-modal-main-image {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    overflow: hidden;
}

.dark-mode .product-modal-main-image {
    background-color: #f9f9f9;
}

.product-modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--dark);
}

.dark-mode .product-modal-title {
    color: var(--dark);
}

.product-modal-specs li {
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: var(--dark);
}

.product-modal-specs h5 {
    color: var(--dark);
}

.dark-mode .product-modal-specs li {
    border-bottom-color: #444;
}

.quantity-selector {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.dark-mode .quantity-selector {
    border-color: #444;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    font-size: 1rem;
}

.quantity-selector .quantity-input {
    width: 50px;
    height: 40px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    -moz-appearance: textfield;
}

.dark-mode .quantity-selector .quantity-input {
    background-color: #2d2d2d;
    border-color: #444;
    color: white;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.thumbnail-item img {
    transition: transform 0.3s ease;
}

.thumbnail-item img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .product-modal-main-image {
        height: 250px;
    }
    
    .product-thumbnails {
        justify-content: center;
    }
}

/* Off-canvas Mobile Menu Styles */
.offcanvas {
    background-color: var(--dark);
    color: white;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
    display: flex;
    align-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas .nav-link {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus {
    color: white;
}

.offcanvas .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.offcanvas .nav-link:hover::after {
    width: 50px;
}

.offcanvas .btn-outline-light {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
}

/* Dark mode adjustments */
.dark-mode .offcanvas {
    background-color: #1a1a1a;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .offcanvas {
        display: none !important;
    }
}

/* Placeholder color untuk mode normal (hitam) */
.contact-form .form-control::placeholder {
    color: #000000;
    opacity: 0.7;
}

.contact-form .form-control::-webkit-input-placeholder {
    color: #000000;
    opacity: 0.7;
}

.contact-form .form-control::-moz-placeholder {
    color: #000000;
    opacity: 0.7;
}

.contact-form .form-control:-ms-input-placeholder {
    color: #000000;
    opacity: 0.7;
}

/* Placeholder color untuk dark mode (putih) */
.dark-mode .contact-form .form-control::placeholder {
    color: #ffffff;
    opacity: 0.8;
}

.dark-mode .contact-form .form-control::-webkit-input-placeholder {
    color: #ffffff;
    opacity: 0.8;
}

.dark-mode .contact-form .form-control::-moz-placeholder {
    color: #ffffff;
    opacity: 0.8;
}

.dark-mode .contact-form .form-control:-ms-input-placeholder {
    color: #ffffff;
    opacity: 0.8;
}