/* Custom Styles for Hill Home Center */

:root {
    --navy-900: #0a1628;
    --navy-800: #122035;
    --navy-700: #1a2d47;
    --gold-500: #c8a45e;
    --gold-600: #b8944e;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy-900);
    background-color: var(--stone-50);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-900);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}

/* Navbar Styles */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.1);
}

.navbar-transparent {
    background: transparent !important;
}

/* Hero Text Reveal Animation */
.reveal-text {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: revealUp 0.8s ease forwards;
}

.reveal-text:nth-child(1) {
    animation-delay: 0.1s;
}

.reveal-text:nth-child(2) {
    animation-delay: 0.2s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.3s;
}

.reveal-text:nth-child(4) {
    animation-delay: 0.4s;
}

.reveal-text:nth-child(5) {
    animation-delay: 0.5s;
}

.reveal-text:nth-child(6) {
    animation-delay: 0.6s;
}

.reveal-text:nth-child(7) {
    animation-delay: 0.7s;
}

.reveal-text:nth-child(8) {
    animation-delay: 0.8s;
}

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

/* Mobile Menu Styles */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width 0.3s ease;
}

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

/* Form Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--gold-500) !important;
    box-shadow: 0 0 0 3px rgba(200, 164, 94, 0.1);
}

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

/* Image Hover Zoom */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Custom Selection Color */
::selection {
    background: var(--gold-500);
    color: var(--navy-900);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-text {
        animation: none;
        transform: translateY(0);
        opacity: 1;
    }
    
    img,
    .group-hover\:scale-105 {
        transition: none;
        transform: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .reveal-text {
        display: block;
    }
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav,
    button,
    .group-hover\:scale-105 {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
