/* ============================================
   STEELE ANGEL — Custom Styles
   Clean Minimalist · Burgundy + Blush
   ============================================ */

/* --- 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: rgba(136, 19, 54, 0.15);
    color: #731331;
}

/* --- Navigation --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Transparent nav on hero, solid on scroll */
#navbar {
    color: rgba(255, 255, 255, 0.9);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    color: #292524;
}

#navbar.scrolled .nav-link {
    color: #292524;
}

#navbar.scrolled .nav-link::after {
    background: #881336;
}

#navbar.scrolled .cta-secondary {
    border-color: rgba(41, 37, 36, 0.2);
    color: #292524;
}

#navbar.scrolled .cta-secondary:hover {
    background: rgba(41, 37, 36, 0.05);
    border-color: rgba(41, 37, 36, 0.4);
}

#navbar.scrolled .nav-logo-text {
    color: #292524;
}

/* --- Mobile Menu --- */
.mobile-link {
    color: #292524;
    text-decoration: none;
}

/* --- Hero --- */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s forwards;
}

.hero-tag {
    opacity: 0;
    animation: heroReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-img {
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* --- Scroll Line --- */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 3rem; }
    50% { opacity: 0.8; height: 4.5rem; }
}

/* --- Divider --- */
.divider-line {
    margin-top: 0;
    margin-bottom: 0;
}

/* --- Buttons --- */
.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(136, 19, 54, 0.05), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

/* --- Section Tags --- */
.section-tag {
    position: relative;
    display: inline-block;
}

.section-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 12px;
    height: 1px;
    background: #881336;
    transform: translateY(-50%);
}

/* --- Collection Cards --- */
.collection-card {
    position: relative;
}

.collection-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #881336;
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card:hover::after {
    width: 100%;
}

/* --- Scroll Reveal --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    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);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* --- Input Focus States --- */
input:focus,
textarea:focus {
    background: #fafaf9;
}

/* --- 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-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .section-tag::before {
        display: none;
    }
}
