/* Big Daddy's — Custom Styles */
/* ============================================================ */

/* Base styles and resets */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background: #b82828;
    color: #fefcfb;
}

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

/* Smooth image rendering */
img {
    -webkit-font-smoothing: antialiased;
    image-rendering: auto;
}

/* ============================================================ */
/* Typography refinements */
/* ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.15;
}

p {
    font-family: 'Lora', Georgia, serif;
}

/* ============================================================ */
/* Custom decorative elements */
/* ============================================================ */

/* Gold accent line for headings (replaces CSS custom property for broader support) */
.heading-accent {
    position: relative;
    display: inline-block;
}

.heading-accent::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, #b82828, #c9a84c);
    margin-top: 0.75rem;
}

.heading-accent-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.heading-accent-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================ */
/* Navigation */
/* ============================================================ */

nav {
    will-change: transform;
}

nav.scrolled {
    box-shadow: 0 1px 12px rgba(58, 12, 12, 0.08);
}

/* ============================================================ */
/* Hero section */
/* ============================================================ */

#hero {
    position: relative;
}

/* Parallax effect for hero background */
@media (prefers-reduced-motion: no-preference) {
    .hero-pattern {
        will-change: transform;
    }
}

/* ============================================================ */
/* Card hover effects */
/* ============================================================ */

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ============================================================ */
/* Mobile menu */
/* ============================================================ */

#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.show {
    max-height: 400px;
    opacity: 1;
}

/* ============================================================ */
/* Scroll reveal (progressive enhancement) */
/* ============================================================ */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================ */
/* Image zoom effect */
/* ============================================================ */

.img-zoom {
    transition: transform 0.6s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* ============================================================ */
/* Button transitions */
/* ============================================================ */

button,
a {
    transition: all 0.2s ease;
}

/* ============================================================ */
/* Reduced motion */
/* ============================================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-pattern {
        background-attachment: scroll;
    }
}

/* ============================================================ */
/* Print styles */
/* ============================================================ */

@media print {
    nav,
    #gallery,
    .hero-pattern,
    footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    a {
        text-decoration: underline;
    }
}
