:root {
    /* Color Palette */
    --bg-main: #ffffff;
    --bg-darker: #f5f4f1;
    /* Warm light gray */
    --text-main: #1a1a1a;
    --text-muted: #595959;
    --accent: #c0392b;
    --accent-dark: #a93226;
    --border-color: rgba(0, 0, 0, 0.08);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Spacing */
    --section-pad: 100px;
    --container-width: 1280px;

    /* Animation easing */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--section-pad) 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.w-100 {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.btn-text .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-text:hover .arrow {
    transform: translateX(5px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: #ffffff;
    backdrop-filter: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.nav-active {
    color: var(--accent);
}

.main-nav a.nav-active::after {
    width: 100%;
    background-color: var(--accent);
}

.mobile-nav-contact {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    bottom: 0;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    transform: scale(1.05);
    /* Slight zoom for Ken Burns effect */
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding-top: 80px;
    /* Offset header */
    margin-left: 100px;
}

@media only screen and (max-width: 992px) {
    .hero-content {
        margin-left: 0px;
    }
}

.hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #e0e0e0;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollFade 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }

    100% {
        transform: scaleY(1);
        opacity: 0;
    }
}

@keyframes scrollFade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.8s ease;
    object-position: right;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

.about-text .btn {
    margin-top: 1.5rem;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s ease, background 0.4s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.product-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.product-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Showrooms Section */
.showroom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.showroom-card {
    position: relative;
    overflow: hidden;
}

.showroom-image {
    width: 100%;
    height: 400px;
}

.showroom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.8);
    transition: filter 0.5s ease, transform 0.8s ease;
}

.showroom-card:hover .showroom-image img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

.showroom-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

.showroom-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.location-tag {
    display: inline-block;
    background: var(--accent);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.showroom-info p:not(.location-tag) {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 90%;
}

/* Gallery Strip */
.gallery-strip {
    overflow: hidden;
    width: 100%;
    background: var(--bg-darker);
}

.gallery-strip-track {
    display: flex;
    height: 280px;
    gap: 6px;
    animation: galleryScroll 30s linear infinite;
    width: max-content;
}

.gallery-strip-track:hover {
    animation-play-state: paused;
}

.gallery-strip-item {
    overflow: hidden;
    flex-shrink: 0;
    height: 100%;
}

.gallery-strip-item.wide {
    width: 420px;
}

.gallery-strip-item.med {
    width: 300px;
}

.gallery-strip-item.narrow {
    width: 200px;
}

.gallery-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) brightness(0.9);
    transition: filter 0.5s ease, transform 0.7s ease;
}

.gallery-strip-item:hover img {
    filter: grayscale(0%) brightness(1.05);
    transform: scale(1.04);
}

@keyframes galleryScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Stats Bar */
.stats-bar {
    background: var(--accent);
    padding: 50px 0;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

/* Trust Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 3rem;
}

.trust-item {
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.trust-item:hover {
    border-color: var(--accent);
}

.trust-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--accent);
}

.trust-item h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.faq-header p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.7;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    text-align: left;
    gap: 20px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question[aria-expanded="true"] {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out-expo);
    color: var(--text-muted);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s var(--ease-out-expo), padding 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.method {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.method a {
    font-size: 1.2rem;
}

.method a:hover {
    color: var(--accent);
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flex-2 {
    flex: 2;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-cta-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-logo img {
    height: 30px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

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

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a:hover {
    color: var(--text-main);
}

/* --- Animations & Staggered Reveals --- */

/* Initial hidden state */
.fade-up,
.fade-in {
    opacity: 0;
    will-change: transform, opacity;
}

.fade-up {
    transform: translateY(40px);
}

/* Active class applied by JS */
.fade-up.is-visible {
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.fade-in.is-visible {
    animation: fadeIn 1s ease forwards;
}

/* Delays */
.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* --- Page Headers & Interior Pages --- */
.page-header {
    padding: 160px 0 80px;
    background: var(--bg-darker);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
    color: var(--text-main);
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a {
    color: var(--text-main);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.content-page {
    padding: var(--section-pad) 0;
}

/* Jobs Page Styles */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: #ffffff;
}

.job-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.job-card h3 {
    margin-bottom: 15px;
    color: var(--text-main);
}

.job-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Opening hours list */
.opening-hours-list {
    margin-top: 40px;
}

.opening-hours-list h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.opening-hours-list ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.opening-hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 5px;
}

.opening-hours-list li span:last-child {
    font-weight: 500;
    color: var(--text-main);
}

.text-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.text-content-wrapper p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Form Feedback */
.form-feedback {
    margin-top: 16px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    border-radius: 2px;
    text-align: center;
}

.form-feedback--success {
    background: #f0faf4;
    color: #1a7a3c;
    border: 1px solid #a8dfbe;
}

.form-feedback--error {
    background: #fff5f5;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --- Responsive --- */
@media (max-width: 1024px) {

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

@media (max-width: 900px) {

    .contact-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-main);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s var(--ease-out-expo);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .mobile-nav-contact {
        display: block;
    }

    .mobile-nav-contact .btn {
        display: inline-block;
        color: #fff;
        font-size: 1.5rem;
        padding: 16px 32px;
    }

    .mobile-nav-contact .btn.nav-active,
    .mobile-nav-contact .btn:hover {
        color: #fff;
    }

    .mobile-nav-contact .btn::after {
        display: none;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .header-container > .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .stat-divider {
        display: none;
    }

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

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
