/* Additional Styles for Kitchen & Bath and Homepage */
:root {
    --primary: #ff6b00;
    --primary-dark: #e65a00;
    --secondary: #0d1b2a;
    --accent: #1a73e8;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,107,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--secondary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Alert Banner */
.alert-banner {
    background: var(--danger);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.alert-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Header */
header {
    background-color: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section with Form */
.hero {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-features {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

.hero-form-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border: 3px solid var(--primary);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-wrapper {
    width: 100%;
    height: 568px;
    position: relative;
    overflow: hidden;
}

/* Custom Form Styles */
.custom-form {
    padding: 30px;
    color: var(--dark);
    height: 100%;
    overflow-y: auto;
}

.custom-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--secondary);
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Mobile Form Fix */
.mobile-form-toggle {
    display: none;
    background: var(--primary);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-form-toggle:hover {
    background: var(--primary-dark);
}

/* Form Scroll Indicator */
.form-scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: none;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

/* Services */
.services {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Insurance Process */
.insurance {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary), #1a2a3a);
    color: white;
}

/* Updated styles for insurance header */
.insurance .section-header h2 {
    color: white !important;
    font-weight: 700 !important;
}

.insurance .section-header p {
    color: white !important;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    max-width: 250px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: var(--light-gray);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: var(--warning);
    font-size: 1.2rem;
    margin-bottom: 20px;
    margin-left: 40px;
}

.testimonial-text {
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--light-gray);
    padding-top: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-about p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    min-width: 25px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content, .hero-form-container {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .form-wrapper {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .form-wrapper {
        height: 450px;
    }
    
    /* Mobile form solution */
    .hero-form-container {
        height: 60vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .form-wrapper {
        height: auto;
        min-height: 100%;
    }
    
    .mobile-form-toggle {
        display: block;
    }
    
    .form-scroll-indicator {
        display: block;
    }
}

@media (max-width: 576px) {
    .hero-features {
        flex-direction: column;
    }
    
    .feature-item {
        font-size: 1rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .custom-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .hero-form-container {
        height: 65vh;
    }
}

/* Add these styles to your existing styles.css file */

/* HubSpot Form Styling */
.hs-form-frame {
    width: 100%;
    height: 100%;
    border: none;
}

/* Form Scrollbar Styling */
.form-wrapper::-webkit-scrollbar {
    width: 8px;
}

.form-wrapper::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 10px;
}

.form-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.form-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Form Scroll Indicator */
.form-scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: none;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); 
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .form-scroll-indicator {
        display: none !important;
    }
    
    .hero-form-container {
        height: auto;
        min-height: 500px;
    }
    
    .form-wrapper {
        height: auto !important;
        min-height: 500px;
        overflow-y: visible !important;
    }
}
/* Hero Variations */
.roofing-hero {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center center/cover;
}

.kitchen-hero {
    background: linear-gradient(rgba(13, 27, 42, 0.8), rgba(13, 27, 42, 0.9)), 
                url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1170&q=80') no-repeat center center/cover;
}

/* Accent Color for Kitchen & Bath */
.btn-accent {
    background: #2a9d8f;
    color: white;
}

.btn-accent:hover {
    background: #22867a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

/* Services Overview Section */
.services-overview {
    padding: 100px 0;
    background: var(--light);
}

.service-overview-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
}

.service-overview-img {
    flex: 1;
    min-height: 400px;
}

.service-overview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overview-content {
    flex: 1;
    padding: 40px;
}

.service-overview-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.service-overview-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--gray);
}

.service-overview-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
}

.service-overview-content li {
    margin-bottom: 10px;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .service-overview-card {
        flex-direction: column;
    }
    
    .service-overview-img {
        min-height: 300px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .service-overview-content {
        padding: 25px;
    }
    
    .service-overview-content h3 {
        font-size: 1.6rem;
    }
}