/* ========================================
   Belfast Jewelry — Custom Styles
   Clean Minimalist • Terracotta & Sand
======================================== */

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: #e0c4b4;
    color: #522c21;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #e0c4b4;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b07555;
}

/* ========================================
   Animations
======================================== */

/* Hero Animations */
.hero-eyebrow {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-desc {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-image {
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

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

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

/* Scroll Animations */
.collection-card,
.about-image,
.about-content,
.service-item,
.section-eyebrow,
.section-title {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.collection-card.visible,
.about-image.visible,
.about-content.visible,
.service-item.visible,
.section-eyebrow.visible,
.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.collection-card:nth-child(1) { transition-delay: 0.1s; }
.collection-card:nth-child(2) { transition-delay: 0.2s; }
.collection-card:nth-child(3) { transition-delay: 0.3s; }

.service-item:nth-child(1) { transition-delay: 0.1s; }
.service-item:nth-child(2) { transition-delay: 0.2s; }
.service-item:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   Navbar
======================================== */
#navbar.scrolled {
    box-shadow: 0 1px 0 rgba(202, 158, 133, 0.15);
}

/* ========================================
   Mobile Menu
======================================== */
#mobile-menu.open {
    transform: translateX(0);
}

/* ========================================
   Form Styles
======================================== */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #8c4a2e;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(44, 44, 44, 0.15);
}

/* ========================================
   Hover Effects
======================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #8c4a2e;
    outline-offset: 4px;
    border-radius: 2px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .hero-image {
        margin-top: 2rem;
    }
}
