@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --accent: #f98500;
    --text-primary: #ffffff;
    --text-muted: #959aa3;
    --bg-dark: #1e1e1e;
    --card-bg: rgba(255, 255, 255, 0.04);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }

body {
    background-color: #171717; /* Dark background of the browser window */
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    min-height: 100vh;
}

/* THE MASTER IFRAME WRAPPER */
#master-container {
    width: 100%; max-width: 1200px; margin: 0 auto;
    background: #1c1c1f; /* Main dark body of the website layout */
    border-radius: 20px; /* Perfectly rounded outer frame */
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), 0 0 60px rgba(255, 122, 0, 0.05);
    overflow: hidden; 
    display: flex; flex-direction: column;
}

/* Beautiful Hero Split */
.hero-wrapper {
    position: relative; width: 100%; height: 500px;
    background: url('../images/sunset-bg.png') no-repeat center center;
    background-size: cover; 
    display: flex; flex-direction: column; align-items: center;
}
.hero-overlay {
    position: absolute; inset: 0; 
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(28,28,31,0) 50%, #1c1c1f 100%);
    pointer-events: none;
}

/* Sleek Centered Pill Navbar */
.nav-container {
    position: relative; z-index: 100; max-width: 800px; width: 90%; margin: 30px auto 0; padding: 12px 25px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.1), rgba(255,255,255,0.06));
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.logo-block { display: flex; align-items: center; gap: 10px; }
.logo-block svg { width: 22px; height: 22px; fill: rgba(255,255,255,0.7); }
.logo-text { font-weight: 700; font-size: 1rem; line-height: 1.1; color: #fff; }

nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
nav ul li a { text-decoration: none; color: rgba(255,255,255,0.7); font-weight: 500; font-size: 0.85rem; transition: 0.3s; position: relative; padding: 5px 0; }
nav ul li a:hover, nav ul li a.active { color: #fff; }
nav ul li a.active::after {
    content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 2px;
    background: var(--accent); border-radius: 2px; box-shadow: 0 0 8px var(--accent);
}

/* Hero Typography */
.hero-content { position: relative; z-index: 10; text-align: center; margin-top: 100px; }
.hero-content h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 5px; text-shadow: 0 4px 15px rgba(0,0,0,0.6); line-height: 1.2; letter-spacing: -1px; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.9); font-weight: 400; margin-bottom: 30px; }
.btn-quote {
    display: inline-block; padding: 14px 35px; border-radius: 30px; font-weight: 600; font-size: 0.85rem; color: #fff; text-decoration: none;
    border: 1px solid rgba(255, 150, 50, 0.5); background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); transition: 0.3s;
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.2), inset 0 2px 10px rgba(255,255,255,0.1);
}
.btn-quote:hover { background: rgba(255,255,255,0.2); border-color: #fff; box-shadow: 0 10px 30px rgba(255, 122, 0, 0.4), inset 0 2px 10px rgba(255,255,255,0.3); }

/* Services Overlapping Hero */
.services-section { position: relative; z-index: 20; max-width: 1000px; margin: 40px auto 60px; padding: 0 20px; text-align: center; }
.services-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 40px; color: #fff; }

/* 4 Column Grid */
.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }

/* Exact Glass Mockup Cards */
.service-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.04); border-top: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px; padding: 35px 25px; text-align: center; text-decoration: none; color: #fff;
    width: calc(33.333% - 15px); min-width: 200px; transition: 0.4s; position: relative; overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.service-card::after {
    content: ''; position: absolute; bottom: 0; left: 20%; width: 60%; height: 2px;
    background: var(--accent);
    box-shadow: 0 -5px 20px var(--accent); opacity: 0.8; transition: 0.4s;
}
.service-card:hover { transform: translateY(-5px); border-top-color: rgba(255,255,255,0.5); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.service-card:hover::after { box-shadow: 0 -10px 25px var(--accent); opacity: 1; left: 10%; width: 80%; }

.card-icon {
    width: 100%; margin: 0 auto 25px; display: flex; justify-content: center; align-items: center;
}
.card-icon svg { width: 50px; height: 50px; fill: url(#bronzeGradient); filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
.card-icon img { height: 80px; width: auto; object-fit: contain; filter: drop-shadow(0 5px 15px rgba(255, 122, 0, 0.4)); }

.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.service-card p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }

/* Dynamic Content Section & Areas We Serve Buttons */
.content-wrapper {
    max-width: 1000px; margin: 0 auto 60px; padding: 30px;
    line-height: 1.8; color: #d0d0d0; font-size: 1.05rem;
    background: rgba(0,0,0,0.2); border-radius: 12px; border: 1px solid rgba(255,255,255,0.05);
}
.content-wrapper h1, .content-wrapper h2, .content-wrapper h3 { color: #fff; margin-top: 30px; margin-bottom: 20px; }
.content-wrapper h4 { color: #ff7a00; font-size: 1.3rem; margin-top: 25px; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; }
.content-wrapper p { margin-bottom: 20px; }

/* Legacy Inline Text Links */
.content-wrapper a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255,122,0,0.5);
    transition: 0.3s;
    font-weight: 500;
}
.content-wrapper a:hover {
    color: #ff7a00;
}

.city-button-grid {
    display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px;
}
.city-pill {
    padding: 10px 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; text-decoration: none; border-radius: 8px; font-size: 0.85rem; font-weight: 500;
    transition: 0.3s;
}
.city-pill:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); color: var(--accent); }

