/* ===== Base Styles ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #D87020 #111827;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111827; }
::-webkit-scrollbar-thumb { background: #D87020; border-radius: 4px; }

::selection {
    background: rgba(245, 158, 11, 0.3);
    color: white;
}

/* ===== Navigation ===== */
#navbar {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
    transition: color 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background: #D87020;
    border-radius: 2px;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: #D87020;
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: #d97706;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: transparent;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid white;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-secondary:hover {
    background: white;
    color: #111827;
}

.btn-primary-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: #2061B7;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary-light:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}

/* ===== Cards ===== */
.service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.stat-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== Form Inputs ===== */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #111827;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    transition: all 0.2s;
    outline: none;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    border-color: #D87020;
    background: white;
}

.form-input-dark {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 0.5rem;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    transition: all 0.2s;
    outline: none;
}

.form-input-dark::placeholder {
    color: #6b7280;
}

.form-input-dark:focus {
    border-color: #D87020;
    background: rgba(255,255,255,0.12);
}

/* ===== Animations ===== */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fade-in 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; }
.animate-fade-in-up { animation: fade-in-up 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards; }

.delay-200 { animation-delay: 0.1s; opacity: 0; }
.delay-300 { animation-delay: 0.15s; opacity: 0; }
.delay-400 { animation-delay: 0.2s; opacity: 0; }

/* Scroll-triggered */
[data-animate] {
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.25, 0.1, 0.25, 1), transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

[data-animate="fade-up"] { transform: translateY(12px); }
[data-animate="fade-right"] { transform: translateX(-12px); }
[data-animate="fade-left"] { transform: translateX(12px); }

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* ===== Page Header (inner pages) ===== */
.page-header {
    position: relative;
    padding: 10rem 0 5rem;
    text-align: center;
    overflow: hidden;
    background: #111827;
}

/* ===== Gallery Grid ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* ===== Blog Cards ===== */
.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ===== Community Cards ===== */
.community-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.community-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.community-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

/* ===== Glass Card (still used sparingly) ===== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page-header {
        padding: 8rem 0 3rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Booking Embed ===== */
.booking-embed {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 0.75rem;
    background: white;
}

/* ===== Financing Badge ===== */
.financing-badge {
    background: #D87020;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}
