/* Custom styles — complementary to Tailwind */

/* Ensure body has no default margin */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Smooth focus outlines for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Form inputs */
input::placeholder,
textarea::placeholder {
    color: rgba(94, 234, 212, 0.25);
}

/* Navbar glass effect when scrolled */
nav.scrolled {
    background: rgba(5, 10, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(94, 234, 212, 0.06);
}

/* Mobile menu open state */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* Hamburger animation */
#menu-toggle.active #bar1 {
    transform: translateY(5px) rotate(45deg);
}
#menu-toggle.active #bar2 {
    opacity: 0;
}
#menu-toggle.active #bar3 {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.5rem;
}

/* Image hover containers */
.reveal-scale img,
.reveal-left img,
.reveal-right img {
    display: block;
}

/* Subtle gold accent line on section dividers */
section::after {
    content: '';
    display: block;
    clear: both;
}

/* Ensure map iframe looks good on dark theme */
iframe[src*="google.com/maps"] {
    border-radius: 0.75rem;
}

/* Print styles */
@media print {
    nav, #contact-form, .reveal {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
