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

:root {
    --bg-dark: #111827;
    --bg-darker: #0F172A;
    --copper-primary: #C87533;
    --copper-secondary: #D9823B;
    --white: #FFFFFF;
    --gray-light: #F3F4F6;
    --gray-dark: #374151;
    --green-eco: #16A34A;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-dark);
    background-color: var(--gray-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--bg-dark);
}

a {
    text-decoration: none;
    color: var(--copper-primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--copper-secondary);
}

.btn-copper {
    background-color: var(--copper-primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-copper:hover {
    background-color: var(--copper-secondary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 117, 51, 0.3);
}

.btn-outline-copper {
    border: 2px solid var(--copper-primary);
    color: var(--copper-primary);
    background: transparent;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-copper:hover {
    background: var(--copper-primary);
    color: var(--white);
}

.text-copper {
    color: var(--copper-primary) !important;
}

/* Header */
.custom-header {
    background-color: var(--bg-darker);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.custom-header .navbar-brand {
    color: var(--white);
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.2;
}

.custom-header .brand-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--copper-primary);
    font-weight: 500;
    letter-spacing: 1px;
}

.custom-header .nav-link {
    color: var(--gray-light) !important;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 2px;
    transition: color 0.3s;
    white-space: nowrap;
}

.custom-header .nav-link:hover, .custom-header .nav-link.active {
    color: var(--copper-primary) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: url('../img/hero-bg.jpg') center/cover no-repeat; /* Placeholder for real bg */
    background-color: var(--bg-dark);
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 50%, rgba(15,23,42,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-trust-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-trust-list li {
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.hero-trust-list li i {
    color: var(--copper-primary);
    margin-right: 8px;
}

.quote-form-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.quote-form-card h4 {
    color: var(--bg-dark);
    margin-bottom: 20px;
}

/* Fast Contact Bar */
.fast-contact-bar {
    background: var(--copper-primary);
    color: var(--white);
    padding: 20px 0;
    margin-top: -30px;
    position: relative;
    z-index: 3;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(200, 117, 51, 0.2);
}

.fast-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fast-contact-item i {
    font-size: 2rem;
}

.fast-contact-item h5 {
    color: var(--white);
    margin: 0;
    font-size: 1rem;
}
.fast-contact-item p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Common Section Title */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--bg-dark);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Pricing Table */
.pricing-table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.pricing-table thead {
    background: var(--bg-dark);
    color: var(--white);
}
.pricing-table th, .pricing-table td {
    padding: 16px 24px;
    vertical-align: middle;
}
.pricing-table tbody tr {
    transition: background 0.3s;
}
.pricing-table tbody tr:hover {
    background: var(--gray-light);
}

/* Service/Scrap Cards */
.premium-card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}
.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--copper-primary);
}
.premium-card i {
    font-size: 2.5rem;
    color: var(--copper-primary);
    margin-bottom: 20px;
}
.premium-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}
.premium-card p {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

/* Timeline */
.timeline-process {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.timeline-process::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--copper-primary);
    opacity: 0.3;
    z-index: 1;
}
.timeline-step {
    flex: 1;
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}
.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    color: var(--copper-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--copper-primary);
}

/* Cable & Big Sections */
.highlight-section {
    background: var(--bg-darker);
    color: var(--white);
    padding: 80px 0;
}
.highlight-section h2, .highlight-section h3 {
    color: var(--white);
}
.highlight-section .text-copper {
    color: var(--copper-primary) !important;
}

/* Service Areas */
.area-box {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--copper-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.area-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.area-list li {
    background: var(--gray-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--gray-dark);
}

/* Footer */
.main-footer {
    background: var(--bg-darker);
    color: var(--gray-light);
    padding: 80px 0 20px;
    border-top: 5px solid var(--copper-primary);
}
.main-footer h5 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}
.main-footer a {
    color: var(--gray-light);
}
.main-footer a:hover {
    color: var(--copper-primary);
    padding-left: 5px;
}
.main-footer ul li {
    margin-bottom: 10px;
    transition: all 0.3s;
}

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: transform 0.3s;
}
.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
}

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.mobile-bottom-bar .col {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.mobile-bottom-bar .col:last-child {
    border-right: none;
}
.mobile-bottom-bar a {
    color: var(--white);
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
}
.mobile-bottom-bar a i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}
.mobile-bottom-bar a.text-green { color: #25D366; }
.mobile-bottom-bar a.text-copper { color: var(--copper-primary); }

@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }
    .floating-whatsapp {
        bottom: 80px; /* Above mobile bar */
    }
    .timeline-process::before {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .fast-contact-bar {
        margin-top: 20px;
    }
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    body {
        padding-bottom: 75px; /* Prevent mobile bottom bar from overlapping content */
    }
    
    /* Optimize pricing tables for mobile by hiding description and reducing padding */
    .pricing-table th:nth-child(2),
    .pricing-table td:nth-child(2) {
        display: none !important;
    }
    
    .pricing-table td, .pricing-table th {
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem !important;
    }
    
    .pricing-table .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    /* Hero section padding fix for mobile */
    .hero-section {
        padding: 80px 0 60px;
    }
    
    /* Make sure headings are not too huge on mobile */
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.75rem !important;
    }
}
@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 90px !important; /* Move above the mobile bottom bar */
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
}
