/* Cleanline Roofing - Main Stylesheet */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #2c2c2c;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(60, 176, 67, 0.1);
    border-bottom: 2px solid #AEF359;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3CB043 !important;
    text-decoration: none !important;
    transition: opacity 0.3s;
    display: inline-block;
    border: none;
    outline: none;
}

.logo:hover {
    opacity: 0.8;
    text-decoration: none !important;
    color: #3CB043 !important;
}

.logo:visited, .logo:active, .logo:focus {
    text-decoration: none !important;
    color: #3CB043 !important;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 6px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-menu a:hover {
    color: #3CB043;
    background-color: rgba(174, 243, 89, 0.15);
}

.nav-menu a.active {
    color: #3CB043;
    background-color: rgba(174, 243, 89, 0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3CB043 0%, #2a8932 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.breadcrumb {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #3CB043;
    text-decoration: none;
}

.breadcrumb span {
    color: #666;
    margin: 0 10px;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c2c2c;
    position: relative;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3CB043, #AEF359);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3CB043, #AEF359);
    transition: left 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(60, 176, 67, 0.15);
    border-color: #AEF359;
}

.service-card:hover::before {
    left: 0;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3CB043, #AEF359);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 4px 15px rgba(60, 176, 67, 0.3);
}

.service-card h3 {
    color: #2c2c2c;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Services Detailed (for services page) */
.services-content {
    padding: 80px 0;
    background: white;
}

.services-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 5px solid #3CB043;
}

.service-detail:nth-child(even) {
    grid-template-columns: 2fr 1fr;
    border-left: 5px solid #AEF359;
}

.service-detail:nth-child(even) .service-text {
    order: 1;
}

.service-detail:nth-child(even) .service-icon-large {
    order: 2;
}

.service-icon-large {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #3CB043, #AEF359);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    box-shadow: 0 15px 35px rgba(60, 176, 67, 0.3);
    margin: 0 auto;
}

.service-text h3 {
    color: #2c2c2c;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-text p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    color: #555;
    margin: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3CB043;
    font-weight: bold;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.experience-text h2 {
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 20px;
}

.experience-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

.highlight {
    background: linear-gradient(135deg, #3CB043 0%, #2a8932 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(60, 176, 67, 0.2);
}

.highlight h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight h4::before {
    content: '✓';
    background: #AEF359;
    color: #2c2c2c;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.service-areas {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 5px solid #3CB043;
}

.service-areas h3 {
    color: #2c2c2c;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.areas-list {
    list-style: none;
}

.areas-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.areas-list li:last-child {
    border-bottom: none;
}

.areas-list li::before {
    content: '📍';
    background: linear-gradient(135deg, #AEF359, #3CB043);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #2c2c2c;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(60, 176, 67, 0.03) 50%, transparent 70%);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #3CB043;
}

.contact p {
    color: #555;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 25px rgba(60, 176, 67, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.contact-item:hover {
    border-color: #AEF359;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(60, 176, 67, 0.15);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #3CB043;
    font-weight: 600;
}

.contact-item a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #3CB043;
}

.contact-item p {
    color: #555;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

.contact-item span {
    color: #555;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Contact Grid (for contact page) */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-methods {
    display: grid;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(60, 176, 67, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3CB043, #AEF359);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.contact-method-info h4 {
    color: #2c2c2c;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-method-info a {
    color: #3CB043;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-method-info a:hover {
    color: #AEF359;
}

.contact-method-info p {
    color: #555;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Dale's Info */
.dale-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-top: 5px solid #AEF359;
}

.dale-profile {
    text-align: center;
    margin-bottom: 30px;
}

.dale-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #3CB043, #AEF359);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(60, 176, 67, 0.2);
}

.dale-info h3 {
    color: #2c2c2c;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.dale-info .title {
    color: #3CB043;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.experience-highlights {
    list-style: none;
}

.experience-highlights li {
    color: #555;
    margin: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.experience-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3CB043;
    font-weight: bold;
    background: rgba(174, 243, 89, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Service Areas Section */
.service-areas-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.area-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-top: 4px solid #3CB043;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(60, 176, 67, 0.15);
}

.area-card h4 {
    color: #2c2c2c;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.area-card p {
    color: #555;
    font-size: 1rem;
}

/* Portfolio Styles */
.portfolio-content {
    padding: 80px 0;
    background: white;
}

.portfolio-section {
    margin-bottom: 80px;
}

.portfolio-section:last-child {
    margin-bottom: 0;
}

.portfolio-title {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 5px solid #3CB043;
}

.portfolio-description {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding-left: 25px;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.photo-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.photo-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(60, 176, 67, 0.2);
}

.photo-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-bottom: 4px solid #3CB043;
    display: block;
}

.photo-caption {
    padding: 20px;
    color: #555;
    font-size: 1rem;
    text-align: center;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Call to Action */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #3CB043 0%, #2a8932 100%);
    color: white;
    text-align: center;
}

.cta-button {
    background: linear-gradient(135deg, #AEF359 0%, #8fd645 100%);
    color: #2c2c2c;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(174, 243, 89, 0.3);
    margin: 10px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(174, 243, 89, 0.4);
    background: linear-gradient(135deg, #8fd645 0%, #AEF359 100%);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    text-align: center;
    padding: 30px 0 15px;
}

.footer-main {
    margin-bottom: 15px;
}

.footer-main p {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-hosting {
    font-size: 0.85rem;
    opacity: 0.7;
    color: #999;
}

.footer-hosting a {
    color: #AEF359;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-hosting a:hover {
    opacity: 0.8;
}

/* Animations */
.service-card, .contact-item, .photo-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:nth-child(2), .contact-item:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3), .contact-item:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4), .contact-item:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 8px;
        padding: 8px 0;
    }

    .logo {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .nav-menu {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav-menu a {
        padding: 4px 8px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .hero {
        padding: 80px 0 50px;
        margin-top: 100px;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        padding: 0 15px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .experience-text h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .experience-text p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .experience-content, .contact-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .section-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px 15px;
    }

    .service-detail:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .service-detail:nth-child(even) .service-text {
        order: 2;
    }

    .service-detail:nth-child(even) .service-icon-large {
        order: 1;
    }

    .service-icon-large {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 5px;
    }

    .container {
        padding: 0 15px;
    }

    /* All sections get proper mobile padding */
    .services, .experience, .contact, .portfolio-content, .services-content, .service-areas-section {
        padding: 60px 0;
    }

    .experience .container, .services .container, .contact .container, 
    .portfolio-content .container, .services-content .container {
        padding: 0 15px;
    }

    /* Fix menu overflow on very small screens */
    @media (max-width: 480px) {
        .nav-menu {
            gap: 6px;
        }
        
        .nav-menu a {
            padding: 3px 6px;
            font-size: 0.75rem;
        }
        
        .logo {
            font-size: 1.2rem;
        }
        
        .hero {
            margin-top: 90px;
        }

        .hero h1 {
            font-size: 1.6rem;
        }

        .hero p {
            font-size: 0.95rem;
        }

        .experience-text h2 {
            font-size: 1.6rem;
        }

        .section-title {
            font-size: 1.6rem;
        }

        .container {
            padding: 0 12px;
        }
    }

    /* Extra small screens */
    @media (max-width: 360px) {
        .nav-menu {
            gap: 4px;
        }
        
        .nav-menu a {
            padding: 2px 4px;
            font-size: 0.7rem;
        }
        
        .container {
            padding: 0 10px;
        }

        .hero h1 {
            font-size: 1.4rem;
        }

        .experience-text h2, .section-title {
            font-size: 1.4rem;
        }
    }
}