/* Premium Locksmith Website CSS Stylesheet */

:root {
    --primary: #0F172A;       /* Dark slate blue background */
    --secondary: #090D16;     /* Deep blackish-blue background */
    --gold: #D4AF37;          /* Premium gold accent */
    --gold-rgb: 212, 175, 55;
    --gold-hover: #F3E5AB;    /* Soft beige gold */
    --text-light: #F8FAFC;    /* Off-white primary text */
    --text-muted: #94A3B8;    /* Muted grey text */
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--secondary);
    color: var(--text-light);
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
}

p {
    font-family: 'Nunito', sans-serif;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Ambient glow graphics */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Sticky Header & Navbar */
.site-navbar {
    background-color: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.site-navbar.scrolled {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #090D16;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    font-weight: 500;
    color: var(--text-light) !important;
    font-size: 15px;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

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

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.05);
}

/* Custom Buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #B8962D 100%);
    color: #090D16 !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(var(--gold-rgb), 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #E5C04B 0%, var(--gold) 100%);
    box-shadow: 0 6px 20px rgba(var(--gold-rgb), 0.45);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold) !important;
    border: 2px solid var(--gold);
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #090D16 !important;
    box-shadow: 0 6px 15px rgba(var(--gold-rgb), 0.25);
    transform: translateY(-2px);
}

/* Floating Widgets */
.floating-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
    text-decoration: none !important;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    color: #ffffff;
}

.float-whatsapp {
    background-color: #25D366;
}

.float-call {
    background-color: var(--gold);
    color: #090D16;
}

.float-call:hover {
    color: #090D16;
}

.float-enquiry {
    background-color: var(--primary);
    border: 1px solid var(--gold);
    color: var(--gold);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(180deg, rgba(9, 13, 22, 0.4) 0%, rgba(9, 13, 22, 1) 100%), 
                url('../uploads/hero_background.png') no-repeat center center/cover;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Service Box */
.service-icon {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 20px;
    display: inline-block;
    transition: var(--transition);
}

.glass-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Process Section */
.process-step {
    position: relative;
}

.process-number {
    font-size: 70px;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.08);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
}

/* Footer Section */
.site-footer {
    background-color: var(--primary);
    border-top: 2px solid var(--gold);
    padding: 80px 0 30px;
    position: relative;
}

.site-footer p {
    color: #E2E8F0 !important; /* Bright off-white for body text */
}

.site-footer .text-muted {
    color: #94A3B8 !important; /* Clear light slate-grey for descriptions */
}

.site-footer a.text-muted,
.site-footer li.text-muted {
    color: #CBD5E1 !important; /* Brighter grey-blue for links and lists */
    transition: var(--transition);
}

.site-footer a.text-muted:hover {
    color: var(--gold) !important; /* Gold hover for links */
}

.site-footer .hover-gold:hover {
    color: var(--gold) !important;
}

.site-footer li {
    color: #CBD5E1 !important; /* Clear color for general list text */
}

.site-footer li span.text-muted,
.site-footer li a.text-muted {
    color: #CBD5E1 !important; /* Ensure phone, address, and email are bright */
}

.site-footer li a.text-muted:hover {
    color: var(--gold) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 36px;
    position: relative;
    margin-bottom: 45px;
    text-align: center;
}

.section-title span {
    color: var(--gold);
}

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

/* Enquiry Modal Form Style */
.enquiry-modal .modal-content {
    background-color: var(--primary);
    border: 1px solid var(--gold);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.enquiry-modal .modal-header {
    border-bottom: 1px solid var(--glass-border);
}

.enquiry-modal .modal-footer {
    border-top: 1px solid var(--glass-border);
}

.enquiry-modal .form-control, .enquiry-modal .form-select {
    background-color: rgba(9, 13, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border-radius: 10px;
}

.enquiry-modal .form-control:focus, .enquiry-modal .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

/* Custom section background overrides to avoid Bootstrap light-mode overrides */
.section-bg-alt {
    background-color: #0f172a !important;
    border-top: 1px solid var(--glass-border) !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

/* Ensure text-muted uses the custom off-white variables on our dark layout */
.text-muted {
    color: var(--text-muted) !important;
}

/* Emphasized UI elements typography */
.nav-link, 
.navbar-brand, 
.btn, 
.btn-gold, 
.btn-outline-gold, 
#langSwitcherDropdown, 
.dropdown-item {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
