:root {
    --primary-color: #377e40;
    --secondary-color: #f4f4f4;
    --text-color: #333;
    --white: #fff;
    --font-family: 'Roboto', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: right;
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--white);
    font-weight: bold;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    z-index: 1001;
    padding: 0.5rem 0;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    opacity: 0.9;
    transition: opacity var(--transition-speed);
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    font-size: 0.8rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

/* Background image layer */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    z-index: -3;
}

/* Dark gradient overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: -2;
}

/* Accent color shape */
.hero-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: var(--primary-color);
    clip-path: polygon(0 0, 85% 0, 65% 100%, 0 100%);
    opacity: 0.92;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1300px;
    padding: 4rem 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 1.15;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero .btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero .btn-secondary {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Hero Image Card (floating on right) */
.hero-image-card {
    flex: 0 0 auto;
    width: 380px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    transform: rotate(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-card:hover {
    transform: rotate(0deg) translateY(-8px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.5);
}

.hero-image-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.hero-image-card-content {
    padding: 1.5rem;
    text-align: center;
}

.hero-image-card-content p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.hero-image-card-content span {
    color: var(--primary-color);
    font-weight: 700;
}

/* Hero Trust Badges */
.hero-badges {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem 2rem;
    border-radius: 100px;
    max-width: fit-content;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero-badge-text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Services Section */
.services-section {
    padding: 5rem 2rem;
    background-color: #e8e8e8;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Card with Background Image + Hover Zoom */
.service-card {
    position: relative;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

/* Background image layer - hidden by default, revealed on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.4s ease;
    z-index: 0;
}

/* Individual service card images */
.service-card--hardwood::before {
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.service-card--refinishing::before {
    background-image: url('https://images.unsplash.com/photo-1581858726788-75bc0f6a952d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.service-card--repairs::before {
    background-image: url('https://images.unsplash.com/photo-1562259929-b4e1fd3aef09?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

.service-card--vinyl::before {
    background-image: url('https://images.unsplash.com/photo-1615529328331-f8917597711f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
}

/* Solid overlay - hides image by default, dark overlay on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #e8e8e8;
    transition: background 0.4s ease;
    z-index: 1;
}

/* Text content */
.service-card-content {
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    padding-top: 28%;
    color: var(--white);
    text-align: center;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    transition: color 0.4s ease;
}

.service-card p {
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    transition: color 0.4s ease;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, gap 0.3s ease;
}

.service-card .service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

/* HOVER EFFECTS */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Show and zoom image on hover */
.service-card:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

/* Dark overlay on hover - 0.9 opacity */
.service-card:hover::after {
    background: rgba(51, 51, 51, 0.9);
}

/* Change text colors on hover for readability over image */
.service-card:hover h3 {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Show link on hover */
.service-card:hover .service-link {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover .service-link:hover {
    gap: 0.75rem;
}

.service-card:hover .service-link:hover::after {
    transform: translateX(4px);
}

/* Why Choose Section (full-width with background) */
.why-choose-section {
    position: relative;
    padding: 5rem 2rem;
    overflow: hidden;
}

/* Background image with dark overlay */
.why-choose-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1513467656270-4b6d9c256a1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.why-choose-section .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-section .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
}

.why-choose-section .section-title::after {
    background-color: var(--primary-color);
}

.why-choose-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* Value proposition boxes grid */
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.value-prop-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.value-prop-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.value-prop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    color: var(--white);
}

.value-prop-box h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.value-prop-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.why-choose-section .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* About Teaser */
.about-teaser {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 0 0 400px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Featured Service Sections */
.featured-section {
    background-color: var(--secondary-color);
    padding: 5rem 2rem;
}

.featured-section .about-teaser {
    padding: 0;
}

.featured-section--alt {
    background-color: var(--white);
}

.featured-content {
    text-align: center;
}

.featured-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-content h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.featured-content p {
    color: var(--text-color);
    line-height: 1.7;
}

.featured-content ul {
    margin: 1rem 0;
    padding-left: 1.25rem;
}

.featured-content ul li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.featured-content .btn {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid var(--primary-color);
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: scale(1.05);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Contact Form Styles */
.contact-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(55, 126, 64, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Honeypot spam protection - hidden from real users */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-section .btn {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-section .btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* ==================== */
/* FAQ Section          */
/* ==================== */

.faq-section {
    padding: 4rem 2rem;
    max-width: 100%;
    margin: 0 auto;
    background-color: #e8e8e8;
}

.faq-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-section .section-title {
    margin-bottom: 2rem;
}

.faq-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(55, 126, 64, 0.05);
}

.faq-item.active .faq-question {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.faq-icon::after {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.faq-item.active .faq-icon::before {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 1.25rem 1.5rem;
    color: var(--text-color);
    line-height: 1.7;
    border-top: 1px solid #e0e0e0;
}

/* ==================== */
/* Interior Page Hero   */
/* ==================== */

.page-hero {
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--primary);
}

/* Background image layer with dark overlay (matches footer #333) */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Page-specific background images (with dark overlay) */
.page-hero--about::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1581858726788-75bc0f6a952d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero--services::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero--hardwood::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero--refinishing::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1581858726788-75bc0f6a952d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero--repairs::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1562259929-b4e1fd3aef09?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero--vinyl::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1615529328331-f8917597711f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero--portfolio::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1513467656270-4b6d9c256a1f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero--contact::before {
    background:
        linear-gradient(rgba(51, 51, 51, 0.9), rgba(51, 51, 51, 0.9)),
        url('https://images.unsplash.com/photo-1560185893-a55cbc8c57e8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Small label/badge */
.page-hero-label {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    border: 2px solid var(--primary-color);
}

/* Main page title */
.page-hero-title {
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Subtitle/tagline */
.page-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Decorative bottom accent */
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, #d4a84b 50%, var(--accent) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 1.5rem;
    }

    .page-hero-title {
        font-size: 2.25rem;
    }

    .page-hero-subtitle {
        font-size: 1.05rem;
    }

    .page-hero-label {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

/* ==================== */
/* Portfolio Section    */
/* ==================== */

.portfolio-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.portfolio-intro {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Portfolio Carousel */
.portfolio-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-btn {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Portfolio Grid */
.portfolio-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Portfolio Item (figure element) */
.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    margin: 0; /* Reset figure default margin */
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Portfolio Caption (figcaption) */
.portfolio-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
    color: var(--white);
    padding: 3rem 1.25rem 1.25rem;
    transform: translateY(0);
    transition: transform var(--transition-speed), background var(--transition-speed);
}

.portfolio-item:hover figcaption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
}

.portfolio-item .portfolio-service {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.portfolio-item .portfolio-location {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Hidden Portfolio Items (progressive reveal) */
.portfolio-item-hidden {
    display: none;
}

/* Portfolio Toggle Button Container */
.portfolio-toggle-container {
    text-align: center;
    margin-top: 2.5rem;
}

.portfolio-toggle {
    min-width: 200px;
}

/* ==================== */
/* Lightbox             */
/* ==================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
    transition: transform var(--transition-speed), opacity var(--transition-speed);
    opacity: 0.8;
}

.lightbox-close:hover {
    transform: scale(1.1);
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.lightbox-content img {
    width: min(80vw, calc(85vh - 80px));
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
}

.lightbox-content figcaption {
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 0 0 4px 4px;
    text-align: center;
}

.lightbox-content .portfolio-service {
    display: block;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.lightbox-content .portfolio-location {
    display: block;
    font-size: 1rem;
    opacity: 0.85;
}

/* ==================== */
/* Service Detail Page  */
/* ==================== */

.service-hero {
    padding: 4rem 1rem;
    min-height: 40vh;
}

.service-benefits {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.8;
}

/* ==================== */
/* Responsive Styles    */
/* ==================== */

@media (max-width: 1024px) {
    /* Why Choose - tablet */
    .value-props-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero tablet adjustments */
    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-accent {
        width: 100%;
        height: 60%;
        clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    }

    .hero-image-card {
        width: 320px;
        transform: rotate(0deg);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Mobile dropdown */
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: var(--secondary-color);
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero .container {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-accent {
        height: 55%;
        clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    }

    .hero-image-card {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-badges {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1.5rem;
        border-radius: 12px;
    }

    .hero-badge {
        justify-content: center;
    }

    /* Service cards mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card .service-link {
        opacity: 1;
        transform: translateY(0);
    }

    .about-teaser {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Why Choose - mobile */
    .value-props-grid {
        grid-template-columns: 1fr;
    }

    .value-prop-box {
        padding: 1.5rem 1.25rem;
    }

    .value-prop-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Portfolio Mobile */
    .portfolio-carousel {
        gap: 0.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Always show caption on mobile (no hover needed) */
    .portfolio-item figcaption {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
    }
    
    .portfolio-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Lightbox Mobile */
    .lightbox {
        padding: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }
    
    .lightbox-content {
        max-height: 90vh;
    }
    
    .lightbox-content img {
        width: min(90vw, calc(90vh - 100px));
    }
    
    .lightbox-content .portfolio-service {
        font-size: 1.1rem;
    }
    
    .lightbox-content .portfolio-location {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-item .portfolio-service {
        font-size: 1rem;
    }

    .portfolio-item .portfolio-location {
        font-size: 0.85rem;
    }
}