/* Home Page Specific Styles */

/* Hero Section */
.hero {
    background: linear-gradient(rgba(29, 42, 62, 0.82), rgba(29, 42, 62, 0.82)),
                url('/static/images/heros.jpeg') center/cover no-repeat;
    min-height: 88vh;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
    z-index: 1;
}

.hero .container {
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 2rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-location {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 133, 45, 0.3);
    border: 2px solid var(--primary-orange);
}

.hero-btn:hover {
    background: transparent;
    color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(247, 133, 45, 0.4);
}

/* Floating Elements */
.hero-floating {
    display: none;
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-floating.drill-1 {
    top: 20%;
    left: 10%;
    font-size: 3rem;
    animation-delay: 0s;
}

.hero-floating.drill-2 {
    top: 60%;
    right: 15%;
    font-size: 2rem;
    animation-delay: 2s;
}

.hero-floating.water-1 {
    top: 30%;
    right: 20%;
    font-size: 2.5rem;
    animation-delay: 4s;
}

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

/* Quick Links Section */
.quick-links {
    background: var(--light-gray);
    padding: 3rem 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.quick-links-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quick-link-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-link-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.quick-link-icon {
    width: 52px;
    height: 52px;
    background: #E8F6FE;
    color: var(--primary-blue);
    font-size: 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.quick-link-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-link-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Services Preview Section */
.services-preview {
    padding: 5rem 0;
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-orange);
}

.service-image {
    width: 56px;
    height: 56px;
    background: #E8F6FE;
    color: var(--primary-blue);
    font-size: 1.4rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 2rem 0;
}

.service-content {
    padding: 2rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--primary-orange);
}

/* Contact CTA Section */
.contact-cta {
    background: var(--brand-navy);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: none;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.contact-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-icon {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--primary-orange);
    font-size: 1.1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
}

.contact-text {
    font-weight: 500;
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-location {
        font-size: 1.4rem;
    }
    
    .quick-links-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cta-title {
        font-size: 2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-location {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
}



/* Stats Strip */
.stats-strip {
    background: var(--brand-navy);
    padding: 3.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-value {
    color: var(--primary-orange);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-name {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    margin-top: 0.4rem;
}

@media (max-width: 768px) {
    .stat-value {
        font-size: 2rem;
    }
}
