@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --brand-red: #C0392B;
    --brand-red-dark: #8C1B1B;
    --brand-gold: #E1B168;
    --brand-text-light: #FDF6E3;
    --brand-text-dark: #333333;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for fixed header */
}

.font-sans {
    font-family: 'Noto Sans SC', sans-serif;
}

.bg-brand-red { background-color: var(--brand-red); }
.bg-brand-red-dark { background-color: var(--brand-red-dark); }
.text-brand-red { color: var(--brand-red); }
.text-brand-red-dark { color: var(--brand-red-dark); }
.text-brand-gold { color: var(--brand-gold); }
.border-brand-gold { border-color: var(--brand-gold); }

#main-header {
    background-color: transparent;
}

#main-header.scrolled {
    background-color: rgba(140, 27, 27, 0.95); /* brand-red-dark with opacity */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 8px;
}

.nav-link:hover {
    color: var(--brand-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--brand-gold);
    transition: width 0.3s ease;
}

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

.section-title {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    line-height: 2.5rem; /* 40px */
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.875rem; /* 30px */
        line-height: 2.25rem; /* 36px */
    }
}

.reveal-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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