/*
 * DYC Painting LLC & General Contractor
 * Main Stylesheet
 */

/* Global Variables */
:root {
    --primary-blue: #0088cc;
    --secondary-teal: #00cccc;
    --dark-blue: #1a1a2e;
    --light-gray: #f5f5f5;
    --medium-gray: #333;
}

/* Global Styles */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    /* Padding will be set dynamically by JavaScript */
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-custom {
    background-color: white;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 110px;
    transition: max-height 0.3s ease;
}

/* Scrolled navbar styles */
header.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

header.scrolled .navbar-custom {
    padding: 8px 0;
}

header.scrolled .navbar-brand img {
    max-height: 90px;
}

.btn-estimate {
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    padding: 10px 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.15rem;
}

.btn-estimate:hover {
    background-color: var(--secondary-teal);
    color: white;
    transform: translateY(-2px);
}

.nav-link {
    color: var(--medium-gray) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Footer Styles */
.footer-custom {
    background-color: var(--dark-blue);
    color: var(--light-gray);
    flex-shrink: 0;
}

.logo-container {
    display: inline-block;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    max-width: 200px;
}

.footer-logo {
    max-height: 80px;
    display: block;
    width: 100%;
}

.footer-heading {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-blue);
}

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

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-teal);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.2rem;
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    font-size: 0.9rem;
}

.footer-bottom-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-bottom-links li {
    display: inline-block;
}

.footer-bottom-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-teal);
}

/* Responsive Styles */
@media (max-width: 767.98px) {
    .footer-bottom-links {
        margin-top: 15px;
    }
}