/* Custom styles to complement Tailwind */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Selection color */
::selection {
    background-color: #a11535;
    color: #fefdfb;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #c72046;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a11535;
}

/* Subtle entrance animation for hero (no JS dependency) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hero h1,
#hero p,
#hero .flex {
    animation: fadeInUp 0.8s ease forwards;
}
#hero h1 { animation-delay: 0.2s; }
#hero p { animation-delay: 0.4s; }
#hero .flex { animation-delay: 0.6s; }

/* Form focus styles */
input:focus, textarea:focus {
    outline: none;
    border-color: #c49a3c;
    box-shadow: 0 0 0 3px rgba(196, 154, 60, 0.15);
}

/* Image aspect ratio utility */
img {
    vertical-align: middle;
}
