/* Google Fonts are now loaded locally via fonts.css */

:root {
    --primary-color: #0f172a;       /* Slate 900 / Dark Blue */
    --secondary-color: #1e293b;     /* Slate 800 / Secondary Blue */
    --accent-gold: #d4af37;         /* Metallic Gold */
    --accent-gold-dark: #b59410;    /* Darker Gold */
    --accent-gold-light: #f7e7a8;   /* Light Gold */
    --light-bg: #f8fafc;            /* Off-white */
    --text-dark: #1e293b;           /* Slate 800 */
    --text-muted: #64748b;          /* Slate 500 */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .playfair {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Navbar Premium Styling */
.navbar-premium {
    background-color: var(--primary-color) !important;
    border-bottom: 3px solid var(--accent-gold);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #ffffff !important;
    letter-spacing: 1px;
}

.navbar-brand span {
    color: var(--accent-gold);
}

.nav-link-premium {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link-premium:hover,
.nav-link-premium.active {
    color: var(--accent-gold) !important;
}

.nav-link-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link-premium:hover::after,
.nav-link-premium.active::after {
    width: calc(100% - 32px);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-color) !important;
    font-weight: 600;
    border: 2px solid var(--accent-gold);
    padding: 10px 24px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent-gold) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--accent-gold) !important;
    font-weight: 600;
    border: 2px solid var(--accent-gold);
    padding: 10px 24px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-outline-gold:hover {
    background-color: var(--accent-gold);
    color: var(--primary-color) !important;
}

.btn-dark-blue {
    background-color: var(--primary-color);
    color: #ffffff !important;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    border-radius: 4px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-dark-blue:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0 120px;
    color: #ffffff;
    border-bottom: 5px solid var(--accent-gold);
}

.hero-subtitle {
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.bg-light-gray {
    background-color: var(--light-bg);
}

/* Cards Premium */
.card-premium {
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    background-color: #ffffff;
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.card-premium-img-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.card-premium-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.card-premium:hover .card-premium-img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
}

.badge-available {
    background-color: #10b981;
    color: #ffffff;
}

.badge-occupied {
    background-color: #ef4444;
    color: #ffffff;
}

.badge-maintenance {
    background-color: #f59e0b;
    color: #ffffff;
}

.card-premium-body {
    padding: 25px;
}

.card-premium-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-premium-price {
    font-size: 1.3rem;
    color: var(--accent-gold-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.card-premium-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
    margin-top: 15px;
}

/* Amenity Icons */
.amenity-card {
    background-color: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition-smooth);
    height: 100%;
}

.amenity-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transform: translateY(-5px);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--accent-gold-dark);
    margin-bottom: 20px;
}

.amenity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Inquiry Form Box */
.inquiry-box {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border-top: 5px solid var(--accent-gold);
    box-shadow: 0 15px 40px rgba(15,23,42,0.15);
}

.inquiry-box .form-control,
.inquiry-box .form-select {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 6px;
}

.inquiry-box .form-control:focus,
.inquiry-box .form-select:focus {
    background-color: rgba(255,255,255,0.12);
    border-color: var(--accent-gold);
    color: #ffffff;
    box-shadow: none;
}

.inquiry-box .form-select option {
    background-color: var(--primary-color);
    color: #ffffff;
}

.inquiry-box label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold-light);
    margin-bottom: 8px;
}

/* Gallery Page */
.gallery-filter-btn {
    border: none;
    background: transparent;
    padding: 8px 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    border-radius: 30px;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--accent-gold) !important;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15,23,42,0.1), rgba(15,23,42,0.9));
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #ffffff;
}

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

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

.gallery-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.gallery-desc {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: rgba(255,255,255,0.7);
    padding: 70px 0 30px;
    border-top: 5px solid var(--accent-gold);
    font-size: 0.9rem;
}

.footer h5 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: block;
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding-top: 25px;
    font-size: 0.8rem;
}

/* Admin Sidebar Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--primary-color);
    border-right: 3px solid var(--accent-gold);
    color: #ffffff;
    transition: var(--transition-smooth);
}

.admin-logo {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.admin-logo span {
    color: var(--accent-gold);
}

.admin-menu {
    padding: 20px 0;
    list-style: none;
    margin: 0;
}

.admin-menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.admin-menu-item a i {
    width: 25px;
    font-size: 1.1rem;
    margin-right: 12px;
    color: var(--accent-gold);
}

.admin-menu-item a:hover,
.admin-menu-item.active a {
    background-color: rgba(255,255,255,0.05);
    color: #ffffff;
    border-left: 4px solid var(--accent-gold);
}

.admin-content {
    flex: 1;
    background-color: var(--light-bg);
}

.admin-topbar {
    background-color: #ffffff;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.admin-body {
    padding: 45px 30px;
}

.admin-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    background-color: #ffffff;
}

.admin-card .card-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 25px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary-color);
}

/* Statistics Box */
.stat-box {
    padding: 25px;
    border-radius: 8px;
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.stat-box-bg-blue {
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
}

.stat-box-bg-gold {
    background: linear-gradient(135deg, #c5a059, #8d6e2a);
}

.stat-box-bg-emerald {
    background: linear-gradient(135deg, #059669, #064e3b);
}

.stat-box-bg-rose {
    background: linear-gradient(135deg, #be123c, #881337);
}

.stat-box-icon {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 4rem;
    opacity: 0.15;
}

.stat-box-value {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-box-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Floating WhatsApp Button */
.floating-wa-container {
    position: fixed;
    bottom: 25px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 15px;
}

.floating-wa-right {
    right: 25px;
    flex-direction: row;
}

.floating-wa-left {
    left: 25px;
    flex-direction: row-reverse;
}

.floating-wa-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    animation: wa-pulse 15s infinite;
}

.floating-wa-btn:hover,
.floating-wa-btn:focus {
    background-color: #1ebe57;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    outline: none;
}

.floating-wa-icon-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.floating-wa-badge {
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    transition: all 0.5s ease;
    white-space: nowrap;
    border: 1px solid rgba(0,0,0,0.05);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    5% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    10% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive spacing */
@media (max-width: 768px) {
    .floating-wa-container {
        bottom: 15px;
    }
    .floating-wa-right {
        right: 15px;
    }
    .floating-wa-left {
        left: 15px;
    }
    .floating-wa-btn {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    .floating-wa-icon-img {
        width: 28px;
        height: 28px;
    }
}
