/*
Theme Name: StormWater Systems UK
Theme URI: https://stormwatersystems.co.uk
Author: StormWater Systems UK
Author URI: https://stormwatersystems.co.uk
Description: Custom WordPress theme for StormWater Systems UK - innovative stormwater management solutions
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stormwatersystems-uk
Tags: custom, responsive, business
*/

/* ========================================
   CSS Reset & Base Styles
   ======================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "area-normal", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
    font-style: normal;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: "area-normal-light", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a2332;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.2rem);
    color: #2b72ab;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========================================
   Layout & Container
   ======================================== */

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   Header - Hidden for holding page
   ======================================== */

.site-header {
    display: none; /* Hidden for holding page - logo moved to hero */
    background: linear-gradient(135deg, #2b72ab 0%, #6cbbd3 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.site-logo {
    max-width: 220px;
    height: auto;
}

.site-logo img {
    width: 100%;
    height: auto;
}

/* Navigation - Hidden initially but structured for future use */
.main-navigation {
    display: none; /* Hidden for holding page */
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.main-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile menu toggle - for future use */
.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, rgba(43, 114, 171, 0.45) 50%, rgba(108, 187, 211, 0.85) 100%),
                url('https://stormwatersystems.co.uk/wp-content/uploads/2026/02/stormwater-background-image-2.jpg') center/cover;
    color: #fff;
    padding: 4rem 0 0;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(43, 114, 171, 0.1) 0%, rgba(43, 114, 171, 0.2) 100%);
}

.hero-wave-mask {
    position: relative;
    width: 100%;
    display: block;
    margin-top: 4rem;
}

.hero-wave-mask img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
}

.hero-logo {
    max-width: 450px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 2;
}

.hero-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

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

.hero-title {
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background-color: #34c6db;
    color: #FFFFFF;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: transparent;
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: transparent;
    border: 3px solid #64a9be;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #2b72ab;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: #fff;
    border-color: #00639f;
}

.service-card:hover .service-icon {
    color: #fff;
    border-color: #00639f;
}

.service-icon img {
    max-width: 80%;
}

.service-card h3 {
    color: #2b72ab;
    margin-bottom: 1rem;
}

.service-card p {
    color: #555;
}

.experience-highlight {
    background: linear-gradient(135deg, #2b72ab 0%, #6cbbd3 100%);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.experience-highlight h3 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ========================================
   Installations Gallery
   ======================================== */

.installations-section {
    padding: 5rem 0;
    background-color: #fff;
}

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

.installation-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    background-color: #f1f5f9;
}

.installation-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.installation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(43, 114, 171, 0.9) 0%, transparent 100%);
    padding: 1.5rem;
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

.installation-item:hover .installation-overlay {
    transform: translateY(0);
}

/* ========================================
   Keywords Section
   ======================================== */

.keywords-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

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

.keyword-tag {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: #2b72ab;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keyword-tag:hover {
    background: #2b72ab;
    color: #fff;
    transform: translateY(-2px);
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #2b72ab 0%, #6cbbd3 100%);
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    color: #fff;
}

.contact-info {
    margin-top: 2rem;
}

.contact-email {
    display: inline-block;
    background: #fff;
    color: #2b72ab;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.contact-email:hover {
    transform: scale(1.05);
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background-color: #1a2332;
    color: #fff;
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    max-width: 180px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.8;
}

/* Footer nav - hidden initially but structured */
.footer-nav {
    display: none; /* Hidden for holding page */
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #94a3b8;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-logo {
        max-width: 180px;
    }
    
    .hero-logo {
        max-width: 250px;
        margin-bottom: 2rem;
    }
    
    .hero-wave-mask {
        margin-top: 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-section {
        padding: 3rem 0 0;
    }
    
    .services-section,
    .installations-section {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .installations-grid {
        grid-template-columns: 1fr;
    }
    
    .keywords-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
