/* Jensen Exteriors & Restoration - Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #F8F9FA;
}

/* CSS Variables for Brand Colors */
:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --dark-text: #2C3E50;
    --light-text: #FFFFFF;
    --background-light: #F8F9FA;
    --accent-gray: #6C757D;
    --header-dark: #1a1a1a;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    text-transform: uppercase;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header Styles */
.header {
    background-color: var(--header-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    background-color: var(--primary-orange);
    padding: 0.5rem 0;
    text-align: center;
}

.header-top a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.header-top a:hover {
    background-color: rgba(255,255,255,0.1);
}

.header-main {
    padding: 1rem 0;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.phone-number {
    color: var(--light-text);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
}

.phone-number:hover {
    color: var(--primary-orange);
}

/* Navigation */
.nav {
    background-color: var(--header-dark);
    border-top: 1px solid #333;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav li {
    margin: 0;
}

.nav a {
    color: var(--light-text);
    text-decoration: none;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 500;
}

.nav a:hover {
    background-color: var(--primary-orange);
    color: var(--light-text);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg-new.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    filter: grayscale(40%);
}

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

.hero-tagline {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-features {
    list-style: none;
    margin: 2rem 0;
}

.hero-features li {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.hero-features li:before {
    content: "✓";
    color: var(--primary-orange);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background-color: var(--primary-orange);
    color: var(--light-text);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: var(--light-text);
}

.services h2 {
    text-align: center;
    color: var(--primary-orange);
    margin-bottom: 3rem;
}

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

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

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

/* Trust Indicators */
.trust-indicators {
    background-color: var(--header-dark);
    padding: 2rem 0;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    background-color: var(--light-text);
    padding: 1rem;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: var(--header-dark);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: var(--accent-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-dark);
    }
    
    .nav ul.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-badge {
        width: 80px;
        height: 80px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-orange {
    color: var(--primary-orange);
}

.bg-orange {
    background-color: var(--primary-orange);
}

.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.py-2 { padding: 1rem 0; }
.px-2 { padding: 0 1rem; }



/* Dropdown Navigation Styles */
.nav .dropdown {
    position: relative;
}

.nav .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav .dropdown-arrow {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav .dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    display: block;
}

.nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav .dropdown-menu li {
    margin: 0;
}

.nav .dropdown-menu a {
    color: var(--dark-text);
    padding: 0.75rem 1.5rem;
    text-transform: none;
    font-weight: 400;
    border-bottom: none;
    transition: background-color 0.3s ease;
}

.nav .dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-orange);
}

.nav .dropdown-header {
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--accent-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.25rem;
}

.nav .dropdown-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 0.5rem 0;
}

/* Mobile Dropdown Styles */
@media (max-width: 768px) {
    .nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #333;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .nav .dropdown-menu a {
        color: var(--light-text);
        padding-left: 2.5rem;
    }
    
    .nav .dropdown-menu a:hover {
        background-color: var(--primary-orange);
        color: var(--light-text);
    }
    
    .nav .dropdown-header {
        color: var(--primary-orange);
        padding-left: 2.5rem;
    }
    
    .nav .dropdown-arrow {
        margin-left: auto;
    }
}

