/* Custom styles for Patina Home Furnishings and Decor */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf5ed;
}
::-webkit-scrollbar-thumb {
    background: #78281f;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #61201a;
}

/* Selection color */
::selection {
    background: #e8c4bd;
    color: #61201a;
}

/* Navbar styles */
.navbar-scrolled {
    background: rgba(253, 251, 247, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Hero image parallax effect */
.hero-image {
    will-change: transform;
}

/* Card hover effects */
.collection-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.collection-card:hover {
    transform: translateY(-4px);
}

/* Button focus styles */
button:focus, a:focus {
    outline: 2px solid #78281f;
    outline-offset: 2px;
}

/* Input focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #78281f !important;
    box-shadow: 0 0 0 3px rgba(120, 40, 31, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 300px;
}

/* Decorative line */
.decorative-line {
    width: 60px;
    height: 2px;
    background: #78281f;
    margin: 16px 0;
}

/* Image overlay gradient */
.image-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

/* Service card icon container */
.service-icon {
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.1);
    background-color: #61201a;
}

/* Form success message animation */
#form-success {
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    /* Subtle floating animation for decorative elements */
    @keyframes float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
    }
    .float-animation {
        animation: float 6s ease-in-out infinite;
    }
}

/* Print styles */
@media print {
    nav, #contact, footer {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
