/* Global CSS Variables */
:root {
    --color-primary: #04a2d1;
    /* Cyan Blue */
    --color-primary-dark: #0388b0;
    --color-dark: #272725;
    /* Dark Grey/Black */
    --color-light: #f4f4f4;
    /* Light Grey Background */
    --color-white: #ffffff;
    --color-grey: #828282;
    --color-text: #333333;

    --font-main: 'Open Sans', sans-serif;

    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 4px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    padding-top: var(--header-height);
    /* Account for fixed header */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utilities */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-white {
    color: var(--color-white);
}

.text-primary {
    color: var(--color-primary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--color-primary);
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-dark);
    text-transform: uppercase;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

.header-phone {
    display: flex;
    align-items: center;
}

/* Mobile Menu */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--color-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    /* Slightly reduced from 100vh */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Section Common */
.section-padding {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-weight: 600;
}

/* Services Grid (Home & Services Page) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-dark);
}

/* Footer */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-column h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    color: var(--color-white);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .main-nav {
        display: none;
        /* Hide default nav */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-white);
        box-shadow: var(--shadow-md);
        padding: 20px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hamburger {
        display: block;
    }

    .header-phone {
        display: none;
        /* Hide top phone on mobile, maybe restore in menu */
    }

    .hero-title {
        font-size: 2.5rem;
    }
}