/* ====================================
   HÄCKER - Luxury Kitchen Design
   ==================================== */

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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #c29958;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

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

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

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

.header .container {
    background: transparent;
}

/* Typography */
.lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.8;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title.light {
    color: var(--bg-white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 1.5rem auto 2rem;
    border-radius: 2px;
}

.divider.light {
    background: linear-gradient(90deg, transparent, var(--bg-white), transparent);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #b89d5f);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(194, 153, 88, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b89d5f, var(--accent-color));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(194, 153, 88, 0.4);
}

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

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(194, 153, 88, 0.3);
}

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

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.5s ease;
}

/* Transparent header only on home page */
.home-page .header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.home-page .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0 1rem;
    gap: 1.5rem;
}

.logo {
    text-align: center;
    order: 1;
}

.logo a {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    transition: color 0.5s ease;
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--accent-color);
    text-align: center;
    transition: color 0.5s ease;
}

/* White text on home page when transparent */
.home-page .header .logo-text {
    color: var(--bg-white);
}

.home-page .header .logo-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Dark text when scrolled on home page */
.home-page .header.scrolled .logo-text {
    color: var(--primary-color);
}

.home-page .header.scrolled .logo-subtitle {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    order: 2;
}

.mobile-menu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.5s ease;
}

/* White text on home page when transparent */
.home-page .header .nav-menu a {
    color: var(--bg-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Dark text when scrolled on home page */
.home-page .header.scrolled .nav-menu a {
    color: var(--text-dark);
    text-shadow: none;
}

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

/* White underline on home page when transparent */
.home-page .header .nav-menu a::after {
    background: var(--bg-white);
}

/* Accent underline when scrolled on home page */
.home-page .header.scrolled .nav-menu a::after {
    background: var(--accent-color);
}

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

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    list-style: none;
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.5s ease;
}

/* White hamburger on home page when transparent */
.home-page .header .mobile-menu-toggle span {
    background: var(--bg-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Dark hamburger when scrolled on home page */
.home-page .header.scrolled .mobile-menu-toggle span {
    background: var(--primary-color);
    box-shadow: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 150vh;
    min-height: 1000px;
    margin-top: -140px;
    padding-top: 140px;
    padding-bottom: 35vh;
    overflow: hidden;
}

body:not(.home-page) .hero {
    margin-top: 80px;
    padding-top: 0;
    padding-bottom: 0;
    height: 100vh;
    min-height: 600px;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: 110%;
    background-position: center;
    transition: transform 8s ease-out;
    z-index: 0;
}

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

.hero-slide.active::before {
    transform: scale(1.1);
    animation: slowZoom 15s ease-out forwards;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.hero-content {
    text-align: center;
    color: var(--bg-white);
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--bg-white);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-controls {
    display: none;
}

.hero-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    z-index: 20;
}

.indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.6);
    position: relative;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.indicator.active {
    background: var(--bg-white);
    transform: scale(1.3);
    border-color: var(--bg-white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Video Background for Hero Slider */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-size: cover !important;
    background-position: center !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77777778vh; /* 16:9 aspect ratio */
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw; /* 16:9 aspect ratio */
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    transform: translate(-50%, -50%) translateZ(0);
    pointer-events: none;
    border: none;
    opacity: 1;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Overlay gradient for video backgrounds */
.video-background .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 1;
}

/* Video thumbnail poster */
.video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.intro-section {
    background: var(--bg-white);
    text-align: center;
    padding: 2rem 0 5rem 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--border-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

.link-arrow {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    gap: 1rem;
}

/* Gallery Section */
.featured-gallery {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.featured-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(194,153,88,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
    height: 420px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 24px;
}

.gallery-item:hover::before {
    opacity: 0.15;
}

.gallery-item:hover {
    transform: translateY(-15px);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 26px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
    opacity: 0.5;
}

.gallery-image {
    width: 100%;
    height: 100%;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1) rotate(2deg);
}

.gallery-item:hover .gallery-image::after {
    opacity: 0.9;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 2.5rem 2rem;
    z-index: 2;
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.2) 80%,
        transparent 100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Projects Page Hero */
.projects-page-hero {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 73, 94, 0.85));
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.projects-hero-overlay {
    position: relative;
    z-index: 2;
}

.projects-hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.projects-hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* All Projects Section */
.all-projects-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.project-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.project-grid-link {
    display: block;
    text-decoration: none;
}

.project-grid-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    line-height: 0;
}

.project-grid-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-grid-item:hover img {
    transform: scale(1.1);
}

.project-grid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.1) 60%,
        transparent 100%) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.4s ease;
    z-index: 2;
}

