/* Prestige Painting & Construction - Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 140px; /* Account for fixed header with top bar */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
}

/* Header Top Bar */
.header-top {
    background: white;
    color: #333;
    padding: 10px 0;
    position: fixed;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 1051;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.header-contact-info {
    display: flex;
    gap: 20px;
}

.header-contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-contact-item a {
    color: #333;
    text-decoration: none;
}

.header-contact-item a:hover {
    color: #5A5A5F;
}

.license-info {
    color: #333;
}

/* Navigation */
.navbar {
    background: #5A5A5F !important;
    color: white;
    padding: 1rem 0;
    position: fixed !important;
    width: 100vw;
    left: 0;
    top: 40px; /* Position below top bar */
    z-index: 1050 !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h1 {
    font-size: 1.5rem;
}

.logo {
    max-height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-nav .nav-link {
    color: white !important;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #ccc !important;
}

.nav-menu a:hover {
    color: #ccc;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/house-painting.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.cta-button {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* Services Section */
.services {
    background: #F8F9FA;
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.contact p {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-top: 60px;
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: left;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s;
    margin-bottom: 1rem;
    text-align: left;
}

.info-item:hover {
    background-color: #f8f9fa;
}

.info-item h4 {
    color: #007bff;
    margin: 0;
    margin-right: 1rem;
    font-size: 1.1rem;
    min-width: 80px;
    font-weight: 600;
}

.info-item p {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
    text-align: left;
}

.info-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #007bff;
}

/* Footer */
.footer {
    background: #5A5A5F !important;
    color: white !important;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    color: #ccc;
}

.footer h4, .footer h5 {
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 5px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    .header-top {
        padding: 8px 0;
        text-align: center;
        font-size: 16px;
    }
    
    .header-contact-info {
        justify-content: center;
    }
    
    .header-contact-item:nth-child(2) {
        display: none;
    }
    
    .license-info {
        display: none;
    }
    
    .navbar {
        top: 45px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .info-item:last-child {
        border-bottom: none;
    }
    
    .info-item h4 {
        margin-bottom: 0.25rem;
        min-width: auto;
    }
    
    .info-item p {
        margin: 0;
        word-wrap: break-word;
    }
    
    /* Thank You Page Mobile */
    .thank-you .btn {
        margin-bottom: 15px;
        width: 100%;
        display: block;
    }
    
    .thank-you .btn.ms-2 {
        margin-left: 0 !important;
    }
}