/* =============================================
   HYDROCLEAN - Professional Drain Cleaning Services
   Main Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    --primary-blue: #168AD6;
    --primary-blue-light: #1E99E2;
    --primary-gradient: linear-gradient(180deg, #168AD6 0%, #1E99E2 100%);
    --dark-bg: #1a1a1a;
    --dark-overlay: rgba(30, 30, 30, 0.85);
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-gray: #b0b0b0;
    --section-dark: #0d1117;
    --section-light: #f5f7fa;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--dark-bg);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--dark-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.logo-text span {
    color: var(--primary-blue);
}

/* Navigation */
nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

nav a:hover,
nav a.active {
    color: var(--text-white);
}

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-gradient);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(22, 138, 214, 0.4);
}

.header-phone svg {
    width: 20px;
    height: 20px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a1628 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.png') center/cover no-repeat;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA Box */
.hero-cta-box {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: var(--dark-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.hero-info svg {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

.hero-info-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

/* CTA Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 138, 214, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   SECTIONS
   ============================================= */
section {
    padding: 80px 0;
}

.section-dark {
    background: var(--section-dark);
}

.section-light {
    background: var(--section-light);
    color: var(--dark-bg);
}

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
}

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

.section-light .section-header p {
    color: #666;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(22, 138, 214, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--text-white);
}

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

.service-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
}

/* =============================================
   WHY US SECTION
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--text-white);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-gray);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-list {
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-light);
}

.about-list li svg {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 138, 214, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay svg {
    width: 50px;
    height: 50px;
    color: var(--text-white);
}

/* Gallery Categories */
.gallery-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-cat-btn {
    padding: 10px 25px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-cat-btn:hover,
.gallery-cat-btn.active {
    background: var(--primary-gradient);
    border-color: var(--primary-blue);
    color: var(--text-white);
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-white);
}

.contact-item-content h4 {
    margin-bottom: 5px;
    color: var(--text-white);
}

.contact-item-content p,
.contact-item-content a {
    color: var(--text-gray);
}

.contact-item-content a:hover {
    color: var(--primary-blue);
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(22, 138, 214, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* Map Container */
.map-container {
    margin-top: 60px;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: var(--primary-gradient);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--text-white);
    color: var(--primary-blue);
}

.cta-section .btn:hover {
    background: var(--dark-bg);
    color: var(--text-white);
}

.cta-phone {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 20px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-about p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-gradient);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

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

.footer-column ul li a {
    color: var(--text-gray);
}

.footer-column ul li a:hover {
    color: var(--primary-blue);
}


.footer-credit {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-credit a {
    color: var(--text-light);
}

.footer-credit a:hover {
    color: var(--primary-blue);
}

.footer-bottom .footer-credit {
    margin-bottom: 0;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--text-gray);
    gap: 20px;
}

/* =============================================
   PAGE HEADERS
   ============================================= */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0a1628 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.svg') repeat;
    opacity: 0.05;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    position: relative;
}

.page-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
    position: relative;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--primary-blue);
}

.breadcrumb span {
    color: var(--text-gray);
}

.breadcrumb .current {
    color: var(--text-white);
}

/* =============================================
   SERVICE DETAIL PAGE
   ============================================= */
.service-detail {
    padding: 80px 0;
}

.service-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--text-white);
}

.service-detail p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-detail ul {
    margin: 20px 0;
    padding-left: 0;
}

.service-detail ul li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-light);
}

.service-detail ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-phone {
        display: none;
    }

    .hero-cta-box {
        flex-direction: column;
        gap: 15px;
    }

    .hero-info-divider {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .logo,
    .footer-social {
        justify-content: center;
    }

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

    .contact-form {
        padding: 25px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }

}

@media (max-width: 480px) {
    .hero-buttons {
        gap: 20px;
    }

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

    .section-header h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 25px;
    }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-blue);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* Emergency Badge */
.emergency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 199, 89, 0.35);
    border: 1px solid rgba(52, 199, 89, 0.85);
    color: #d6ffe2;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.25);
}

.emergency-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #34c759;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* =============================================
   FLOATING PHONE BUTTON (Mobile)
   ============================================= */
.floating-phone {
    display: none !important;
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(22, 138, 214, 0.5);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-phone svg {
    width: 28px;
    height: 28px;
    color: white;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(22, 138, 214, 0.6);
}

.floating-phone:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .floating-phone {
        display: flex !important;
    }
}

