/* Custom styles for 216 Bar — terracotta & sand palette */

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

/* Selection color */
::selection {
    background: #f9c4b0;
    color: #71251a;
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #e55533;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #fce4d8 0%, #f5e09a 100%);
    min-height: 200px;
}

/* Subtle pattern overlay for cream sections */
.bg-cream::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(229, 85, 51, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(226, 171, 60, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Glass morphism for floating card */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #e55533 0%, #d13f22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Decorative line */
.ornament-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e55533, #f49f82);
    border-radius: 2px;
}

/* Subtle hover lift for all interactive elements */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Ensure images don't overflow on small screens */
img {
    max-width: 100%;
    height: auto;
}

/* Reduce motion preference */
@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; }
    .card-hover:hover { transform: none; }
}

/* Tablet breakpoint adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Large desktop adjustments */
@media (min-width: 1280px) {
    .hero-img {
        object-position: center;
    }
}
