/* ===== GLOBAL STYLES ===== */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #444444;
}

/* Navigation */
.nav-link {
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: #d11b2c;
}

/* Logo Animation */
.logo-animated {
    height: 48px;
    width: auto;
    animation: pulseLogo 2.5s infinite;
}

@keyframes pulseLogo {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0 rgba(218,165,32,0));
    }
    50% {
        transform: scale(1.05) rotate(-1deg);
        filter: drop-shadow(0 0 12px rgba(218,165,32,0.7));
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 0 rgba(218,165,32,0));
    }
}

.header-contact .small {
    line-height: 1.2;
}

/* Footer */
.bg-footer {
    background: linear-gradient(135deg, #ffffff 0%, #ffe9e9 50%, #fff5da 100%);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #f9d976 0%, #f39f24 100%);
    border: none;
    color: #7a4b00;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(243,159,36,0.45);
}

.btn-gold:hover {
    color: #5c3700;
    box-shadow: 0 6px 16px rgba(243,159,36,0.6);
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 2.5rem;
}

.section-title span {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid #f3c13a;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #f3c13a, #d11b2c);
    border-radius: 2px;
}

/* ===== HERO BANNER - SINGLE CLEAN VERSION ===== */
#hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Carousel Structure */
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
}

.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

/* Smooth Fade Transition */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

/* Hero Link */
.hero-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

/* Hero Banner Image */
.hero-banner-image {
    width: 100%;
    height: 75vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    will-change: transform;
}

.hero-link:hover .hero-banner-image {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 25px;
    z-index: 15;
    margin-bottom: 0;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid white;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: #f3c13a;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(243, 193, 58, 0.8);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(209, 27, 44, 0.7);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#hero:hover .carousel-control-prev,
#hero:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(243, 193, 58, 0.9);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Hero Banner Responsive */
@media (max-width: 1200px) {
    .hero-banner-image { height: 65vh; }
}

@media (max-width: 992px) {
    .hero-banner-image { height: 60vh; }
}

@media (max-width: 768px) {
    .hero-banner-image { height: 50vh; }
    .carousel-indicators { bottom: 15px; }
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-banner-image { height: 45vh; }
    .carousel-fade .carousel-item {
        transition: opacity 1s ease-in-out;
    }
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    border: 1px solid rgba(243,193,58,0.45);
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    background-color: #ffffff;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(209,27,44,0.15);
    border-color: rgba(209,27,44,0.6);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-img-wrapper img {
    transition: transform .5s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.08) rotate(-1deg);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #7a4b00;
    background: linear-gradient(135deg, #ffe8a3, #ffcf5a);
}

.product-outline-gold {
    box-shadow: 0 0 0 2px rgba(243,193,58,0.65);
    animation: glowOutline 3s infinite;
}

@keyframes glowOutline {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(243,193,58,0.65);
    }
    50% {
        box-shadow: 0 0 12px 4px rgba(243,193,58,0.85);
    }
}

/* ===== TESTIMONIALS ===== */
.testimonial-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.testimonial-item {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffe9e9 50%, #fff5da 100%);
    border-radius: 12px;
    border: 2px solid rgba(243, 193, 58, 0.5);
    transition: all 0.5s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 4px solid #f3c13a;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(243, 193, 58, 0.4);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #d11b2c;
    margin-bottom: 0.5rem;
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
}

.testimonial-rating .star {
    color: #f3c13a;
    font-size: 1.1rem;
}

/* ===== ABOUT PAGE ===== */
.timeline-step {
    border-left: 3px solid #f3c13a;
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.timeline-step strong {
    color: #d11b2c;
}

/* Fix: Make carousel indicators clickable */
.carousel-indicators {
    bottom: 25px;
    z-index: 20 !important; /* Higher than hero-link */
    margin-bottom: 0;
    pointer-events: auto !important;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: 2px solid white;
    transition: all 0.3s ease;
    margin: 0 4px;
    cursor: pointer;
    pointer-events: auto !important;
}

.carousel-indicators .active {
    background-color: #f3c13a;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(243, 193, 58, 0.8);
}

/* Ensure hero link doesn't block indicators */
.hero-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    pointer-events: auto;
}

/* Allow clicks through to controls and indicators */
.carousel-control-prev,
.carousel-control-next {
    z-index: 20;
    pointer-events: auto !important;
}
