:root {
    --maroon: #8B1538;
    --royal-blue: #1B3A8C;
    --gold: #D4AF37;
    --cream: #F5F1E8;
    --saffron: #FF9500;
    --white: #FFFFFF;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Satoshi', sans-serif;
    background-color: var(--white);
    color: #1a1a1a;
}

.display-font {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.05em;
}

.mandala-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L55 45 L100 50 L55 55 L50 100 L45 55 L0 50 L45 45 Z' fill='%23D4AF37' fill-opacity='0.05'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.indian-border {
    border-image: linear-gradient(to right, #8B1538, #D4AF37, #8B1538) 1;
    border-width: 0 0 4px 0;
    border-style: solid;
}

.hero-gradient {
    background: linear-gradient(rgba(18, 18, 18, 0.82), rgba(28, 28, 28, 0.65)), url('assets/Hero_image.webp');
    background-size: cover;
    background-position: center;
}

@media (min-width: 1024px) {
    .hero-gradient {
        background-attachment: fixed;
    }
}

.gold-glow:hover {
    box-shadow: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
                transform: translateY(0);
            }
        }

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@view-transition {
    navigation: auto;
}

/* ── Testimonials Marquee ── */
.testimonials-marquee-wrapper {
    overflow: hidden;
    width: 100%;
    padding-bottom: 8px;
}

.testimonials-marquee-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: testimonials-scroll 40s linear infinite;
}

.testimonials-marquee-track:hover {
    animation-play-state: paused;
}
.testimonial-card {
    min-height: 220px;
    width: 320px !important;
    max-width: 80vw !important;
}
@keyframes testimonials-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.testimonials-marquee-track-reverse {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: testimonials-scroll-reverse 45s linear infinite;
}

.testimonials-marquee-track-reverse:hover {
    animation-play-state: paused;
}

@keyframes testimonials-scroll-reverse {
    from { transform: translateX(-50%); }
    to   { transform: translateX(0); }
}


/* When using real images */
.brand-logo-img {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(100%) opacity(0.5);
}

.brand-logo-img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

.nav-link-item {
    position: relative;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link-item:hover::after {
    width: 100%;
}

/* Scrolled Nav Padding Control */
#main-header.scrolled nav {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    transition: padding 0.3s ease;
}

/* ── Partner Ticker Band ── */
.partner-ticker {
    display: flex;
    width: max-content;
    animation: partner-scroll 18s linear infinite;
    padding: 14px 0;
}

.partner-ticker:hover {
    animation-play-state: paused;
}

@keyframes partner-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.partner-tick-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    color: #fff;
    white-space: nowrap;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
    transition: color 0.25s;
}

.partner-tick-item:hover {
    color: #D4AF37;
}

.partner-dot {
    color: #D4AF37;
    font-size: 0.6rem;
    margin-left: 0.25rem;
}

/* Automatic 3-Image Crossfade Animations */
@keyframes crossfade-3-1 {
    0%, 25% { opacity: 1; }
    33%, 92% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes crossfade-3-2 {
    0%, 25% { opacity: 0; }
    33%, 58% { opacity: 1; }
    66%, 100% { opacity: 0; }
}
@keyframes crossfade-3-3 {
    0%, 58% { opacity: 0; }
    66%, 92% { opacity: 1; }
    100% { opacity: 0; }
}

.animate-crossfade-3-1 { animation: crossfade-3-1 9s infinite ease-in-out; }
.animate-crossfade-3-2 { animation: crossfade-3-2 9s infinite ease-in-out; }
.animate-crossfade-3-3 { animation: crossfade-3-3 9s infinite ease-in-out; }

/* Automatic 2-Image Crossfade Animations */
@keyframes crossfade-1 {
    0%, 45% { opacity: 1; }
    50%, 95% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes crossfade-2 {
    0%, 45% { opacity: 0; }
    50%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

.animate-crossfade-1 { animation: crossfade-1 6s infinite ease-in-out; }
.animate-crossfade-2 { animation: crossfade-2 6s infinite ease-in-out; }

/* Custom Catalog Section Styles */
.bg-cream-custom {
    background-color: var(--cream) !important;
}

.btn-catalog-doors {
    background-color: var(--gold) !important;
    color: #1a1a1a !important;
}
.btn-catalog-doors:hover {
    background-color: var(--maroon) !important;
    color: var(--white) !important;
}

.btn-catalog-teak {
    background-color: var(--maroon) !important;
    color: var(--white) !important;
}
.btn-catalog-teak:hover {
    background-color: var(--gold) !important;
    color: #1a1a1a !important;
}

