/*
Theme Name: Hydro-Fol Industrial
Theme URI: https://hydrofol.ro
Author: Hydro-Fol Team
Description: Custom Industrial Portfolio Theme
Version: 1.0
License: GNU General Public License v2 or later
*/

/* --- CSS STYLES --- */
:root {
    --primary: #004080; /* Hydro Blue */
    --secondary: #cc0000; /* Alert Red */
    --light: #f4f7f6;
    --dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- STRICT HEADER FIX --- */
.site-header {
    background-color: #ffffff !important; /* Forces White Background */
    padding: 5px 0 !important; /* Forces the strip to be very thin */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: auto !important;
    min-height: 70px; /* Prevents it from being TOO small */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Force Logo Size */
.logo a img, .logo-img {
    max-height: 60px !important; /* Limits height strictly */
    max-width: 150px !important; /* Limits width strictly */
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- STRICT FOOTER FIX --- */
/* This adds the "Broad" space you asked for */
footer {
    background: #1a1a1a !important;
    color: white;
    padding-top: 100px !important; /* Huge space on top */
    padding-bottom: 80px !important; /* Huge space on bottom */
    margin-top: 50px !important; /* Space between Map and Footer */
    text-align: center;
}

.footer-card {
    max-width: 400px !important;
    width: 90% !important; /* Responsive for mobile */
    display: block !important;
    margin: -140px auto 40px auto !important; /* Moves image UP to overlap map area slightly or sit high */
    border: 4px solid white !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: white; /* Ensures no transparency issues */
}
/* HERO SECTION */
.hero {
    /* Using the specific image from your site as background */
    background: linear-gradient(rgba(0,40,85,0.85), rgba(0,40,85,0.85)), url('https://hydrofol.ro/wp-content/uploads/2026/02/20161116_130701-scaled.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px 140px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h3 {
    font-weight: 300;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

.hero .highlight {
    color: #4db8ff;
}

.btn-main {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(204,0,0,0.4);
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    background-color: #a30000;
    transform: translateY(-3px);
}

/* STATS */
.stats-section {
    background: white;
    padding: 50px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    margin-top: -80px;
    border-radius: 8px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-box i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-box h3 {
    font-size: 2rem;
    color: #1c86c6;
    margin-bottom: 5px;
    font-weight: 900;
}

/* PRICING & INFO SECTION */
.pricing-section {
    padding: 80px 0;
    background: #e9ecef;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h4 {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.price-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary);
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border-top: 4px solid var(--secondary);
    transform: scale(1.02);
}

.price-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.price-item {
    margin-bottom: 15px;
}

.price-tag {
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.2rem;
    display: block;
}

.note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* SERVICES / PORTFOLIO */
.portfolio {
    padding: 80px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    background: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* LOCATION & FOOTER */
.map-section {
    padding: 0;
}

iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.finance-box {
    background: #fff3cd;
    color: #856404;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
    border: 1px solid #ffeeba;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .contact-header {
        text-align: center;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

.tech-highlight {
    background: #ffffff;
    border-left: 6px solid #cc0000; /* Bright red vertical line */
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-top: 15px;
}

.tech-highlight i {
    font-size: 2rem; /* Large icon */
    color: #cc0000;
}

.tech-highlight span {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #333;
    font-weight: bold;
}