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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: #7B2D3B;
    color: #FDF8F6;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF7F5;
}
::-webkit-scrollbar-thumb {
    background: #7B2D3B;
    border-radius: 3px;
}

/* ===== Navigation ===== */
#navbar {
    background: rgba(250, 247, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

#navbar.scrolled {
    background: rgba(250, 247, 245, 0.97);
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06);
}

/* ===== Hero Animations ===== */
.hero-subtitle {
    animation: heroSlideUp 0.8s ease forwards 0.2s;
}

.hero-headline {
    animation: heroSlideUp 0.8s ease forwards 0.4s;
}

.hero-desc {
    animation: heroSlideUp 0.8s ease forwards 0.6s;
}

.hero-cta {
    animation: heroSlideUp 0.8s ease forwards 0.8s;
}

.hero-strip {
    animation: heroSlideUp 0.8s ease forwards 1s;
}

.hero-image-wrapper {
    animation: heroImageIn 1s ease forwards 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-accent {
    animation: heroAccentIn 0.6s ease forwards 1.2s;
    opacity: 0;
}

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

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

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

/* ===== Scroll Indicator ===== */
@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(120%); }
}

.scroll-line {
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* ===== Section Animations ===== */
.section-label {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.1s;
}

.section-desc {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.reveal-active .section-label,
.reveal-active .section-title,
.reveal-active .section-desc {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Service Cards ===== */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.08);
}

/* ===== Why Cards ===== */
.why-card {
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-4px);
}

/* ===== Form Inputs ===== */
.form-input {
    width: 100%;
}

.form-input:focus {
    border-color: #7B2D3B !important;
}

.form-input::placeholder {
    color: rgba(26, 26, 26, 0.3);
}

select.form-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6560' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

#mobileMenu.open .mobile-link:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }

/* ===== Mobile Menu States ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#menuLine1.open {
    transform: rotate(45deg) translate(3px, 3px);
}

#menuLine2.open {
    opacity: 0;
}

#menuLine3.open {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 24px;
}

/* ===== About Image Order ===== */
.about-image-order {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.about-image-order.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
    .hero-image-wrapper {
        h: 400px !important;
    }
}

@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.5rem !important;
    }
    
    .hero-accent {
        display: none !important;
    }
    
    .hero-strip {
        gap: 6px !important;
    }
    
    .hero-strip > div:nth-child(3),
    .hero-strip > div:nth-child(5) {
        display: none;
    }
}
