/* Modern Architecture Theme - Rocma */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-gold: #c9a45c;
    --accent-gold-hover: #e0b86e;
    --border-color: #2a2a2a;

    /* Spacing */
    --container-width: 1400px;
    --section-padding: 120px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gold {
    color: var(--accent-gold);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    background: transparent;
    transition: var(--transition-smooth);
}

.btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-smooth);
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    /* Reserve space for logo width and align vertically */
    display: flex;
    align-items: center;
    width: 320px;
    /* Placeholder width to prevent overlap */
    height: 80px;
    /* Taller container */
}

.logo img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 250px;
    /* Maximum requested size */
    width: auto;
    object-fit: contain;
    transition: all 0.4s ease;

    /* Improve rendering quality */
    image-rendering: -webkit-optimize-contrast;
    filter: brightness(1.2) drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
    /* Gentler filter */
}

header.scrolled .logo img {
    height: 80px;
    /* Smaller but still visible on scroll */
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
    /* Force white in all themes */
    font-weight: 500;
}

/* Force Hero Text to be white in all themes (since it's over an image) */
.hero-content h1,
.hero-content p,
.hero-content span {
    color: #ffffff !important;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-content {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    display: block;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Projects Page Styles */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 30px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.project-entry {
    margin-bottom: 8rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.project-entry.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.project-location {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.project-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-secondary);
    font-family: 'Outfit', sans-serif;
}

.project-desc {
    max-width: 800px;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.project-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-smooth);
}

.project-gallery img:hover {
    filter: grayscale(0%);
}

.project-reviews {
    background: var(--bg-secondary);
    padding: 2rem;
    border-left: 2px solid var(--accent-gold);
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: #d0d0d0;
    margin-bottom: 1rem;
}

.reviewer {
    color: var(--accent-gold);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox img {
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition-smooth);
    z-index: 2001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    color: var(--accent-gold);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}

/* =========================================
   Mobile Responsiveness & New Features
   ========================================= */

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 80px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-line {
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    animation: loadLine 1.5s ease-in-out forwards;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes loadLine {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {

    /* Header & Nav */
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border-color);
        padding: 2rem;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Typography & Spacing */
    .hero-title {
        font-size: 2.8rem;
    }

    /* Grids */
    .service-card,
    .gallery-item {
        margin-bottom: 1rem;
    }

    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* About Section Specific Fix */
    #about img {
        height: 300px !important;
    }
}

/* =========================================
   Premium Features
   ========================================= */

/* 1. Custom Cursor - REMOVED */

/* 2. Curtain Preloader Update */
#preloader {
    /* Existing base styles remain, we modify transition */
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

#preloader.loaded {
    opacity: 1;
    /* Keep opacity 1 so we see it slide */
    visibility: visible;
    /* Keep visible during slide */
    transform: translateY(-100%);
}

/* 3. Lenis Smooth Scroll */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* 4. Text Reveal Animation */
.line-mask {
    overflow: hidden;
    display: block;
}

.reveal-text {
    display: block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

.reveal-text.visible {
    transform: translateY(0);
    opacity: 1;
}

/* 5. Theme Switcher */
:root[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f4;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --border-color: #e0e0e0;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    margin-left: 2rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    color: var(--accent-gold);
    transform: rotate(15deg);
}

@media (max-width: 768px) {
    .theme-toggle {
        margin-left: 1rem;
    }
}

/* 6. Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--accent-gold);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #ffffff;
    color: var(--accent-gold);
}

/* 7. Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for children if needed */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* 8. Premium Contact Form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 0;
    margin-bottom: 2rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 0;
    /* Remove default radius */
}

/* Light mode support for form */
:root[data-theme="light"] .contact-form input,
:root[data-theme="light"] .contact-form textarea {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-gold);
    padding-left: 10px;
    /* Subtle shift */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    opacity: 0.3;
}

.contact-form button {
    margin-top: 1rem;
    width: auto;
    padding: 1rem 3rem;
}

/* 9. Testimonials Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

/* Gradients to fade edges */
.carousel-container::before,
.carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary), transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary), transparent);
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 2rem;
    animation: scroll 60s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    width: 350px;
    flex-shrink: 0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

:root[data-theme="light"] .testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-gold);
}

:root[data-theme="light"] .testimonial-card:hover {
    background: #ffffff;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

.client-info strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--accent-gold);
}

/* 10. Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cfa14c;
}

/* 11. Big Footer */
footer {
    padding: 5rem 0 2rem;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

:root[data-theme="light"] footer {
    background: #f4f4f4;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

:root[data-theme="light"] .footer-title {
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-right: none;
    outline: none;
}

:root[data-theme="light"] .newsletter-form input {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.newsletter-form button {
    background: var(--accent-gold);
    border: none;
    padding: 0 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #fff;
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

:root[data-theme="light"] .footer-bottom {
    border-top: 1px solid var(--border-color);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        max-width: 300px;
        margin: 1rem auto;
    }
}

/* 12. Language Selector */
.language-selector {
    position: relative;
    margin-left: 1.5rem;
    display: inline-block;
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
}

:root[data-theme="light"] .lang-btn {
    color: var(--text-primary);
}

.lang-btn:hover,
.language-selector:hover .lang-btn {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

:root[data-theme="light"] .lang-btn:hover,
:root[data-theme="light"] .language-selector:hover .lang-btn {
    border-color: rgba(0, 0, 0, 0.1);
    background: rgba(0, 0, 0, 0.05);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    min-width: 160px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

:root[data-theme="light"] .lang-dropdown {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow indicator for dropdown */
.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: inherit;
    transform: rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

:root[data-theme="light"] .lang-dropdown::before {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.lang-option:last-child {
    margin-bottom: 0;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateX(3px);
}

:root[data-theme="light"] .lang-option:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.lang-option.active {
    color: var(--accent-gold);
    background: rgba(225, 177, 44, 0.08);
    font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .language-selector {
        margin-left: 0.5rem;
    }

    .lang-dropdown {
        right: -10px;
    }
}

/* Services Grid Layout for Project Descriptions */
.services-grid {
    display: grid;
    /* Force 3 columns on desktop, responsive spacing */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    /* Reduced gap to grant more width to cards */
    margin-top: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.service-card {
    background-color: var(--bg-secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    /* Increased radius */
    position: relative;
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Gradient Overlay - darker and covers more height to ensure text readability */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 30%,
            rgba(0, 0, 0, 0.8) 60%,
            rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    /* Optional: Subtle backdrop for extra readability if images are bright */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.service-card h3 {
    font-size: 1.5rem;
    /* Slightly reduced for better fit */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    color: #f0f0f0;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.service-card ul {
    list-style-type: none;
    padding: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: #e0e0e0;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.service-card ul li::before {
    content: '•';
    color: var(--accent-gold);
    /* Gold bullets pop nicely on dark */
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;