/* Titan Hauling & Junk Removal - Custom Styles */

/* CSS Custom Properties (Variables) */
:root {
    --titan-gold: #D4A017;
    --titan-dark: #2B2B2B;
    --titan-light: #F8F9FA;
    --titan-white: #FFFFFF;
    --titan-secondary: #6C757D;
    --titan-gold-hover: #B8941F;
    --titan-dark-lighter: #3A3A3A;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 76px; /* Account for fixed navbar */
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4 {
    font-weight: 700;
}

/* Navigation Styles */
.navbar {
    background: var(--titan-dark) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--titan-white) !important;
}

    .navbar-brand:hover {
        color: var(--titan-gold) !important;
    }

.navbar-nav .nav-link {
    color: var(--titan-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

    .navbar-nav .nav-link:hover {
        color: var(--titan-gold) !important;
        background-color: rgba(212, 160, 23, 0.1);
    }

    .navbar-nav .nav-link.active {
        color: var(--titan-gold) !important;
        font-weight: 600;
    }

/* Button Styles */
.btn-titan-primary {
    background-color: var(--titan-gold);
    border: 2px solid var(--titan-gold);
    color: var(--titan-dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

    .btn-titan-primary:hover,
    .btn-titan-primary:focus {
        background-color: var(--titan-gold-hover);
        border-color: var(--titan-gold-hover);
        color: var(--titan-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
    }

.btn-titan-outline {
    background-color: transparent;
    border: 2px solid var(--titan-gold);
    color: var(--titan-gold);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

    .btn-titan-outline:hover,
    .btn-titan-outline:focus {
        background-color: var(--titan-gold);
        color: var(--titan-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
    }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--titan-dark) 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A017' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--titan-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

    .hero-features li {
        color: var(--titan-white);
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        font-size: 1.1rem;
    }

        .hero-features li i {
            color: var(--titan-gold);
            margin-right: 1rem;
            width: 20px;
            font-size: 1rem;
        }

/* Contact Form Card */
.contact-form-card {
    background: var(--titan-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

    .contact-form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--titan-gold) 0%, var(--titan-gold-hover) 100%);
    }

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--titan-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--titan-white);
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--titan-gold);
        box-shadow: 0 0 0 0.2rem rgba(212, 160, 23, 0.25);
        background-color: var(--titan-white);
    }

    .form-control::placeholder {
        color: #999;
        font-style: italic;
    }

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--titan-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--titan-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--titan-secondary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

.service-card {
    background: var(--titan-white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--titan-gold) 0%, var(--titan-gold-hover) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--titan-white);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--titan-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--titan-secondary);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 5rem 0;
    background: var(--titan-dark);
    color: var(--titan-white);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--titan-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.5rem;
    color: var(--titan-dark);
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--titan-white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--titan-gold) 0%, var(--titan-gold-hover) 100%);
    text-align: center;
}

    .cta-section h2 {
        color: var(--titan-dark);
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-section p {
        color: var(--titan-dark);
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

.btn-cta {
    background: var(--titan-dark);
    color: var(--titan-white);
    border: 2px solid var(--titan-dark);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-cta:hover,
    .btn-cta:focus {
        background: var(--titan-white);
        color: var(--titan-dark);
        border-color: var(--titan-white);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

/* Footer */
.footer {
    background: var(--titan-dark);
    color: var(--titan-white);
    padding: 3rem 0 1.5rem;
}

    .footer h5 {
        color: var(--titan-gold);
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

    .footer a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: var(--titan-gold);
        }

    .footer .list-unstyled li {
        margin-bottom: 0.5rem;
    }

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--titan-gold);
    color: var(--titan-dark);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin-right: 1rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .social-links a:hover {
        background: var(--titan-gold-hover);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(212, 160, 23, 0.4);
    }

/* Page Headers (for internal pages) */
.page-header {
    background: linear-gradient(135deg, var(--titan-dark) 0%, #1a1a1a 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A017' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.1;
    }

    .page-header h1 {
        color: var(--titan-white);
        font-weight: 700;
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }

    .page-header .lead {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.3rem;
        position: relative;
        z-index: 2;
    }

/* Alert Styles */
.alert-success {
    background-color: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--titan-gold);
    color: var(--titan-dark);
    border-radius: 10px;
}

/* Validation Styles */
.text-danger {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.is-invalid {
    border-color: #dc3545;
}

.is-valid {
    border-color: var(--titan-gold);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .feature-item {
        text-align: center;
        flex-direction: column;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-card {
        padding: 2rem;
        margin-top: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .btn-titan-primary,
    .btn-titan-outline,
    .btn-cta {
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-features li {
        font-size: 1rem;
    }

    .social-links {
        text-align: center;
        margin-top: 1rem;
    }
}
