/* 
* Aaran Plumbing Dublin - Main Stylesheet
* Author: [Your Name]
* Version: 1.0
*/

/* ========== Base Styles ========== */
:root {
    /* Brand Colors */
    --primary-color: #144E8F;        /* Blue */
    --secondary-color: #E59419;      /* Orange/Gold */
    --light-color: #F5F5F5;          /* Light Gray */
    --dark-color: #333333;           /* Dark Gray */
    --text-color: #444444;           /* Text Color */
    --white-color: #FFFFFF;          /* White */
    --black-color: #000000;          /* Black */
    --success-color: #28a745;        /* Green */
    
    /* Typography */
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 15px;
}

/* Protection Styles */
body, h1, h2, h3, h4, h5, h6, p, span, div, section, article, aside, ul, ol, li, a, img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* Watermark */
body::after {
    content: "© Aaran Plumbing Dublin";
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    color: rgba(0,0,0,0.2);
    pointer-events: none;
    z-index: 9999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: var(--heading-font);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* ========== Header & Navigation ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: all 0.3s ease;
}

.logo {
    z-index: 101;
}

.logo img {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--white-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.main-nav ul li a:hover:after,
.main-nav ul li a.active:after {
    width: 100%;
}

.main-nav ul li a.btn-contact {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.main-nav ul li a.btn-contact:hover {
    background-color: var(--secondary-color);
}

.main-nav ul li a.btn-contact:after {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-nav-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white-color);
    margin: 6px 0;
    transition: all 0.3s ease;
}

/* Header Scroll State */
#header.scrolled {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#header.scrolled .header-content {
    height: 70px;
}

#header.scrolled .logo img {
    height: 50px;
}

/* ========== Hero Section ========== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/7cb51a_bff4e18ab75e45ee88c49bf60fcec323~mv2.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    color: var(--white-color);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========== Services Section ========== */
.services {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* ========== Plumbing & Heating Services Sections ========== */
.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-content.reverse {
    direction: rtl;
}

.services-content.reverse > * {
    direction: ltr;
}

.services-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.services-list {
    margin-bottom: 30px;
}

.services-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.services-list li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.services-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.plumbing-services {
    background-color: var(--white-color);
}

.heating-services {
    background-color: var(--light-color);
}

/* ========== Gallery Section ========== */
.gallery {
    background-color: var(--white-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ========== Service Areas Section ========== */
.service-areas {
    background-color: var(--light-color);
}

.area-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.area-map {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.area-map iframe {
    display: block;
}

.area-list h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.area-column ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.area-column ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* ========== Reviews Section ========== */
.reviews {
    background-color: var(--white-color);
}

.reviews-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.reviews-summary {
    text-align: center;
}

.reviews-rating {
    margin-bottom: 30px;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.rating-count {
    font-size: 1rem;
    color: var(--text-color);
}

.google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-badge img {
    width: 30px;
    height: auto;
    margin-right: 10px;
}

.testimonials-slider {
    position: relative;
}

.testimonial {
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial-content {
    position: relative;
}

.testimonial-stars {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
}

/* ========== Why Choose Us Section ========== */
.why-us {
    background-color: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* ========== CTA Section ========== */
.cta {
    background: linear-gradient(rgba(20, 78, 143, 0.9), rgba(20, 78, 143, 0.9)), url('../images/7cb51a_c3818079169548b283d1500e1c7898e0~mv2.webp') no-repeat center center/cover;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========== Contact Section ========== */
.contact {
    background-color: var(--white-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-text p {
    margin-bottom: 5px;
}

.contact-form {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========== Footer Section ========== */
#footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-color);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.contact-list li {
    display: flex;
    align-items: center;
}

.contact-list li i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--white-color);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.copyright p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

/* ========== Media Queries ========== */
@media screen and (max-width: 991px) {
    .container {
        padding: 0 30px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .services-content, 
    .area-content, 
    .reviews-content, 
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-logo img {
        margin: 0 auto 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary-color);
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0 30px;
    }
    
    .main-nav ul li {
        margin: 15px 0;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .services-grid, 
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta, 
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn, 
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
} 