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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === NAVBAR === */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(42, 15, 24, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #f5a623;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 1px;
}

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

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

/* === HERO === */
.hero-bg {
    will-change: transform;
}

.hero-overlay {
    background-image: linear-gradient(
        to bottom,
        rgba(42, 15, 24, 0.7) 0%,
        rgba(77, 32, 48, 0.6) 50%,
        rgba(42, 15, 24, 0.85) 100%
    );
}

.hero-subtitle {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.3s;
}

.hero-title {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.5s;
}

.hero-description {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.7s;
}

.hero-cta {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards 0.9s;
}

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

/* HERO PARTICLES */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(245, 166, 35, 0.4);
    border-radius: 50%;
    animation: float-particle 6s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-40px) scale(1.3);
        opacity: 0.8;
    }
}

/* SCROLL INDICATOR */
.hero-scroll-indicator {
    animation: bounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #f5a623;
    color: #2a0f18;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    background: #ffbf1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    background: #f5a623;
    color: #2a0f18;
    font-weight: 700;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn-cta:hover {
    background: #ffbf1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* === SERVICE CARDS === */
.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #faf5f7 0%, #f5e9ed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, #a85072 0%, #8e3b5c 100%);
    transform: scale(1.05) rotate(-3deg);
}

.service-card:hover .service-icon svg {
    color: white;
}

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

/* === GALLERY === */
.gallery-item {
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(77, 32, 48, 0.12);
}

/* === FORM INPUTS === */
.input-field {
    border: 1.5px solid #ebccd7;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    color: #4d2030;
    background: white;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
}

.input-field::placeholder {
    color: #d9a3b8;
}

.input-field:focus {
    border-color: #a85072;
    box-shadow: 0 0 0 4px rgba(168, 80, 114, 0.1);
}

.input-field:hover:not(:focus) {
    border-color: #c47492;
}

.btn-submit {
    background: linear-gradient(135deg, #a85072 0%, #8e3b5c 100%);
    color: white;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #c47492 0%, #a85072 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 80, 114, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* === MOBILE MENU === */
.mobile-nav-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link:last-of-type {
    border-bottom: none;
}

.mobile-nav-link:hover {
    padding-left: 8px;
}

/* === MOBILE MENU ANIMATION === */
#mobile-menu {
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .hero-title br {
        display: none;
    }

    .hero-title::after {
        content: '';
    }

    .btn-primary,
    .btn-secondary,
    .btn-cta,
    .btn-cta-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .service-card {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .particle {
        display: none;
    }

    .hero-subtitle,
    .hero-title,
    .hero-description,
    .hero-cta {
        opacity: 1;
        animation: none;
    }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf5f7;
}

::-webkit-scrollbar-thumb {
    background: #d9a3b8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c47492;
}
