@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-gold: #cca43b;
    --dark-grey: #2c2c2c;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --text-color: #333333;
    --border-color: #e0e0e0;
}

body {
    background-color: var(--light-bg);
    color: #000000;
    /* Pure black for contrast */
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    font-size: 20px;
    /* Base font size increased for legibility */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: #000000;
    font-weight: 700;
}

.text-gold {
    color: #b38f30 !important;
}

.text-muted {
    color: #444 !important;
    /* Darker grey */
}

.text-gold {
    color: var(--primary-gold) !important;
}

/* Navbar */
.navbar {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark-grey) !important;
    letter-spacing: 1px;
}

.nav-link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--dark-grey) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold) !important;
}

/* Buttons */
/* Buttons */
.btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #000000;
    /* FORCE BLACK TEXT */
    border-radius: 8px;
    padding: 15px 30px;
    /* Big touch targets */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b38f30;
    border-color: #b38f30;
    transform: translateY(-2px);
}

.btn-outline-dark {
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Cards */
.card {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: var(--white);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-gold);
    padding: 1.5rem;
}

.card-header h4 {
    margin: 0;
    color: var(--dark-grey);
}

/* Tables */
.table thead th {
    background-color: var(--dark-grey);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
}

.table-hover tbody tr:hover {
    background-color: rgba(204, 164, 59, 0.05);
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
}

.footer a {
    color: var(--primary-gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Form Controls */
/* Form Controls */
.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #888;
    /* Visible borders */
    padding: 15px;
    /* Big inputs */
    font-size: 1.1rem;
    color: #000;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: none;
}

/* Badges */
.badge {
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-planned {
    background-color: #f0ad4e;
    color: #fff;
}

.badge-completed {
    background-color: #5cb85c;
    color: #fff;
}

.badge-cancelled {
    background-color: #d9534f;
    color: #fff;
}

/* Custom Utilities */
.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    body {
        margin-bottom: 80px;
        /* Space for Bottom Nav */
    }

    /* Hide Top Nav Links on Mobile */
    .navbar-collapse {
        display: none !important;
    }

    .navbar-toggler {
        display: none !important;
    }

    .navbar-brand {
        margin: 0 auto;
        font-size: 1.5rem;
    }

    /* Bottom Navigation Bar */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        z-index: 1000;
    }

    .bottom-nav-item {
        text-align: center;
        text-decoration: none;
        color: var(--text-color);
        font-size: 0.75rem;
        flex: 1;
    }

    .bottom-nav-item i {
        display: block;
        font-size: 2rem;
        /* Massive icons */
        margin-bottom: 5px;
        color: #333;
    }

    .bottom-nav-item span {
        font-size: 0.9rem;
        /* Readable labels */
        font-weight: 700;
        display: block;
    }

    .bottom-nav-item.active i,
    .bottom-nav-item:hover i {
        color: var(--primary-gold);
    }

    /* Floating Action Button (FAB) */
    .fab-call {
        position: fixed;
        bottom: 90px;
        right: 20px;
        background-color: #25D366;
        /* WhatsApp Green */
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        font-size: 1.8rem;
        transition: transform 0.2s;
    }

    .fab-call:active {
        transform: scale(0.95);
    }

    /* Mobile Cards (Replacing Tables) */
    .mobile-card {
        background: white;
        padding: 15px;
        margin-bottom: 15px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        border-left: 4px solid var(--primary-gold);
    }

    .mobile-card-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        color: #999;
        font-weight: 700;
        display: block;
        margin-bottom: 2px;
    }

    .mobile-card-value {
        font-size: 1rem;
        margin-bottom: 10px;
        display: block;
        color: var(--dark-grey);
        font-weight: 500;
    }
}

@media (min-width: 769px) {

    .bottom-nav,
    .fab-call,
    .d-md-none-custom {
        display: none !important;
    }
}