.project-grid-category {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-color), #b8935a);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 1rem;
    width: fit-content;
}

.project-grid-content h3 {
    color: white;
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.project-grid-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-grid-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
}

.project-grid-item:hover .project-grid-btn {
    gap: 15px;
}

.no-projects {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
}

.no-projects i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.no-projects h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.no-projects p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Showrooms Section */
.showrooms-section {
    background: var(--bg-light);
}

.showrooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.showroom-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showroom-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.showroom-image {
    height: 250px;
}

.showroom-content {
    padding: 2.5rem;
}

.showroom-content h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.showroom-details {
    margin-bottom: 1.5rem;
}

.showroom-details p {
    margin-bottom: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.showroom-details i {
    color: var(--accent-color);
    margin-top: 0.25rem;
    min-width: 16px;
}

.showroom-content .btn {
    margin-top: 1rem;
    width: 100%;
}

/* Single Showroom Card */
.showroom-single {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.showroom-card-large {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.showroom-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.showroom-image-large {
    height: 400px;
}

.showroom-content-large {
    padding: 3rem;
}

.showroom-content-large h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.showroom-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.showroom-info-grid .info-item {
    display: flex;
    gap: 1rem;
}

.showroom-info-grid .info-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.showroom-info-grid .info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.showroom-info-grid .info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.showroom-content-large .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Finance Section */
.finance-section {
    padding: 4rem 0;
    background: var(--bg-white);
}

.finance-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    position: relative;
}

.finance-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(139, 90, 43, 0.92) 0%,
        rgba(160, 108, 58, 0.90) 50%,
        rgba(139, 90, 43, 0.92) 100%);
    z-index: 0;
}

.finance-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 150, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.finance-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    padding: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.finance-icon {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    position: relative;
}