/* Footer */
footer { padding: 40px 40px 30px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 0.95rem; }
.footer-col a, .footer-col div { color: var(--text-muted); text-decoration: none; margin-bottom: 10px; font-size: 0.8rem; transition: 0.3s; display: block;}
.footer-col a:hover { color: #fff; }

/* AI Chat Window */
#ai-chat-btn {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); cursor: pointer; z-index: 100000; overflow: hidden; transition: 0.3s;
}
#ai-chat-btn:hover { transform: scale(1.05); border-color: var(--accent); }
#ai-chat-btn img { width: 100%; height: 100%; object-fit: cover; }

#ai-chat-panel {
    position: fixed; bottom: 100px; right: 30px; width: 330px; height: 450px;
    background: #181a20; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8); z-index: 100000; display: none; flex-direction: column; overflow: hidden;
    transform-origin: bottom right; animation: popIn 0.3s ease-out;
}
@keyframes popIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.chat-head { background: linear-gradient(90deg, #22252e, #181a20); padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; }
.chat-head b { color: #fff; font-size: 0.9rem; }
.chat-body { flex-grow: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.message-bot { background: rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 12px 12px 12px 0; color: #d0d0d0; font-size: 0.85rem; width: max-content; max-width: 85%; }
.message-user { background: rgba(249, 133, 0, 0.8); padding: 12px 16px; border-radius: 12px 12px 0 12px; color: #fff; font-size: 0.85rem; align-self: flex-end; width: max-content; max-width: 85%; }
.chat-input { padding: 15px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; gap: 10px; background: #1a1d24; }
.chat-input input { flex-grow: 1; padding: 10px 15px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); color: #fff; border-radius: 20px; outline: none; font-size:0.85rem; }
.chat-input button { background: var(--accent); color: #fff; border: none; padding: 0 15px; border-radius: 20px; font-weight: bold; cursor: pointer; }

/* Modern Contact Form - V2 PREMIUM GLASSMORPHISM */
.glass-form-container {
    background: rgba(20, 22, 28, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,122,0,0.15);
    padding: 40px;
    border-radius: 16px;
    max-width: 700px;
    margin: 40px auto;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}
.form-title {
    color: #ff7a00;
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.form-section-title {
    margin-top: 35px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    border-left: 3px solid #ff7a00;
    padding-left: 10px;
}
.modern-contact-form .form-group {
    margin-bottom: 22px;
}
.modern-contact-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.modern-contact-form .flex-1 { flex: 1; min-width: 150px; }
.modern-contact-form .flex-2 { flex: 2; min-width: 200px; }

.modern-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #e0e0e0;
}
.modern-contact-form .req {
    color: #ff3333;
}
.modern-contact-form input, .modern-contact-form select, .modern-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.modern-contact-form input::placeholder, .modern-contact-form textarea::placeholder {
    color: rgba(255,255,255,0.3);
}
.modern-contact-form input:focus, .modern-contact-form select:focus, .modern-contact-form textarea:focus {
    outline: none;
    border-color: #ff7a00;
    background: rgba(255,122,0,0.05);
    box-shadow: 0 0 0 3px rgba(255,122,0,0.1);
}
.modern-contact-form select {
    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='%23ff7a00' 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;
}
.modern-contact-form option {
    background: #1a1d24;
    color: #fff;
}
.form-submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 15px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
