/* Raisanen Landscaping - CSS
 * Color Scheme based on brand identity:
 * - Primary Blue: #2ea3f2
 * - Secondary Green: #1E5631
 * - Accent Sky Blue: #3498db
 * - Earth Tone: #8B6914
 */

:root {
    --color-primary: #2ea3f2;
    --color-primary-dark: #1a8fd8;
    --color-primary-light: #5bb8f5;
    --color-secondary: #1E5631;
    --color-secondary-light: #2a6e40;
    --color-accent: #3498db;
    --color-earth: #8B6914;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #2D2D2D;
    --color-text-light: #666666;
    --color-bg-light: #f8f9fa;
    --color-bg-gray: #e8e8e8;

    --font-primary: 'Open Sans', sans-serif;
    --font-heading: 'Oswald', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 163, 242, 0.4);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-secondary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

.btn-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
}

.btn-submit:hover {
    background-color: var(--color-primary-dark);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

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

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 60px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: '';
    display: inline-block;
    position: static;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-left: none;
    border-top: none;
    background-color: transparent;
    transform: rotate(45deg);
    margin-left: 6px;
    margin-bottom: 3px;
    vertical-align: middle;
}

.has-dropdown > a:hover::after,
.has-dropdown > a.active::after {
    width: 6px;
    background-color: transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 101;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 25px;
    font-size: 13px;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    padding-left: 30px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-heading);
    transition: color 0.3s ease;
}

.header-phone:hover {
    color: var(--color-primary-dark);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cta {
    padding: 10px 20px;
    font-size: 12px;
}

.header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #1877f2;
    border-radius: 50%;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.header-social:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
}

.header-social svg {
    width: 18px;
    height: 18px;
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-secondary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    overflow: hidden;
    background: var(--color-secondary);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 86, 49, 0.9), rgba(30, 86, 49, 0.7));
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.hero-inner {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    color: var(--color-primary);
}

/* Hero Logo Watermark */
.hero-logo-watermark {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: auto;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.hero-logo-watermark img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Trusted Badge Section */
.trusted-badge-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
}

.trusted-badge-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trusted-badge-logo {
    width: 180px;
    height: auto;
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.trusted-badge-text {
    text-align: left;
}

.trusted-badge-text h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.trusted-badge-text h2 span {
    color: var(--color-secondary);
    background-color: var(--color-white);
    padding: 0 10px;
    border-radius: 4px;
}

.trusted-badge-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 400px;
}

/* CTA Section with Logo */
.cta-logo {
    width: 180px;
    height: auto;
    margin: 0 auto 30px;
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

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

/* Sidebar Logo */
.sidebar-logo {
    width: 100px;
    height: auto;
    margin: 0 auto 20px;
    background-color: var(--color-white);
    padding: 12px;
    border-radius: 8px;
}

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

/* Services Grid */
.services-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    height: 180px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.service-card .learn-more {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.service-card:hover .learn-more {
    gap: 10px;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

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

.about-content h2 {
    font-size: 2.2rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-secondary);
    text-transform: uppercase;
}

/* Service Areas Section */
.service-areas-section {
    padding: 80px 0;
    background-color: var(--color-secondary);
}

.service-areas-section .section-title {
    color: var(--color-white);
}

.service-areas-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.areas-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
}

.area-tag {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.area-tag:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

/* Gallery Preview Section */
.gallery-preview-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

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

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

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

.gallery-preview-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 60%, rgba(0, 0, 0, 0.6));
}

/* Page Hero (for interior pages) */
.page-hero {
    background-color: var(--color-secondary);
    padding: 140px 20px 80px;
    text-align: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 163, 242, 0.1), transparent);
}

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

.page-hero h1 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Page Hero with Background Image */
.page-hero-image {
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 20px 100px;
}

.page-hero-image::before {
    display: none;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 86, 49, 0.8), rgba(30, 86, 49, 0.6));
    z-index: 1;
}

.page-hero-image .page-hero-content {
    z-index: 2;
    max-width: 800px;
}

.page-hero-image h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.page-hero-image p {
    font-size: 1.3rem;
    max-width: 700px;
    line-height: 1.6;
}