.finance-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.finance-icon-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.finance-percentage {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.finance-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

.finance-text h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.finance-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.finance-features {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.finance-features li {
    color: var(--bg-white);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.finance-features li i {
    color: #ffd89b;
    font-size: 1.2rem;
}

.finance-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.finance-cta .btn {
    white-space: nowrap;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--bg-white);
    color: var(--text-dark);
    border: none;
    transition: all 0.3s ease;
}

.finance-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    background: #f8f9fa;
}

.finance-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

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

.cta-content h2 {
    color: var(--bg-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Floating Appointment Button */
.floating-appointment-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-appointment-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.floating-appointment-btn i {
    font-size: 1.25rem;
}

/* Appointment Modal */
.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.appointment-modal.active {
    display: flex;
}

.appointment-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.appointment-modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.appointment-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.appointment-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.appointment-modal-close i {
    font-size: 1.25rem;
    color: var(--text-dark);
}

.appointment-modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 3rem 2.5rem 2.5rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.appointment-modal-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.appointment-modal-header h2 {
    color: var(--bg-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.appointment-modal-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.appointment-form {
    padding: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

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

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.btn-block i {
    margin-right: 0.5rem;
}

.appointment-form .btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--bg-white);
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .navbar {
        position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 2rem 2rem;
        box-shadow: 2px 0 30px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        overflow-y: auto;
        z-index: 999;
        border-right: 1px solid rgba(194, 153, 88, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        color: var(--text-dark) !important;
        text-shadow: none !important;
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(194, 153, 88, 0.1);
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .nav-menu a:hover {
        color: var(--accent-color) !important;
        padding-left: 0.5rem;
    }

    .nav-menu li {
        width: 100%;
    }

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

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .dropdown-menu li a {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        color: var(--text-light) !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
        margin-top: -110px;
        padding-top: 110px;
        padding-bottom: 0;
    }

    /* Show video properly on tablet - cover full screen from top */
    .video-background iframe {
        opacity: 1 !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        height: 150vh !important;
        min-width: 266.67vh !important; /* Scale up to cover full hero */
        min-height: 150vh !important;
    }

    .hero-slide::before {
        /* Animation enabled on mobile for better user experience */
        animation: slowZoom 12s ease-out forwards;
    }

    .hero-title {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

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

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

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

    section {
        padding: 4rem 0;
    }

    .services-grid,
    .gallery-grid {
        gap: 2rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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

    .finance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 2rem;
        text-align: center;
    }

    .finance-icon {
        margin: 0 auto;
    }

    .finance-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

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

    .finance-cta {
        margin-top: 1rem;
    }

    .floating-appointment-btn span {
        display: none;
    }

    .floating-appointment-btn {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .appointment-modal-header {
        padding: 2.5rem 2rem 2rem;
    }

    .appointment-modal-header h2 {
        font-size: 1.5rem;
    }

    .appointment-form {
        padding: 2rem 1.5rem;
    }
}

/* Showroom Page Styles */
.showroom-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.showroom-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
}

.showroom-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--bg-white);
}

.showroom-badge-lg {
    display: inline-block;
    background: rgba(194, 153, 88, 0.9);
    color: var(--bg-white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.showroom-hero-text h1 {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.showroom-hero-text p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

.showroom-locations-section {
    background: var(--bg-white);
    padding: 6rem 0;
}

.showroom-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.location-card {
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.location-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2.5rem 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.location-badge {
    display: inline-block;
    background: rgba(194, 153, 88, 0.9);
    color: var(--bg-white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.location-card-header h3 {
    color: var(--bg-white);
    font-size: 2rem;
    margin: 0;
}

.location-card-body {
    padding: 2.5rem;
}

.location-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.location-info-item i {
    color: var(--accent-color);
    font-size: 1.5rem;
    min-width: 24px;
    margin-top: 0.25rem;
}

.location-info-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.location-info-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.location-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.location-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.details-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #b89d5f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.details-card-icon i {
    font-size: 2rem;
    color: var(--bg-white);
}

.showroom-details-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.details-address,
.details-contact {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.details-hours {
    margin-bottom: 1.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span {
    color: var(--text-light);
}

.hours-row strong {
    color: var(--text-dark);
}

.details-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.details-link:hover {
    color: var(--primary-color);
    gap: 0.75rem;
}

.showroom-features-section {
    background: var(--bg-light);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 968px) {
    .showroom-hero-text h1 {
        font-size: 2.5rem;
    }

    .showroom-hero-text p {
        font-size: 1.2rem;
    }

    .showroom-locations-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-actions {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .services-grid,
    .gallery-grid,
    .showrooms-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 280px;
        border-radius: 16px;
    }

    .gallery-overlay {
        padding: 1.5rem;
    }

    .gallery-overlay h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .gallery-overlay p {
        font-size: 0.8rem;
    }

    .showroom-hero {
        height: 60vh;
        min-height: 400px;
    }

    .showroom-hero-text h1 {
        font-size: 2rem;
    }

    .showroom-locations-section,
    .showroom-features-section {
        padding: 4rem 0;
    }

    .showroom-locations-grid {
        grid-template-columns: 1fr;
    }

    .location-card-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .location-card-body {
        padding: 2rem 1.5rem;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
        margin-top: -110px;
        padding-top: 110px;
        padding-bottom: 0;
    }

    /* Show video properly on mobile - cover full screen from top */
    .video-background iframe {
        opacity: 1 !important;
        position: absolute !important;
        top: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        height: 150vh !important;
        min-width: 266.67vh !important; /* Scale up to cover full hero */
        min-height: 150vh !important;
    }

    .hero-slide::before {
        background-size: cover !important;
        /* Animation enabled on mobile - slightly faster for smaller screens */
        animation: slowZoom 10s ease-out forwards;
    }

    .hero-title {
        font-size: 1.3rem;
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 15px;
    }

    .hero-content {
        text-align: center;
        padding: 0 15px;
    }

    section {
        padding: 3rem 0;
    }

    .featured-gallery,
    .innovation-carousel-section {
        padding: 3rem 0;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Mobile Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Innovation Section */
.innovation-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.innovation-header {
    text-align: center;
    margin-bottom: 4rem;
}

.innovation-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Main Featured Project */
.innovation-main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.innovation-image {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.innovation-image:hover {
    transform: translateY(-10px);
}

.innovation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    padding: 3rem;
    color: white;
    transition: all 0.3s ease;
}

.project-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--accent-color);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.innovation-overlay h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.innovation-overlay p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: white;
    color: var(--primary-color);
}

/* Secondary Projects */
.innovation-secondary {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.innovation-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.innovation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.innovation-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.innovation-card-content {
    padding: 1.5rem;
}

.innovation-card-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

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

/* Tertiary Projects */
.innovation-tertiary {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.innovation-small-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.innovation-small-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.innovation-small-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.innovation-small-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.innovation-small-card h5 {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    color: white;
    font-size: 1rem;
    z-index: 1;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .innovation-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .innovation-main,
    .innovation-secondary,
    .innovation-tertiary {
        grid-column: 1;
        grid-row: auto;
    }

    .innovation-image {
        height: 450px;
    }

    .innovation-secondary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .innovation-tertiary {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .innovation-image {
        height: 350px;
    }

    .innovation-overlay h3 {
        font-size: 1.8rem;
    }

    .innovation-secondary {
        grid-template-columns: 1fr;
    }

    .innovation-tertiary {
        grid-template-columns: 1fr;
    }
}

/* Innovation Carousel Section */
.innovation-carousel-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.innovation-carousel-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(21,152,149,0.05) 0%, transparent 70%);
    transform: translateY(-50%);
    pointer-events: none;
}

.innovation-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
    padding: 0 20px;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.innovation-title-wrapper {
    text-align: center;
}

.btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 38px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(26, 95, 122, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-see-all::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-see-all:hover::before {
    opacity: 1;
}

.btn-see-all:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(26, 95, 122, 0.4);
    gap: 18px;
}

.btn-see-all i {
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.btn-see-all span {
    position: relative;
    z-index: 1;
}

.btn-see-all:hover i {
    transform: translateX(5px);
}

/* Carousel Wrapper */
.projects-carousel-wrapper {
    position: relative;
    padding: 0 100px;
}

.projects-carousel {
    overflow: hidden;
    padding: 30px 0;
}

.carousel-track {
    display: flex;
    gap: 40px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Project Cards - 3 Cards Landscape Layout */
.project-card {
    flex: 0 0 calc(33.333% - 27px);
    min-width: calc(33.333% - 27px);
}

.project-link-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.project-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(26,95,122,0.1) 0%,
        rgba(194,153,88,0.1) 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.project-image-wrapper:hover::after {
    opacity: 1;
}

.project-image-wrapper:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
}

.project-image-wrapper:hover img {
    transform: scale(1.1);
    opacity: 1;
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.project-image-wrapper:hover .project-overlay {
    opacity: 1;
}

.project-category {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--accent-color), #b8935a);
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    width: fit-content;
    animation: slideInUp 0.6s ease;
    box-shadow: 0 6px 20px rgba(194, 153, 88, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-info {
    color: white;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    animation: slideInUp 0.6s ease 0.1s backwards;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.project-info p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.95;
    animation: slideInUp 0.6s ease 0.2s backwards;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.view-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: linear-gradient(135deg, white, #f8f9fa);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.4s ease;
    animation: slideInUp 0.6s ease 0.3s backwards;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.view-project-btn:hover {
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-color), #b8935a);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(194, 153, 88, 0.5);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot:hover {
    background: #999;
    transform: scale(1.2);
}

.carousel-dots .dot.active {
    width: 35px;
    border-radius: 6px;
    background: var(--primary-color);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .project-card {
        flex: 0 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .innovation-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 3rem;
    }

    .innovation-title-wrapper {
        text-align: center;
    }

    .btn-see-all {
        width: auto;
        justify-content: center;
    }

    .projects-carousel-wrapper {
        padding: 0 50px;
    }

    .project-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .project-image-wrapper {
        border-radius: 20px;
    }

    .project-image-wrapper img {
        height: 380px;
    }

    .project-overlay {
        padding: 30px;
        opacity: 1;
        background: linear-gradient(to top,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.7) 40%,
            rgba(0, 0, 0, 0.3) 70%,
            transparent 100%);
    }

    .project-info h3 {
        font-size: 1.1rem;
    }

    .project-info p {
        font-size: 0.8rem;
    }

    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .carousel-nav.prev {
        left: 5px;
    }

    .carousel-nav.next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .innovation-carousel-section {
        padding: 3rem 0;
    }

    .projects-carousel-wrapper {
        padding: 0 45px;
    }

    .project-image-wrapper {
        border-radius: 18px;
    }

    .project-image-wrapper img {
        height: 320px;
    }

    .project-overlay {
        padding: 25px;
    }

    .project-category {
        padding: 6px 12px;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .project-info h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .project-info p {
        font-size: 0.75rem;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .view-project-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }

    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .hero .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .projects-page-hero {
        padding: 140px 0 60px;
    }

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

    .projects-hero-subtitle {
        font-size: 1rem;
    }

    .all-projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-grid-overlay {
        padding: 2rem !important;
        background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 35%,
            rgba(0, 0, 0, 0.2) 65%,
            transparent 100%) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .project-grid-category {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }

    .project-grid-content h3 {
        font-size: 1.3rem !important;
        color: white !important;
    }

    .project-grid-content p {
        font-size: 0.85rem !important;
        color: rgba(255, 255, 255, 0.95) !important;
    }

    .project-grid-btn {
        font-size: 0.85rem !important;
        color: var(--accent-color) !important;
    }
}

/* Mobile Logo Responsive Styles */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .logo-subtitle {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .header {
        padding: 15px 0;
    }

    .navbar {
        padding: 0;
    }

    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

    .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    .header {
        padding: 12px 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

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

    .lead {
        font-size: 1rem;
    }

    .container {
        padding: 0 12px;
    }
}

@media (max-width: 375px) {
    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 0px;
    }

    .logo-subtitle {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

/* Page Hero Sections - Mobile Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 80px !important;
    }

    .page-header h1 {
        font-size: 2rem !important;
        padding: 0 15px;
    }

    .page-header p,
    .page-header .lead {
        font-size: 1rem !important;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px !important;
    }

    .page-header h1 {
        font-size: 1.75rem !important;
        padding: 0 10px;
    }

    .page-header p,
    .page-header .lead {
        font-size: 0.95rem !important;
        padding: 0 10px;
    }
}

@media (max-width: 375px) {
    .page-header {
        padding: 90px 0 50px !important;
    }

    .page-header h1 {
        font-size: 1.5rem !important;
    }

    .page-header p,
    .page-header .lead {
        font-size: 0.9rem !important;
    }
}
