/* Custom Font Loading - RC Webfont */
@font-face {
    font-family: 'RCWebfont';
    src: url('../fonts/rc-webfont.woff2') format('woff2'),
         url('../fonts/rc-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RCWebfont';
    src: url('../fonts/rc-webfont.woff2') format('woff2'),
         url('../fonts/rc-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RCWebfont';
    src: url('../fonts/rc-webfont.woff2') format('woff2'),
         url('../fonts/rc-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* RCL Web Light Font */
@font-face {
    font-family: 'RCLWeblight';
    src: url('../fonts/rcl-weblight.woff2') format('woff2'),
         url('../fonts/rcl-weblight.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: 'RCLWeblight', 'RCWebfont', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    font-weight: 300;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
    margin-inline-start: 0;
    padding-inline-start: 0;
}

h1, h2, h3, h4, h5, h6,
p, span, a, li, button,
input, textarea, select,
.btn, .card-title, .hero-content,
.section-title, .logo-text {
    font-family: 'RCLWeblight', 'RCWebfont', 'Helvetica Neue', Arial, sans-serif;
}

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

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #2c2c2c;
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #2c2c2c;
    outline-offset: 2px;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.bg-light {
    background: #f8f8f8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    color: #2c2c2c;
    line-height: 1.2;
}

h1 { font-size: 48px; letter-spacing: 2px; }
h2 { font-size: 36px; letter-spacing: 1.5px; }
h3 { font-size: 24px; letter-spacing: 1px; }

.section-title {
    text-align: left;
    margin: 0 0 20px 0;
    font-weight: 300;
    letter-spacing: 2px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0;
}

.section-intro {
    text-align: left;
    max-width: 800px;
    margin: 0 0 40px;
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-inline-start: 0 !important;
    padding-inline-start: 0 !important;
    -webkit-margin-start: 0 !important;
    -webkit-padding-start: 0 !important;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px 0;
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 300px;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.logo-text .brand {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #2c2c2c;
    line-height: 1.2;
}

.logo-text .location {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Floating Menu - Updated touch targets */
.floating-menu {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-menu .menu-item {
    width: 50px;
    height: 50px;
    min-width: 44px;
    min-height: 44px;
    background: white;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
    color: #2c2c2c;
    cursor: pointer;
}

.floating-menu .menu-item:hover {
    background: #2c2c2c;
    color: white;
    border-color: #2c2c2c;
}

.floating-menu .menu-item::before {
    content: attr(title);
    position: absolute;
    right: 60px;
    background: #2c2c2c;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
}

.floating-menu .menu-item::after {
    content: '';
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #2c2c2c;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.floating-menu .menu-item:hover::before,
.floating-menu .menu-item:hover::after {
    opacity: 1;
    visibility: visible;
}

.floating-menu .icon {
    font-size: 24px;
    font-weight: 400;
    opacity: 0.65;
}

.floating-menu .icon-svg {
    width: 20px;
    height: 20px;
    opacity: 0.65;
}

/* Hero Section - Fixed for mobile browsers */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 80px;
}

/* Dynamic viewport height for mobile */
@supports (height: 100dvh) {
    .hero {
        height: 100dvh;
    }
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-color: #d4d4d4;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
    display: none;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
    line-height: 1.4;
}

.hero-content p:last-child {
    margin-bottom: 0;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover,
.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.card {
    background: white;
    overflow: hidden;
    transition: all 0.3s;
}

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

.card-image {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s;
}

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

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.card-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.card-text {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

/* View All Projects link */
.projects-view-all {
    text-align: center;
    margin-top: 60px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    min-height: 44px;
    min-width: 44px;
}

.btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.terms-download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.terms-download-links a {
    color: #2c2c2c;
}

/* Reserve space for dynamically loaded content to prevent layout shifts */
#projectsGrid {
    min-height: 1400px;
}

#teamGrid {
    min-height: 800px;
}

/* Testimonials */
#testimonialsContainer {
    min-height: 450px;
}

.testimonial {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-left: 4px solid #2c2c2c;
}

.testimonial blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 16px;
    font-weight: 400;
    color: #2c2c2c;
    text-align: right;
    font-style: normal;
}

/* Address styling */
address {
    font-style: normal;
}

/* Virtual Tour */
.home-virtual-tour {
    max-width: 1200px;
    margin: 40px auto 0;
}

.home-tour-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    margin-bottom: 30px;
}

.home-tour-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

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

.btn-tour {
    padding: 15px 40px;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Location Section */
.location-section {
    padding: 80px 0;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
}

.location-map {
    position: relative;
    min-height: 600px;
    background: #e0e0e0;
    order: 2;
}

.location-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1) brightness(1.1);
}

.location-info {
    background: white;
    color: #2c2c2c;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
    border: 1px solid #e0e0e0;
}

.location-info h2 {
    color: #2c2c2c;
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.location-detail {
    margin-bottom: 35px;
}

.location-detail:last-child {
    margin-bottom: 0;
}

.location-detail h3 {
    color: #2c2c2c;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.location-detail p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 8px;
}

.location-detail p:last-child {
    margin-bottom: 0;
}

.location-detail a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.location-detail a:hover {
    color: #2c2c2c;
}

.location-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    min-height: 44px;
}

.location-btn:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-content h5 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: white;
}

.footer-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-content a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.copyright p {
    font-size: 13px;
    color: #999;
}

.copyright a {
    color: #ccc;
}

.copyright a:hover {
    color: white;
}

/* Showroom About */
.showroom-about-content {
    max-width: 900px;
    margin: 0;
}

.showroom-about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Team Section */
.team-company-image {
    margin-bottom: 40px;
}

.team-company-image img {
    width: 100%;
    height: auto;
    display: block;
}

.team-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-view-all {
    text-align: center;
    margin-top: 60px;
}

.team-home-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s;
}

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

.team-card-image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #e0e0e0;
}

.team-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4d4d4 0%, #a8a8a8 100%);
}

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

