/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9f1534;
}

/* Navbar Styles */
nav {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(114, 22, 47, 0.1);
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(114, 22, 47, 0.1);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.close-line {
    transition: all 0.3s ease;
}

#close-menu.active .close-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, -4px);
}

#close-menu.active .close-line:nth-child(2) {
    transform: rotate(-45deg) translate(4px, 4px);
}

/* Hero Animations */
.hero-tag {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

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

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

.hero-btn {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-image-1 {
    animation: fadeIn 1s ease forwards;
    animation-delay: 1s;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Animation */
.scroll-line-inner {
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(400%);
    }
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 2px rgba(219, 61, 94, 0.2);
}

/* 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;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem !important;
    }
    
    .hero-headline {
        font-size: 2.5rem !important;
    }
}
