:root {
    /* Colors */
    --clr-black: #0F172A;
    --clr-charcoal: #1E293B;
    --clr-gold: #D4AF37;
    --clr-gold-light: #F3E5AB;
    --clr-gold-dark: #B8860B;
    --clr-white: #FFFFFF;
    --clr-offwhite: #F8FAFC;
    --clr-gray-100: #F1F5F9;
    --clr-gray-300: #CBD5E1;
    --clr-gray-600: #475569;
    --clr-gray-800: #1E293B;

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-bn: 'Tiro Bangla', serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);

    /* Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-bn);
    background-color: var(--clr-offwhite);
    color: var(--clr-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-bn);
    color: var(--clr-black);
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gold {
    color: var(--clr-gold);
}

.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.section-header p {
    color: var(--clr-gray-600);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-black);
    border-color: var(--clr-gold);
}

.btn-primary:hover {
    background-color: var(--clr-gold-dark);
    border-color: var(--clr-gold-dark);
    color: var(--clr-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border-color: var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-black);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--clr-gray-100);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: var(--radius-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-bn {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--clr-black);
}

.logo-en {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--clr-gray-600);
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
    }
    
    .desktop-nav a {
        font-family: var(--font-bn);
        font-weight: 600;
        color: var(--clr-gray-800);
        position: relative;
    }
    
    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--clr-gold);
        transition: width 0.3s ease;
    }
    
    .desktop-nav a:hover::after {
        width: 100%;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions .btn {
    display: none;
}

@media (min-width: 768px) {
    .header-actions .btn {
        display: inline-flex;
    }
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    background-color: var(--clr-white);
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--clr-gray-100);
    box-shadow: var(--shadow-md);
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--clr-gray-100);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: var(--clr-offwhite);
    overflow: hidden;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 992px) {
    .hero-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--clr-gold-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--clr-black);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-gray-600);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--clr-black);
    border-color: var(--clr-black);
}

.btn-outline-dark:hover {
    background-color: var(--clr-black);
    color: var(--clr-white);
}

/* Hero Slideshow 3D */
.hero-visual {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
}

.hero-slideshow img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1s ease, filter 1.5s ease;
}

/* Mobile Layout: Background blurred image */
@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    
    .hero-visual {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    
    .hero-slideshow {
        height: 100%;
    }
    
    .hero-slideshow img.slide {
        object-fit: cover;
    }
    
    .hero-slideshow img.slide.active {
        opacity: 0.15; /* Make it light so dark text is readable */
        filter: blur(8px);
    }
    
    .hero-content {
        z-index: 2;
        background: rgba(255, 255, 255, 0.85); /* Semi-transparent white box for readability */
        padding: 2rem;
        border-radius: var(--radius-lg);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-lg);
    }
}

/* Desktop Layout: 3D, Original Size, No Crop */
@media (min-width: 992px) {
    .hero-slideshow {
        max-width: 500px;
        aspect-ratio: 1/1; /* Provide a square container, object-fit contain will handle the rest */
        border-radius: var(--radius-xl);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        transform: rotateY(-5deg) rotateX(5deg) scale(0.95);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        background-color: var(--clr-white); /* Background for the container */
    }

    .hero-slideshow:hover {
        transform: rotateY(0deg) rotateX(0deg) scale(1);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    }

    .hero-slideshow img.slide {
        object-fit: contain; /* Prevents image from being cut off */
        border-radius: var(--radius-xl);
        padding: 1rem; /* Little padding so it doesn't touch edges */
    }

    .hero-slideshow img.slide.active {
        opacity: 1;
        filter: blur(0px);
    }
}

/* About/Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.feature-card {
    background-color: var(--clr-white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 2.5rem 2rem;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: var(--clr-gray-100);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-image img {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--clr-gray-600);
    margin: 0;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .feature-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
}

/* Reviews Section */
.reviews {
    background-color: var(--clr-gray-100);
}

.reviews-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--clr-gold) rgba(0,0,0,0.1);
}

.reviews-grid::-webkit-scrollbar {
    height: 6px;
}
.reviews-grid::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}
.reviews-grid::-webkit-scrollbar-thumb {
    background-color: var(--clr-gold);
    border-radius: 10px;
}

.review-item {
    flex: 0 0 85%;
    max-width: 400px;
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--clr-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 640px) {
    .review-item {
        flex: 0 0 45%;
    }
}

@media (min-width: 1024px) {
    .review-item {
        flex: 0 0 30%;
    }
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Brands Marquee */
.brands-section {
    background-color: var(--clr-black);
    color: var(--clr-white);
    overflow: hidden;
}

.brands-section .section-header h2 {
    color: var(--clr-white);
}

.brands-marquee {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.brands-marquee:hover {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem; /* Add padding so there is a gap before the duplicated content starts */
}

.marquee-content span {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--clr-gray-300);
    white-space: nowrap;
}

.marquee-content .dot {
    color: var(--clr-gold);
    font-size: 2rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .gallery-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--clr-gray-100);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background-color: var(--clr-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    padding: 3rem 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--clr-gray-600);
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--clr-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-list strong {
    display: block;
    font-size: 1.125rem;
    color: var(--clr-black);
    margin-bottom: 0.25rem;
}

.contact-list span {
    color: var(--clr-gray-600);
}

.social-links-lg {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .social-links-lg {
        flex-direction: row;
    }
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

.social-btn.facebook {
    background-color: #1877F2;
    color: white;
}

.social-btn.facebook:hover {
    background-color: #166FE5;
}

.social-btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.social-btn.whatsapp:hover {
    background-color: #1EBE55;
}

.location-map {
    position: relative;
    min-height: 300px;
}

@media (min-width: 1024px) {
    .location-map {
        height: 100%;
    }
}

.map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: 2rem;
}

.huge-icon {
    width: 64px;
    height: 64px;
    color: var(--clr-gold);
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--clr-black);
    color: var(--clr-white);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--clr-gray-300);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: var(--clr-gray-300);
    font-family: var(--font-sans);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom .credit a {
    color: var(--clr-gold);
    font-weight: 500;
}

.footer-bottom .credit a:hover {
    text-decoration: underline;
}