/* Service Page Content */
.service-content-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.service-main h2 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.service-main p {
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.service-list li {
    position: relative;
    padding: 12px 0;
    padding-left: 35px;
    border-bottom: 1px solid var(--color-bg-gray);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-cta {
    background-color: var(--color-secondary);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    color: var(--color-white);
}

.sidebar-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.sidebar-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.sidebar-phone {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Service Gallery */
.service-gallery-section {
    padding: 80px 0;
    background-color: var(--color-bg-light);
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 30px;
}

.contact-info p {
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-detail-item svg {
    width: 24px;
    height: 24px;
    fill: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail-item a {
    color: var(--color-text);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

.contact-form-wrapper {
    background-color: var(--color-secondary);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(30, 86, 49, 0.3);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 25px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px 16px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-white);
    color: var(--color-text);
    transition: border-color 0.3s ease;
    width: 100%;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

/* Contact Success */
.contact-success {
    text-align: center;
    padding: 40px 20px;
}

.success-message {
    color: var(--color-white);
}

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

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

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Form Errors */
.form-errors {
    grid-column: span 2;
    margin-bottom: 10px;
    padding: 12px 16px;
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 6px;
}

.form-errors .error {
    color: #ff6b6b;
    margin: 0;
    font-size: 14px;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #dc3545;
}

.field-error {
    display: block;
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 4px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--color-secondary);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Gallery Page */
.gallery-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

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

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

/* Service Areas Page */
.service-areas-page-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.towns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.town-card {
    background-color: var(--color-bg-light);
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid var(--color-primary);
    transition: all 0.3s ease;
}

.town-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.town-card h3 {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.town-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Materials Sales Page */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.material-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--color-primary);
}

.material-card h4 {
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

.material-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background-color: #1877f2;
    color: var(--color-white);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #166fe5;
    transform: translateY(-2px);
}

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

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-areas li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-primary-light);
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(46, 163, 242, 0.5);
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-call-btn:hover {
    background-color: var(--color-primary-dark);
    transform: scale(1.1);
}

.mobile-call-btn svg {
    width: 28px;
    height: 28px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-logo-watermark {
        width: 300px;
        right: 2%;
        opacity: 0.1;
    }

    .trusted-badge-content {
        gap: 30px;
    }

    .trusted-badge-logo {
        width: 150px;
    }

    .trusted-badge-text h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid,
    .service-gallery-grid,
    .gallery-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .towns-grid,
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-logo-watermark {
        display: none;
    }

    .trusted-badge-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .trusted-badge-logo {
        width: 140px;
    }

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

    .trusted-badge-text h2 {
        font-size: 1.8rem;
    }

    .trusted-badge-text p {
        font-size: 1rem;
        margin: 0 auto;
    }

    .cta-logo {
        width: 140px;
    }

    .menu-toggle {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 20px;
        overflow-y: auto;
    }

    .header-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--color-bg-gray);
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }

    .has-dropdown > a::after {
        float: right;
        margin-top: 5px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        background-color: var(--color-bg-light);
        border-radius: 0;
        padding: 0;
        transition: max-height 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    .has-dropdown.open .dropdown-menu {
        visibility: visible;
        max-height: 500px;
        padding: 10px 0;
    }

    .dropdown-menu a {
        padding: 12px 20px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .header-phone {
        justify-content: center;
        padding: 15px;
        background-color: var(--color-primary);
        color: var(--color-white);
        border-radius: 6px;
        width: 100%;
    }

    .header-cta {
        width: 100%;
        text-align: center;
    }

    .header-social {
        width: 100%;
        height: auto;
        padding: 12px;
        border-radius: 6px;
        gap: 10px;
    }

    .header-social::after {
        content: 'Follow us on Facebook';
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-call-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .form-errors {
        grid-column: span 1;
    }

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

    .footer-contact-item {
        justify-content: center;
    }

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

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero-image {
        min-height: 450px;
        padding: 140px 20px 80px;
    }

    .page-hero-image h1 {
        font-size: 2.5rem;
    }

    .page-hero-image p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid,
    .service-gallery-grid,
    .gallery-preview-grid {
        grid-template-columns: 1fr;
    }

    .towns-grid,
    .materials-grid {
        grid-template-columns: 1fr;
    }

    .areas-list {
        gap: 10px;
    }

    .area-tag {
        padding: 10px 20px;
        font-size: 12px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 45px;
    }

    .hero-section {
        padding: 100px 15px 60px;
        min-height: auto;
    }

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

    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }

    .page-hero {
        padding: 120px 15px 60px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero-image {
        min-height: 400px;
        padding: 120px 15px 60px;
    }

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

    .page-hero-image p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .mobile-call-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .mobile-call-btn svg {
        width: 24px;
        height: 24px;
    }
}
