/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

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

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: #c9a84c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4b965;
}

/* ===== Navigation ===== */
#navbar {
    transition: background-color 0.5s ease, box-shadow 0.5s ease, padding 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c9a84c;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #d4b965;
}

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

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    position: relative;
}

/* Menu lines animation */
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 1.5rem;
}

/* ===== Hero Section ===== */
#hero {
    position: relative;
}

/* ===== Section Divider ===== */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9a84c/30, transparent);
}

/* ===== Specialty Cards ===== */
.specialty-card {
    cursor: pointer;
}

.specialty-card::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #c9a84c;
    transition: width 0.3s ease;
}

.specialty-card:hover::after {
    width: 100%;
}

/* ===== Gallery ===== */
.gallery-item {
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    transition: transform 0.7s ease, opacity 0.5s ease;
}

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

/* ===== Buttons ===== */
.btn-primary {
    background: #c9a84c;
    color: #0a1628;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary:hover {
    background: #d4b965;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #c9a84c;
    color: #d4b965;
}

/* ===== Form Styles ===== */
input:focus,
textarea:focus {
    outline: none;
    border-color: #c9a84c !important;
    box-shadow: 0 0 0 1px #c9a84c;
}

input::placeholder,
textarea::placeholder {
    color: #b8c4d4;
}

/* ===== Fade-in animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Gold accent line ===== */
.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c9a84c, transparent);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}
