/*
Theme Name: Xtreme Tint & Detail Theme
Theme URI: https://example.com/xtreme-tint-theme
Author: Antigravity AI
Author URI: https://example.com/
Description: A premium custom WordPress theme built for window tinting, detailing, and paint protection services.
Version: 1.0.0
Text Domain: xtreme-tint-theme
*/

/* --- Design Tokens & Variables --- */
:root {
    --bg-dark: #000000;
    --bg-section: #0a0a0a;
    --bg-card: #141414;
    --bg-input: #1a1a1a;
    --primary: #A30000;
    --primary-hover: #D60000;
    --text-white: #ffffff;
    --text-muted: #8e8e93;
    --border-color: #262629;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 4px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-white);
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.container-fluid {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

/* --- Utility Classes --- */
.section-padding {
    padding: 100px 0;
}

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

.btn-accent {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline-call {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-call:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.top-bar {
    background-color: #050505;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
    padding: 8px 0;
    color: var(--text-muted);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i {
    color: var(--primary);
    margin-right: 6px;
}

.top-bar-right a {
    color: var(--text-muted);
    margin-left: 15px;
    font-size: 0.9rem;
}

.top-bar-right a:hover {
    color: var(--primary);
}

.main-header {
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-header .container,
.main-header .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.logo img {
    height: 48px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 8px 0;
    position: relative;
}

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

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--text-white);
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-hexagons {
    position: absolute;
    right: 0;
    top: 0;
    width: 290px;
    height: 100%;
    opacity: 0.25;
    background-image: url('assets/images/hexagons-side.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

.hero-subtitle {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    display: inline-block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-title::before {
    content: attr(data-hero-bg-text);
    position: absolute;
    top: -55px;
    left: 0;
    font-size: 6rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
    z-index: -1;
    text-transform: uppercase;
    letter-spacing: 2px;
    pointer-events: none;
    font-family: var(--font-heading);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.6;
}

/* --- Services Grid Section --- */
.services-section {
    background-color: #ffffff;
    color: #111111;
    padding: 0;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

.service-card {
    background-color: #ffffff;
    border-right: 1px solid #ebebee;
    border-radius: 0;
    overflow: visible;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px 60px 40px;
    width: 100%;
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background-color: #fafafa;
}

.service-image-wrapper {
    flex: 1 1 50%;
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: visible;
}

.service-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

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

.service-card-content {
    flex: 1 1 50%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.service-card-title {
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    line-height: 1.2;
}

.service-card-title::before {
    content: attr(data-bg-text);
    position: absolute;
    top: -24px;
    left: 0;
    font-size: 3.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(163, 0, 0, 0.08);
    z-index: -1;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    font-family: var(--font-heading);
}

.service-learn-more {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    z-index: 2;
    transition: var(--transition);
}

.service-learn-more i {
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-learn-more {
    color: var(--primary);
}

.service-card:hover .service-learn-more i {
    transform: translateX(5px);
}

/* --- Quote & About Section --- */
.quote-about-section {
    background-color: #ffffff;
    color: #111111;
    position: relative;
}

.quote-about-section h2,
.quote-about-section h3,
.quote-about-section h4 {
    color: #000000;
}

.quote-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-column .section-title {
    margin-bottom: 30px;
}

.about-text {
    font-size: 1rem;
    color: #444444;
    margin-bottom: 30px;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    border-top: 1px solid #ebebee;
    padding-top: 30px;
}

.quick-contact-item h4 {
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.quick-contact-item p {
    font-size: 0.95rem;
    color: #111111;
    line-height: 1.4;
}

/* Quote Form Styling */
.quote-form-wrapper {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.quote-form-wrapper h3 {
    font-size: 1.75rem;
    margin-bottom: 25px;
}

.quote-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

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

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

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #fcfcfc;
    border: 1px solid #d6d6d6;
    color: #111111;
    padding: 12px;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(163, 0, 0, 0.15);
}

.services-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 10px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    color: #555555;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.checkbox-label:hover {
    color: var(--primary);
}

.quote-form .btn-accent {
    margin-top: 15px;
    justify-self: start;
    width: 100%;
}

.form-status {
    grid-column: span 2;
    padding: 12px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    background-color: rgba(0, 163, 0, 0.1);
    border: 1px solid #00a300;
    color: #00ff00;
    display: block;
}

.form-status.error {
    background-color: rgba(163, 0, 0, 0.1);
    border: 1px solid var(--primary);
    color: #ff3b30;
    display: block;
}

/* --- "The Details Matter" Section --- */
.details-section {
    padding: 0;
    background-color: var(--bg-section);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.details-red-column {
    background-color: #600000;
    background-image: linear-gradient(135deg, #700000 0%, #400000 100%);
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.details-red-column::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background-image: url('assets/images/hexagons-side.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

.details-red-column .section-title {
    margin-bottom: 20px;
}

.details-section-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 600px;
    z-index: 2;
}

.details-action-wrapper {
    margin-top: 40px;
    z-index: 2;
}

.btn-outline-getstarted {
    background-color: transparent;
    color: #ffffff;
    padding: 12px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid #ffffff;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-getstarted:hover {
    background-color: #ffffff;
    color: var(--primary);
    transform: translateY(-2px);
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.details-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.details-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.details-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.details-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.details-image-column {
    background-size: cover;
    background-position: center;
    min-height: 500px;
}

/* --- Reviews Section --- */
.reviews-section {
    background-color: #ffffff;
    color: #111111;
}

.reviews-section h2,
.reviews-section h3,
.reviews-section h4 {
    color: #000000;
}

.reviews-header {
    margin-bottom: 50px;
}

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

.review-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.review-rating-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #fafafa;
    border: 1px dashed #d6d6d6;
}

.rating-score {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    color: #000000;
}

.rating-stars {
    color: #ffb400;
    font-size: 1.1rem;
}

.rating-source {
    font-size: 0.8rem;
    color: #555555;
}

.rating-source img {
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    object-fit: cover;
}

.author-info h4 {
    font-size: 0.95rem;
    color: #000000;
}

.author-info span {
    font-size: 0.75rem;
    color: #777777;
}

.review-text {
    font-size: 0.85rem;
    color: #333333;
    line-height: 1.5;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* --- Footer --- */
.site-footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    padding-bottom: 30px;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 48px;
    margin-right: 10px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-contact-item-custom {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-contact-header {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.footer-contact-value {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-column h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact-item h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.footer-contact-item p {
    font-size: 0.85rem;
    color: var(--text-white);
}

.hours-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
}

.hours-list span.day {
    color: var(--text-white);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-links a {
    color: var(--text-muted);
    margin-left: 20px;
}

.footer-bottom-links a:hover {
    color: var(--text-white);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

/* --- Responsive Adaptability --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .service-card {
        border-right: 1px solid #ebebee;
        border-bottom: 1px solid #ebebee;
        padding: 40px 30px;
    }
    .service-card:nth-child(2n) {
        border-right: none;
    }
    .service-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quote-about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    .details-image-column {
        min-height: 400px;
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-header .container,
    .main-header .container-fluid {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        max-height: 400px;
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .header-ctas .btn-accent, 
    .header-ctas .btn-secondary {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
        position: relative;
    }
    
    .hero-title::before {
        font-size: 4rem;
        top: -35px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .service-card {
        border-right: none;
        border-bottom: 1px solid #ebebee;
        padding: 30px 20px;
        flex-direction: row;
    }
    .service-card:last-child {
        border-bottom: none;
    }
    .hero-hexagons {
        display: none;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-form-wrapper {
        padding: 25px;
    }
    
    .quote-form {
        grid-template-columns: 1fr;
    }
    
    .form-full-width {
        grid-column: span 1;
    }
    
    .details-red-column {
        padding: 60px 30px;
    }
}

/* --- WordPress core Gallery block styling --- */
.wp-block-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin: 40px 0 !important;
    padding: 0 !important;
    list-style-type: none !important;
}

.wp-block-gallery .wp-block-image {
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    background-color: var(--bg-card) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
}

.wp-block-gallery .wp-block-image:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 10px 25px rgba(163, 0, 0, 0.25) !important;
    transform: translateY(-4px) !important;
}

.wp-block-gallery .wp-block-image img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    transition: var(--transition) !important;
    display: block !important;
}

.wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.05) !important;
}

.wp-block-gallery .wp-block-image figcaption {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%) !important;
    color: #ffffff !important;
    padding: 15px !important;
    font-size: 0.85rem !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

/* --- Lightbox Modal Styles --- */
.xtreme-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.xtreme-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.9);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.xtreme-lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2.2rem;
    color: #ffffff;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.lightbox-caption {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    text-align: center;
}

/* --- Photo Gallery Grid Styling --- */
.wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 0;
    list-style: none;
}

.wp-block-image {
    margin: 0;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    position: relative;
    background-color: #000;
}

.wp-block-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: block;
}

.wp-block-image:hover img {
    transform: scale(1.05);
    opacity: 0.95;
}

@media (max-width: 992px) {
    .wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .wp-block-image img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .wp-block-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .wp-block-image img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .service-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px;
    }
    .service-image-wrapper {
        width: 100% !important;
        max-height: 120px;
        justify-content: flex-start !important;
    }
}

