/* Home Page Specific Styles */

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.water-drop {
    font-size: 2rem;
    animation: waterDrop 3s ease-in-out infinite;
}

.nav-brand h1 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.2;
}

.tagline {
    font-size: 0.9rem;
    color: white !important;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.phone-nav a {
    background: var(--accent-color);
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    font-weight: bold;
}

.phone-nav a:hover {
    background: var(--water-light) !important;
}

@keyframes waterDrop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(74, 124, 148, 0.9), rgba(44, 95, 124, 0.9)),
                url('../images/hero-waterproofing.jpg') center/cover;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--bg-white);
    position: relative;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
    animation: fadeInUp 1s ease 0.2s backwards;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-services {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.service-badge {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-cta .btn-secondary {
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    font-weight: bold;
}

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

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

/* Service category styles moved to styles.css for consistency */

.service-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.service-list {
    list-style: none;
    padding: 0;
    flex: 1;
}

.service-list li {
    padding: 0.4rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Value Proposition Section */
.value-proposition {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
}

.value-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.value-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.value-content .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
}

.value-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.cert-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.cert-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.cert-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    background: var(--bg-white);
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2.2rem;
}

/* Features grid replaced by why-choose-grid in styles.css */

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--bg-white);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    font-weight: bold;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.cta-buttons .btn-primary:hover {
    background: var(--bg-light);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

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

/* Responsive adjustments for home page */
@media (max-width: 768px) {
    .hero {
        min-height: 550px;
        padding: 2rem 1rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-services {
        gap: 0.5rem;
    }
    
    .service-badge {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    /* Grid responsive styles handled in styles.css */
    
    .nav-brand h1 {
        font-size: 1.1rem;
    }
    
    .tagline {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    /* Hero CTA styles moved to tablet breakpoint */
    
    .service-category {
        padding: 1.5rem;
    }
    
    .certifications {
        grid-template-columns: 1fr;
    }
}

/* Recent Projects Section */
.recent-projects {
    padding: 4rem 2rem;
    max-width: 1400px;  /* Increase from default */
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.project-card {
    width: 100%;
    height: 300px;  /* Fixed height for all cards */
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* This is the key - crops images to fill the container */
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);  /* Subtle zoom on hover */
}

/* Responsive for Recent Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-image-placeholder {
    width: 100%;
    height: 350px;  /* Increase from whatever it was - make them tall */
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    padding: 2rem;
}

.project-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 107, 53, 0.9);  /* Orange badge */
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image-placeholder {
        height: 250px;  /* Slightly smaller on mobile */
    }
}