.team-card-name {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.team-card-position {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.team-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* Services Section */
.services-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-home-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

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

.service-home-icon {
    color: #2c2c2c;
    margin-bottom: 20px;
}

.service-home-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.service-home-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Products Preview (index page) */
.products-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.product-preview-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    cursor: pointer;
}

.product-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.product-preview-image {
    width: 100%;
    height: 280px;
    background: #e0e0e0;
    overflow: hidden;
}

.product-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.product-preview-card:hover .product-preview-image img {
    transform: scale(1.03);
}

.product-preview-content {
    padding: 28px;
}

.product-preview-name {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-preview-text {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.product-preview-link {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2c2c2c;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2c;
    padding-bottom: 2px;
    transition: opacity 0.2s;
    display: inline-block;
}

.product-preview-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.product-preview-link:hover {
    opacity: 0.6;
}

.products-view-all {
    text-align: center;
    margin-top: 60px;
}

.testimonials-view-all {
    margin-top: 48px;
}

/* Events Preview (index page) */
.events-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 0;
}

.event-preview-card {
    border-top: 1px solid #e0e0e0;
    position: relative;
    cursor: pointer;
    transition: opacity 0.2s;
}

.event-preview-card:hover {
    opacity: 0.85;
}

.event-preview-link {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2c2c2c;
    text-decoration: none;
    border-bottom: 1px solid #2c2c2c;
    padding-bottom: 2px;
    display: inline-block;
    margin-top: 16px;
}

.event-preview-link::after {
    content: '';
    position: absolute;
    inset: 0;
}

.event-preview-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.event-preview-card .event-preview-label {
    padding-top: 0;
}

.event-preview-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.event-preview-date {
    font-size: 12px;
    letter-spacing: 1px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.event-preview-title {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #2c2c2c;
}

.event-preview-text {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

.events-view-all {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .products-preview-grid,
    .events-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .events-preview-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* How We Work */
.how-we-work-image {
    margin-bottom: 50px;
}

.how-we-work-image img {
    width: 100%;
    height: auto;
    display: block;
}

.how-we-work-stages {
    column-count: 2;
    column-gap: 60px;
}

.how-we-work-stage {
    break-inside: avoid;
    margin-bottom: 40px;
}

.how-we-work-stage:last-child {
    margin-bottom: 0;
}

.stage-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.how-we-work-stage p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
    font-size: 15px;
}

.how-we-work-stage p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .how-we-work-stages {
        column-count: 1;
    }
}


/* Service Department */
.service-dept-intro {
    max-width: 900px;
    margin: 0 0 60px;
}

.service-dept-heading {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.service-dept-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.service-dept-tagline {
    font-style: italic;
    font-size: 17px !important;
    color: #2c2c2c !important;
    margin-top: 30px;
}

.service-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-pricing-card {
    background: white;
    padding: 36px 30px;
    border-top: 2px solid #2c2c2c;
    display: flex;
    flex-direction: column;
}

.service-pricing-label {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.service-pricing-name {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.service-pricing-price {
    font-size: 28px;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 24px;
}

.service-pricing-price span {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.service-pricing-price--por {
    font-size: 18px;
    font-style: italic;
}

.service-pricing-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex: 1;
}

.service-pricing-list li {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-pricing-list li:last-child {
    border-bottom: none;
}

.service-pricing-time {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #999;
    margin-top: auto;
    padding-top: 16px;
}

.service-contact {
    text-align: center;
    margin-bottom: 30px;
}

.service-contact p {
    font-size: 17px;
    color: #2c2c2c;
}

.service-contact a {
    color: #2c2c2c;
    text-decoration: underline;
}

.service-contact a:hover {
    opacity: 0.7;
}

.service-disclaimer {
    font-size: 13px;
    line-height: 1.7;
    color: #999;
    max-width: 800px;
    margin: 0;
    text-align: left;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: block;
    opacity: 1;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
}

.gallery-title {
    color: white;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

.gallery-counter {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-left: 20px;
}

.gallery-close {
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.gallery-close:hover {
    opacity: 0.7;
}

.gallery-main {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-thumbnails {
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.gallery-thumbnail {
    display: inline-block;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.gallery-thumbnail:hover {
    opacity: 0.8;
}

.gallery-thumbnail.active {
    opacity: 1;
    border: 2px solid white;
}

/* Team Modal */
.team-modal-main {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(280px, 400px) 1fr;
    padding: 40px;
    gap: 40px;
    align-items: center;
    overflow-y: auto;
    max-width: 1000px;
    margin: 0 auto;
}

.team-modal-bio {
    color: white;
    padding-left: 40px;
    max-width: 500px;
}

.team-modal-position {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.team-modal-bio-text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.team-modal-image-container {
    position: sticky;
    top: 0;
}

.team-modal-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: #e0e0e0;
    overflow: hidden;
}

.team-modal-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4d4d4 0%, #a8a8a8 100%);
}

/* No Images Message */
.no-images-message {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.no-images-content {
    text-align: center;
    padding: 40px;
    max-width: 600px;
}

.no-images-content svg {
    margin: 0 auto 30px;
    color: #999;
}

.no-images-content h2 {
    color: #666;
    margin-bottom: 20px;
    font-size: 32px;
}

.no-images-content p {
    color: #888;
    line-height: 1.8;
    margin-bottom: 15px;
}

.no-images-content .help-text {
    font-size: 14px;
    color: #999;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2c2c2c;
    color: white;
    padding: 8px 16px;
    z-index: 10001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   TABLET STYLES (max-width: 968px)
   ============================================ */
@media (max-width: 968px) {
    .location-container {
        grid-template-columns: 1fr;
    }

    .location-map {
        min-height: 400px;
        order: 2;
    }

    .location-info {
        order: 1;
        padding: 60px 40px;
    }

    .gallery-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .team-modal-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-modal-bio {
        padding-left: 0;
        order: 2;
    }

    .team-modal-image-container {
        position: relative;
        order: 1;
    }

    .team-modal-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   MOBILE STYLES (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    nav { padding: 15px 0; }
    
    .logo img {
        max-height: 50px;
        max-width: 250px;
    }
    
    .logo-text .brand {
        font-size: 20px;
        letter-spacing: 1.5px;
    }
    
    .logo-text .location { font-size: 11px; }
    
    .floating-menu {
        right: 10px;
        gap: 10px;
    }
    
    .floating-menu .menu-item {
        width: 48px;
        height: 48px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .floating-menu .icon {
        font-size: 24px;
    }
    
    .hero { 
        height: 70vh;
        min-height: 400px;
    }
    
    @supports (height: 70dvh) {
        .hero {
            height: 70dvh;
        }
    }
    
    .hero-content {
        display: none;
    }

    .hero-content h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    
    .section-title {
        font-size: 28px;
        letter-spacing: 0;
        padding: 0;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section { 
        padding: 60px 0;
        scroll-margin-top: 80px;
    }
    
    .home-tour-cta { 
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-tour { 
        width: 100%;
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-section h2 { font-size: 28px; }
    
    .team-home-grid,
    .services-home-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .products-preview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-preview-image {
        height: 200px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .testimonial {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }

    .location-info {
        padding: 50px 30px;
    }

    .location-info h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .location-detail {
        margin-bottom: 30px;
    }

    .location-detail h3 {
        font-size: 16px;
    }

    .location-detail p {
        font-size: 15px;
    }

    .gallery-title {
        font-size: 18px;
    }

    .gallery-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }

    .gallery-thumbnail {
        width: 70px;
        height: 70px;
    }

    .team-modal-main {
        padding: 30px 20px;
        gap: 25px;
    }

    .team-modal-position {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .team-modal-bio-text {
        font-size: 15px;
    }
}

/* ============================================
   SMALL MOBILE STYLES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        max-height: 45px;
        max-width: 200px;
    }
    
    .logo-text .brand {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .logo-text .location { font-size: 10px; }
    
    .floating-menu {
        right: 8px;
        gap: 8px;
    }
    
    .floating-menu .menu-item {
        width: 44px;
        height: 44px;
    }
    
    .floating-menu .icon {
        font-size: 20px;
    }
    
    .floating-menu .icon-svg {
        width: 20px;
        height: 20px;
    }
    
    .hero { 
        height: 60vh;
        min-height: 350px;
    }
    
    @supports (height: 60dvh) {
        .hero {
            height: 60dvh;
        }
    }
    
    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    html {
        scroll-padding-top: 60px;
    }
    
    .section { 
        padding: 40px 0;
        scroll-margin-top: 50px;
    }
    
    h2 { font-size: 24px; }
    .section-title { font-size: 24px; }
    
    .section-intro {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .card-title { font-size: 20px; }
    .card-text { font-size: 14px; }
    
    .btn {
        padding: 12px 25px;
        font-size: 12px;
    }
    
    .cta-section {
        padding: 60px 15px;
    }
    
    .cta-section h2 { 
        font-size: 22px;
    }
    
    .cta-section p {
        font-size: 16px;
    }

    .location-map {
        min-height: 300px;
    }

    .location-info {
        padding: 40px 20px;
    }

    .location-info h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .location-detail {
        margin-bottom: 25px;
    }

    .location-detail h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .location-detail p {
        font-size: 14px;
    }

    .location-btn {
        padding: 12px 30px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

    .gallery-header {
        padding: 15px;
    }

    .gallery-title {
        font-size: 16px;
    }

    .gallery-counter {
        font-size: 12px;
    }

    .gallery-close {
        font-size: 30px;
        width: 44px;
        height: 44px;
    }

    .gallery-main {
        padding: 10px;
    }

    .gallery-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .gallery-prev {
        left: 5px;
    }

    .gallery-next {
        right: 5px;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 60px;
    }

    .team-modal-main {
        padding: 20px 15px;
        gap: 20px;
    }

    .team-modal-position {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .team-modal-bio-text {
        font-size: 14px;
    }

    .team-modal-image {
        max-width: 100%;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    nav,
    .floating-menu,
    .hero-carousel,
    .carousel-nav,
    .home-virtual-tour,
    .gallery-modal,
    .team-modal {
        display: none !important;
    }
    
    .hero {
        height: auto;
        margin-top: 0;
    }
    
    .hero-content {
        position: relative;
        transform: none;
        color: #2c2c2c;
        text-shadow: none;
    }
    
    .hero-content h1,
    .hero-content p {
        color: #2c2c2c;
        text-shadow: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        color: #2c2c2c;
    }
    
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}