/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.required {
    color: #ff6b02;
}

/* Header Styles */
.header {
    border-bottom: 1px solid #eaeaea;
    background: white;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.generac-logo {
    max-width: 150px;
    height: auto;
}

.brand-divider {
    border-left: 1px solid #ccc;
    padding-left: 1rem;
}

.company-logo {
    max-width: 200px;
    height: auto;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.menu-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    width: 100%;
    margin-top: 1rem;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 0.5rem;
}

.mobile-dropdown-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.mobile-dropdown {
    padding-left: 1rem;
}

.mobile-dropdown a {
    display: block;
    padding: 0.25rem 0;
    text-decoration: none;
    color: #333;
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    color: #333;
}

/* Desktop Menu */
.desktop-menu {
    display: block;
}

.desktop-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.desktop-nav-item {
    position: relative;
}

.desktop-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.desktop-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
    display: none;
}

.desktop-nav-item:hover .desktop-dropdown {
    display: block;
}

.desktop-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.desktop-dropdown a:hover {
    background: #f5f5f5;
    color: #ff6b02;
}

.desktop-nav-link {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    display: block;
}

/* Contact Section */
.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-button {
    background: #ff6b02;
    border: 4px solid #ff6b02;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: white;
    color: #ff6b02;
}

.cta-button a {
    color: inherit;
    text-decoration: none;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.phone-number {
    color: #ff6b02;
    text-decoration: none;
    font-size: 1.1rem;
}

.phone-number:hover {
    color: #e55a00;
}

.powerpro-logo-container {
    margin: 0.5rem 0;
}

.powerpro-logo {
    max-width: 200px;
    height: auto;
}

.main-site-link {
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.main-site-link:hover {
    color: #ff6b02;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('../images/homepage-banner.jpg') center/cover;
    color: white;
    padding: 4rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column-reverse;
    gap: 2rem;
    align-items: center;
}

.hero-form {
    width: 100%;
    max-width: 450px;
}

.form-container {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    color: #333;
}

.form-container h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Tabs */
.tabs {
    display: flex;
    list-style: none;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.tab.active {
    background: #ff6b02;
    color: white;
}

.tab a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Styles */
.step {
    display: none;
}

.step:first-child {
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #ff6b02;
}

.error-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.help-text {
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.nav-button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-button {
    background: white;
    border: 1px solid #ccc;
    color: #333;
}

.next-button,
.submit-button {
    background: #ff6b02;
    color: white;
    border: 1px solid #ff6b02;
}

.prev-button:hover {
    background: #f5f5f5;
}

.next-button:hover,
.submit-button:hover {
    background: #e55a00;
}

.submit-button {
    display: none;
}

.progress-indicators {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.step-indicator {
    flex: 1;
    text-align: center;
    position: relative;
}

/* Hero Text */
.hero-text {
    text-align: center;
    flex: 1;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-subhead {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.hero-description {
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 0 1.5rem;
}

.mobile-arrow {
    width: 100%;
    display: block;
}

.desktop-arrow {
    display: none;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.service-header h3 {
    font-size: 1.5rem;
    color: #333;
}

.service-card h6 {
    height: 4rem;
    margin-bottom: 1rem;
    color: #666;
    font-weight: normal;
}

.service-card img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.service-button {
    display: block;
    background: #ff6b02;
    color: white;
    text-align: center;
    padding: 0.75rem;
    border: 2px solid #ff6b02;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-button:hover {
    background: transparent;
    color: #ff6b02;
}

/* About Section */
.about-section {
    background: white;
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid #bfbfbf;
    border-bottom: 1px solid #bfbfbf;
}

.about-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Contact Info */
.contact-info {
    padding: 3rem 0;
    border-bottom: 1px solid #bfbfbf;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.contact-item {
    text-align: center;
    padding: 1.5rem 0;
}

.contact-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.contact-link {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ff6b02;
}

/* Video Section */
.video-section {
    padding: 3rem 0;
}

.video-container {
    margin-bottom: 3rem;
}

.video-player {
    position: relative;
    height: 300px;
    cursor: pointer;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    transition: background 0.3s ease;
}

.video-player:hover .video-placeholder {
    background: rgba(0,0,0,0.3);
}

.play-button {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.video-text {
    color: white;
    font-size: 1.2rem;
}

.video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-cta {
    text-align: center;
}

/* Installation Section */
.installation-section {
    padding: 3rem 0;
    border-top: 1px solid #bfbfbf;
    background: white;
}

.installation-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.installation-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.installation-text h2 {
    font-size: 1.5rem;
    font-weight: normal;
    margin: 1.5rem 0 1rem;
}

.installation-image {
    display: none;
}

/* Warranty Section */
.warranty-section {
    padding: 3rem 0;
    border-top: 1px solid #bfbfbf;
    background: white;
}

.warranty-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.warranty-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.warranty-section a {
    color: #ff6b02;
    text-decoration: none;
    font-weight: bold;
}

.warranty-section a:hover {
    color: #e55a00;
}

/* Footer */
.footer {
    background: white;
    border-top: 0.5px solid #ccc;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

.footer-address a,
.footer-phone a {
    color: #333;
    text-decoration: none;
}

.footer-address a:hover,
.footer-phone a:hover {
    color: #ff6b02;
}

.footer-cta {
    background: #ff6b02;
    border: 4px solid #ff6b02;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: white;
    color: #ff6b02;
}

.footer-cta a {
    color: inherit;
    text-decoration: none;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b02;
}

.social-links {
    margin-top: 1rem;
}

.social-links a img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.footer-map {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    color: #666;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        align-items: flex-end;
    }
    
    .hero-text {
        text-align: left;
        margin-left: 2rem;
    }
    
    .hero-headline {
        font-size: 4rem;
    }
    
    .mobile-arrow {
        display: none;
    }
    
    .desktop-arrow {
        display: block;
        width: 35px;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    
    .installation-content {
        grid-template-columns: 2fr 1fr;
        align-items: center;
    }
    
    .installation-image {
        display: block;
        text-align: center;
    }
    
    .installation-image img {
        max-width: 75%;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .video-player {
        height: 400px;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .mobile-menu {
        display: none;
    }
    
    .installation-image img {
        max-width: 100%;
    }
    
    .video-player {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subhead {
        font-size: 1.2rem;
    }
    
    .about-text h1,
    .installation-text h1,
    .warranty-section h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}