/* Base Styles */
*, *::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-color: rgba(164, 35, 61, 0.15);
    color: #6e1c2e;
}

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

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

::-webkit-scrollbar-thumb {
    background: #f4a7b8;
    border-radius: 3px;
}

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

/* Navbar */
.nav-text {
    color: #6e1c2e;
}

.nav-accent {
    color: #6e1c2e;
}

.nav-link {
    position: relative;
}

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

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

/* Hero */
.hero-overlay {
    background: linear-gradient(
        to right,
        rgba(61, 10, 20, 0.88) 0%,
        rgba(61, 10, 20, 0.65) 50%,
        rgba(61, 10, 20, 0.35) 100%
    );
}

/* Thin line decorations */
.line-accent {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Mobile menu */
.mobile-nav-link {
    opacity: 1;
}

/* Form styles */
input:focus,
textarea:focus,
select:focus {
    border-bottom-color: #a1233d !important;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L2 4h8z' fill='%23a1233d'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* Button hover effects */
button:hover {
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Image hover */
.group:hover .group-hover\\:text-burgundy-600 {
    color: #a1233d;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Print styles */
@media print {
    nav, .scroll-reveal, #contact-form, iframe {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

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

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #a1233d;
    outline-offset: 2px;
}

/* Subtle hover lift on cards */
.group:hover {
    transform: translateY(-2px);
}

.group {
    transition: transform 0.3s ease;
}
