/* ===== Custom Styles ===== */

:root {
    --cream: #faf8f5;
    --navy-800: #1e3a5f;
    --navy-900: #0f1f33;
    --gold-400: #eab870;
    --gold-500: #d4a053;
    --gold-600: #b8862e;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--cream);
}

/* ===== Navbar ===== */
#navbar {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background-color: rgba(15, 31, 51, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-link {
    position: relative;
}

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

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

/* ===== Mobile Menu ===== */
.mobile-link {
    font-family: 'Playfair Display', serif;
}

/* ===== Hero ===== */
.hero-bg {
    position: relative;
}

.hero-img {
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-subtitle {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.hero-title {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-desc {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-buttons {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
}

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

/* ===== Scroll Indicator ===== */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* ===== Buttons ===== */
.btn-primary {
    box-shadow: 0 4px 20px rgba(212, 160, 83, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(212, 160, 83, 0.4);
}

.btn-secondary {
    backdrop-filter: blur(4px);
}

/* ===== Service Cards ===== */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    border-color: rgba(212, 160, 83, 0.3);
}

/* ===== Area Cards ===== */
.area-card {
    overflow: hidden;
}

.area-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.4s ease, background-color 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ===== Reveal Animations ===== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== Input Focus ===== */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(212, 160, 83, 0.15);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-title br {
        display: none;
    }
    
    .hero-title::after {
        content: ' Awaits';
        display: block;
        font-size: 0.7em;
    }
}

/* ===== Selection ===== */
::selection {
    background-color: var(--gold-400);
    color: var(--navy-900);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-500);
}
