/* Custom styles for G&B Services */

:root {
    --navy-900: #0F1D3A;
    --navy-800: #1A2D4A;
    --gold: #C8A45E;
    --gold-light: #D4B76A;
    --stone-50: #FAFAF8;
    --stone-100: #F5F5F4;
}

html {
    scroll-behavior: smooth;
}

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

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

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

/* Custom color utilities */
.text-navy-900 { color: var(--navy-900); }
.text-gold { color: var(--gold); }
.bg-navy-900 { background-color: var(--navy-900); }
.bg-gold { background-color: var(--gold); }

/* Navbar scroll state */
.nav-scrolled {
    background-color: rgba(250, 250, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(15, 29, 58, 0.08);
}

/* Navigation links */
.nav-link {
    position: relative;
}

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

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

/* Service card hover effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    border-color: rgba(200, 164, 94, 0.3);
}

/* Hero animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    animation: fadeUp 0.8s ease forwards;
}

h1 {
    animation: fadeUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

h1 p {
    animation: fadeUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Mobile menu */
.mobile-menu-link {
    transition: opacity 0.3s ease;
}

/* Selection color */
::selection {
    background-color: rgba(200, 164, 94, 0.3);
    color: var(--navy-900);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 29, 58, 0.5);
}

/* Smooth image loading */
img {
    image-rendering: auto;
    transition: opacity 0.3s ease;
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Mobile menu animations */
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slideOut {
    from { transform: translateX(0); }
    to { transform: translateX(100%); }
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    width: 6px;
    transform: rotate(-45deg) translate(5px, -5px);
}
