/* ==========================================================================
   1. Core Reset & Global Variables
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

:root {
    --bg-dark: #121212;        /* Rich Charcoal Black */
    --bg-surface: #1a1a1a;     /* Panel Charcoal */
    --accent-blue: #d4af37;    /* Metallic Gold */
    --accent-teal: #f3e5ab;    /* Light Vanilla / Champagne Gold */
    --text-primary: #ffffff;   /* Crisp White */
    --text-secondary: #a0a0a0; /* Muted Silver/Gray */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 5.5rem; /* Header clearance */
}

/* ==========================================================================
   2. Header & Navigation Layout
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.brand-name {
    font-weight: bold;
    font-size: 1.3rem;
    white-space: nowrap;
}

.white-text { color: #ffffff; }
.gold-text { color: #d4af37; }

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

/* Hamburger UI Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hamburger Animation when Active */
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Responsive Nav Drawer */
@media (max-width: 768px) {
    body {
        padding-top: 6.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--bg-surface);
        flex-direction: column;
        padding: 6rem 2.5rem;
        gap: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        right: 0;
    }
}

/* ==========================================================================
   3. Buttons & CTAs (Global Component)
   ========================================================================== */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.cta-btn {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.cta-btn.primary {
    background-color: var(--accent-blue);
    color: #121212;
}

.cta-btn.primary:hover {
    background-color: var(--accent-teal);
    transform: translateY(-2px);
}

.cta-btn.secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.cta-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   4. Hero Section (Home Page)
   ========================================================================== */
.hero-section {
    min-height: calc(100vh - 5.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ==========================================================================
   5. Services Section (Home & Services Pages)
   ========================================================================== */
.services-section {
    padding: 5rem 2rem;
    background-color: var(--bg-surface);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    color: var(--accent-blue);
    letter-spacing: -0.01em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   6. Pricing Section (Packages, Touch Slider, Add-ons & Maintenance)
   ========================================================================== */
.pricing-section {
    padding: 2rem 1.5rem 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile-First Touch Slider */
.packages-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding: 0.5rem 0.25rem 1.5rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.packages-wrapper::-webkit-scrollbar {
    display: none;
}

.pricing-card-slide {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background-color: var(--bg-surface);
    padding: 2.5rem 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card-slide.featured {
    border-color: var(--accent-blue);
}

.pricing-tier {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.pricing-card-slide.featured .pricing-tier {
    color: var(--accent-blue);
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0.8rem 0 1.2rem 0;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pricing-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.5rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 700;
}

@media (min-width: 768px) {
    .packages-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        overflow-x: visible;
        padding: 0;
        gap: 1.5rem;
    }

    .pricing-card-slide {
        flex: initial;
    }
}

/* Add-ons Table */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.addons-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-surface);
}

.addons-table th, 
.addons-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.addons-table th {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--accent-blue);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.addons-table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.addons-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.addons-table tr:last-child td {
    border-bottom: none;
}

.addons-table td.price-col {
    color: var(--text-primary);
    font-weight: bold;
    white-space: nowrap;
}

.addons-table td.type-col {
    color: #888888;
    font-size: 0.85rem;
}

/* Maintenance Grid */
.maint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.maint-card {
    background: var(--bg-surface);
    padding: 1.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.maint-card.featured-maint {
    grid-column: 1 / -1;
    border-color: var(--accent-blue);
}

.maint-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.maint-price {
    color: var(--accent-blue);
    font-size: 1.6rem;
    font-weight: bold;
}

.maint-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 10px;
    line-height: 1.4;
}

/* ==========================================================================
   7. Contact Section (Contact Page)
   ========================================================================== */
.contact-section {
    padding: 5rem 2rem;
    background-color: var(--bg-dark);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-surface);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* ==========================================================================
   8. About / Corporate Utilities (About Page)
   ========================================================================== */
.about-wrapper {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0 auto;
}

.about-card-full {
    width: 100%;
}

/* Mobile Responsiveness for Forms & CTAs */
@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    .cta-btn {
        width: 100%;
    }
}

/* ==========================================================================
   9. Global Footer
   ========================================================================== */
.footer {
    background-color: rgba(26, 26, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-info h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-info h4 span {
    color: var(--accent-blue);
}

.footer-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--accent-blue);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    width: 100%;
    padding-top: 1.5rem;
}
/* ==========================================================================
   Pricing Page & Nav Logo Overrides
   ========================================================================== */

/* Header Logo Sizing & Circle Crop */
.nav-logo {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

/* Original High-Contrast Add-Ons Table Styling */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 12px;
    border: 1px solid #262626;
    background: #161616;
}

.addons-table {
    width: 100%;
    border-collapse: collapse;
    background: #161616;
}

.addons-table th, 
.addons-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid #222222;
}

.addons-table th {
    background-color: #1f1f1f;
    color: #d4af37;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.addons-table td {
    color: #cccccc;
    font-size: 0.95rem;
}

.addons-table tr:hover {
    background-color: #1a1a1a;
}

.addons-table tr:last-child td {
    border-bottom: none;
}

.addons-table td.price-col {
    color: #ffffff;
    font-weight: bold;
    white-space: nowrap;
}

.addons-table td.type-col {
    color: #888888;
    font-size: 0.85rem;
}

/* Package Cards & Maintenance Card Layouts */
.pricing-card, .maint-card {
    background: #161616;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #262626;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured, .maint-card.featured-maint {
    border-color: #d4af37;
}

.pricing-tier {
    color: #d4af37;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
}

.price.custom-price {
    font-size: 1.6rem;
}

.maint-price {
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 5px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    color: #cccccc;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #222222;
}

.pricing-features li:last-child {
    border-bottom: none;
}
