/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    --matte-black: #0A0A0A;
    --champagne-gold: #D4AF37;
    --off-white: #F5F5F5;
    --dark-overlay: rgba(10, 10, 10, 0.7);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--matte-black);
    color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Playfair Display', serif;
}

/* Common Styles */
.text-gold { color: var(--champagne-gold) !important; }
.bg-gold { background-color: var(--champagne-gold) !important; }
.border-gold { border-color: var(--champagne-gold) !important; }
.text-muted { color: rgba(255, 255, 255, 0.6) !important; }

/* Buttons */
.btn-gold {
    background-color: transparent;
    border: 1px solid var(--champagne-gold);
    color: var(--champagne-gold);
    border-radius: 0;
    padding: 12px 30px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.btn-gold:hover {
    background-color: var(--champagne-gold);
    color: var(--matte-black);
}

/* Navbar */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--champagne-gold) !important;
    letter-spacing: 2px;
}
.nav-link {
    color: var(--off-white) !important;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--champagne-gold) !important;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?q=80&w=2069&auto=format&fit=crop') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-title {
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Sections */
.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--champagne-gold);
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: var(--champagne-gold);
    margin: 20px auto 0;
}

/* Services Cards */
.service-card {
    background-color: #111;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
    border-color: var(--champagne-gold);
}
.service-icon {
    font-size: 3rem;
    color: var(--champagne-gold);
    margin-bottom: 20px;
}

/* About Section */
.about-experience {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #111;
    border: 1px solid var(--champagne-gold);
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.about-img {
    transition: transform 0.5s ease;
}
.about-img:hover {
    transform: scale(1.02);
}
.letter-spacing-1 { letter-spacing: 1px; }

/* Testimonial Cards */
.testimonial-card {
    background-color: #111;
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
}
.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-5px);
}

/* Modal Customization */
.custom-modal {
    border-width: 1px !important;
    box-shadow: 0 15px 50px rgba(212,175,55,0.15);
}

/* Footer */
footer {
    background-color: #050505;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 20px;
}
footer a { color: var(--off-white); text-decoration: none; transition: color 0.3s; }
footer a:hover { color: var(--champagne-gold); }

/* Portfolio Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Form UI */
.custom-input {
    background-color: #111;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #ffffff !important;
    border-radius: 0;
    padding: 12px 20px;
    font-family: 'Montserrat', sans-serif;
}
.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}
.custom-input:focus {
    background-color: #1a1a1a;
    border-color: var(--champagne-gold);
    box-shadow: none;
    color: var(--off-white);
}
/* Input Group Prefix */
.input-group-text.custom-prefix {
    background-color: #111;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-right: none;
    color: var(--champagne-gold);
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
}
.custom-input.prefix-input {
    border-left: none;
    padding-left: 0;
}
.custom-input.prefix-input:focus {
    border-color: rgba(212, 175, 55, 0.3);
}
/* Custom Select */
select.custom-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}
/* Custom Select options styling for Chrome/Edge/Firefox */
select.custom-input option {
    background-color: #111;
    color: var(--off-white);
    padding: 12px;
    font-size: 1rem;
}
select.custom-input option:checked {
    background-color: var(--champagne-gold) !important;
    color: var(--matte-black) !important;
}
/* Custom DatePicker */
input[type="date"].custom-input::-webkit-calendar-picker-indicator {
    filter: invert(74%) sepia(45%) saturate(415%) hue-rotate(5deg) brightness(96%) contrast(87%);
    cursor: pointer;
}
.form-label {
    font-family: 'Playfair Display', serif;
    color: var(--champagne-gold);
    letter-spacing: 1px;
}
.error-msg {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}
/* Cinematic UI & Micro-Interactions */
/* 1. Global Loader */
#global-loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--matte-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
#global-loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--champagne-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* 2. Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Offline Banner */
#offline-banner {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: #dc3545;
    color: white;
    text-align: center;
    padding: 10px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    font-weight: 500;
}
#offline-banner.active {
    transform: translateY(0);
}

/* Pillar 4: Brutal Mobile Responsiveness Check */
/* 1. Sticky Footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main#main-content {
    flex-grow: 1;
}

/* 2. Typography Scaling */
h1, h2, .display-4 {
    font-size: clamp(2rem, 5vw, 4rem) !important;
}
h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* 3. Mobile Constraints */
@media (max-width: 576px) {
    .service-card, .pricing-card, .testimonial-card {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}
