/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF8F6;
}
::-webkit-scrollbar-thumb {
    background: #7B2D3B;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b2431;
}

/* ===== Navigation ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 248, 246, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(123, 45, 59, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #7B2D3B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #7B2D3B !important;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    position: relative;
}

/* ===== Hero Geometric Shapes ===== */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(123, 45, 59, 0.04);
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    top: 60%;
    left: 15%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(212, 130, 110, 0.08);
    animation: float 6s ease-in-out infinite reverse;
}

.shape-rect-1 {
    top: 20%;
    right: 0%;
    width: 120px;
    height: 120px;
    background: rgba(123, 45, 59, 0.03);
    border-radius: 24px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.shape-rect-2 {
    bottom: 15%;
    right: 5%;
    width: 80px;
    height: 80px;
    background: rgba(212, 130, 110, 0.1);
    border-radius: 16px;
    transform: rotate(15deg);
    animation: float 10s ease-in-out infinite;
}

.shape-triangle {
    top: 45%;
    left: 2%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(123, 45, 59, 0.04);
    animation: float 7s ease-in-out infinite;
}

/* ===== Hero Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

.hero-badge {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-float {
    animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-blob {
    animation: blobPulse 6s ease-in-out infinite;
}

.hero-blob-2 {
    animation: blobPulse 4s ease-in-out infinite reverse;
}

@keyframes blobPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

/* ===== Hero Stats ===== */
.hero-stat {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-stat:nth-child(1) { animation-delay: 0.3s; }
.hero-stat:nth-child(3) { animation-delay: 0.4s; }
.hero-stat:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Product Cards ===== */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 45, 59, 0.02) 0%, rgba(212, 130, 110, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

/* ===== Button Hover Effects ===== */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* ===== Image Hover ===== */
img {
    transition: transform 0.7s ease;
}

/* ===== Section Dividers ===== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(123, 45, 59, 0.15), transparent);
}

/* ===== Map Container ===== */
.map-container {
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px rgba(123, 45, 59, 0.1);
    pointer-events: none;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-circle-2 {
        width: 100px;
        height: 100px;
    }
    
    .shape-rect-1 {
        display: none;
    }
    
    .shape-rect-2 {
        display: none;
    }
    
    .shape-triangle {
        display: none;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
    
    @media (min-width: 768px) {
        #hero h1 {
            font-size: 4rem;
        }
    }
    
    @media (min-width: 1024px) {
        #hero h1 {
            font-size: 5rem;
        }
    }
}

/* ===== Print Styles ===== */
@media print {
    #navbar, .hero-shape, .hero-blob, .hero-blob-2 {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
