/* 
   Vivid Touch Design - Premium Design System
   Theme: High-end Interior Design (Light)
*/

:root {
    --primary-color: #D4AF37;
    /* Metallic Gold */
    --secondary-color: #ffffff;
    /* White */
    --accent-color: #333333;
    /* Dark Gray */
    --text-light: #F5F5F5;
    /* Off-white (used for overlays) */
    --text-dark: #121212;
    /* Rich Black */
    --background: #ffffff;
    --background-alt: #f8f8f8;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.05);
    --transition: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.roboto-font {
    font-family: "Google Sans Flex", sans-serif;
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.text-gold {
    color: var(--primary-color);
}

.btn-premium {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s var(--transition);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.4s var(--transition);
}

.btn-premium:hover {
    color: var(--secondary-color);
}

.btn-premium:hover::before {
    width: 100%;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background: white;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: background 0.4s ease, padding 0.4s ease;
}

header.scrolled {
    background: white;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

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

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

header.scrolled .logo-light {
    display: none;
}

header.scrolled .logo-dark {
    display: block;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    /* Dark text for white header */
    font-weight: 500;
    position: relative;
}

header.scrolled .nav-link {
    color: var(--text-dark);
    /* Dark text for white scrolled header */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.mobile-menu-btn {
    display: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}


/* Dropdown Menu */
.dropdown {
    position: relative;
}

.nav-menu .dropdown-menu {
    display: block;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--transition);
    border-radius: 4px;
    border-top: 3px solid var(--primary-color);
    z-index: 1000;
}

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

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu .dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 500;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item:hover {
    background: #f9f9f9;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    /* Darker overlay for better text contrast */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s var(--transition) forwards;
}

.hero-content h1,
.hero-content p {
    color: #fff;
    /* Hero text usually needs to range white for contrast on images */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

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

/* Sections General */
section {
    padding: 100px 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    padding: 40px;
    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #f9f9f9;
    /* Light footer */
    padding: 80px 0 30px;
    border-top: 1px solid #eee;
    color: var(--text-dark);
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
    /* transition: 0.3s; */
    /* No filter for light mode, assume logo is correct or use dark logo */
}

.footer-heading {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 30px;
    color: #999;
    font-size: 0.85rem;
}

/* --- New Sections Styling - Premium Refinement --- */

/* Utility Overrides for Consistency */
.text-white {
    color: #fff !important;
}

.text-olive {
    color: var(--primary-color) !important;
}

.bg-black {
    background: #050505;
    color: #fff;
}

.bg-dark-200 {
    background: #0a0a0a;
    color: #fff;
}

.white-bg {
    background: #fff;
    padding: 80px 0;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pb-10 {
    padding-bottom: 10px;
}

.mb-4 {
    margin-bottom: 2rem;
}

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

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

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

/* Flip Card - Commitment Section (Dark & Gold Theme) */
.flip-card {
    background-color: transparent;
    width: 100%;
    max-width: 366px;
    height: 420px;
    /* Slight increase for breathing room */
    perspective: 1000px;
    margin: 0 auto 40px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.4, 1.2);
    /* Smoother flip */
    transform-style: preserve-3d;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    /* Sharper corners for modern luxury look */
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 4px;
    overflow: hidden;
}

.flip-card-front img {
    height: 100%;
    width: 100%;
    object-fit: cover !important;
    /* Force cover to prevent stretching */
    object-position: center;
    transition: transform 0.7s ease;
}

.flip-card:hover .flip-card-front img {
    transform: scale(1.05);
    /* Subtle zoom */
}

.flip-card-back {
    background-color: #0f0f0f;
    /* Premium Dark Background */
    background-image: linear-gradient(45deg, #0f0f0f 0%, #1a1a1a 100%);
    color: #e0e0e0;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    /* Subtle Gold Border */
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.flip-card-back h5 {
    font-size: 1.25rem;
    color: var(--primary-color);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 20px;
    margin-bottom: 25px;
    width: 100%;
    letter-spacing: 1px;
    font-weight: 500;
}

.flip-card-back p {
    font-weight: 300;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #ccc;
}

/* Testimonial Section */
.testimonial {
    padding: 100px 0;
    background-color: #000;
}

.testimonial_inner {
    padding: 80px 40px;
    background: #080808;
    border-left: 2px solid var(--primary-color);
    position: relative;
}

.testimonial-block {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-block p {
    font-family: 'Playfair Display', serif;
    /* Suggesting a serif font if available, fallback serif */
    font-style: italic;
    font-size: 1.6rem;
    margin-bottom: 40px;
    color: #fff;
    line-height: 1.6;
    opacity: 0.9;
}

.testimonial-block h6 {
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* Contact & Why Choose Section */
.contact_us {
    padding: 120px 0;
    background: #0c0c0c;
}

.why-details {
    padding: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 0;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.point_order li {
    list-style: none;
    color: #bbbbbb;
    margin-bottom: 25px;
    font-size: 1.05rem;
    position: relative;
    padding-left: 40px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Divider lines */
    padding-bottom: 10px;
}

.point_order li:last-child {
    border-bottom: none;
}

.point_order li:hover {
    padding-left: 50px;
    color: #fff;
}

.point_order li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 10px;
    top: 0;
    font-size: 1rem;
    opacity: 0.8;
}

/* Services Grid Refinement */
.service-card {
    background: #fff;
    padding: 0;
    /* Remove padding to let image bleed if needed, but here we keep internal */
    border: none;
    transition: all 0.5s ease;
    height: 100%;
    position: relative;
    text-align: left;
    /* Align left for cleaner look */
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    border-radius: 0;
    width: 100%;
    margin-bottom: 25px;
    filter: grayscale(100%);
    /* Elegant B&W initially */
    transition: filter 0.5s ease;
}

.service-card:hover img {
    filter: grayscale(0%);
    /* Color on hover */
}

.service-card h3 {
    padding: 0 20px;
    font-size: 1.4rem;
    font-weight: 400;
}

.service-card h3 a {
    text-decoration: none;
    color: var(--text-dark);
}

.service-card p {
    padding: 0 20px 20px;
    color: #777;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Share Links */
.share-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin: 0 12px;
    color: #555;
    transition: all 0.4s;
    font-size: 1.1rem;
}

.share-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 120px;
        transition: right 0.4s var(--transition);
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
    }

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

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        width: 100%;
        /* Ensure list takes full width */
    }

    /* Mobile Dropdown Fix */
    .nav-menu .dropdown-menu {
        position: relative;
        width: 100%;
        top: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f9f9f9;
        padding: 10px 0;
        display: block;
        /* Ensure it shows */
    }

    .dropdown-menu .dropdown-item {
        padding-left: 0;
        /* Center text */
        text-align: center;
    }

    .dropdown-menu .dropdown-item:hover {
        padding-left: 0;
        color: var(--primary-color);
        background: transparent;
    }

    .nav-link {
        color: var(--text-dark) !important;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        color: #fff;
        /* Default White for transparent header */
        transition: color 0.3s;
    }

    /* Make button dark when header is scrolled OR menu is active */
    header.scrolled .mobile-menu-btn,
    .mobile-menu-btn.active {
        color: var(--text-dark) !important;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .container {
        padding: 0 20px;
    }
}

/* --- Preloader Styles --- */

/* Welcome Preloader (Once per User) */
#welcome-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s var(--transition), visibility 1s var(--transition);
}

#welcome-preloader .preloader-logo {
    width: 150px;
    margin-bottom: 30px;
    animation: goldPulse 2s infinite ease-in-out;
}

#welcome-preloader .preloader-line-container {
    width: 200px;
    height: 1px;
    background: rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

#welcome-preloader .preloader-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    animation: lineLoading 2.5s infinite ease-in-out;
}

/* Navigation Preloader (Every Navigation) */
#nav-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 9998;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s var(--transition), visibility 0.6s var(--transition);
}

#nav-preloader .nav-loader {
    width: 40px;
    height: 40px;
    border: 2px solid #eee;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes goldPulse {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
        filter: drop-shadow(0 0 0 rgba(212, 175, 55, 0));
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    }
}

@keyframes lineLoading {
    0% {
        left: -100%;
    }

    50% {
        left: 0;
    }

    100% {
        left: 100%;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

body.preloader-active {
    overflow: hidden !important;
}

/* --- Toast Notifications --- */
#toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 25px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(-120%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
    min-width: 300px;
}

.toast.show {
    transform: translateX(0);
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.success .toast-icon {
    color: var(--primary-color);
}

.toast.error .toast-icon {
    color: #e74c3c;
}

/* --- Back to Top Button --- */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10001;
    /* Above almost everything */
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btt-float-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    /* animation: floatUpDown 3s infinite ease-in-out; */
}


#back-to-top i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

#back-to-top:hover i {
    transform: translateY(-5px);
}

#back-to-top svg {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 64px;
    height: 64px;
    transform: rotate(-90deg);
}

#back-to-top circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

#back-to-top:hover {
    background: var(--background);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

/* --- Decorative ornament --- */
.decorative-ornament {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 40px;
    height: 40px;
    z-index: 998;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ornament-inner {
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: relative;
    animation: ornamentPulse 4s infinite ease-in-out;
}

.ornament-inner::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: ornamentRotate 10s infinite linear;
}

@keyframes ornamentPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes ornamentRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Craftsmanship / 3D Spotlight --- */
#craftsmanship {
    background: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

#craftsmanship .section-title {
    margin-bottom: 30px;
    font-size: 3.5rem;
}

.craftsmanship-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 80px;
}

.craftsmanship-content {
    flex: 1;
    min-width: 350px;
    z-index: 2;
}

.craftsmanship-content p {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.craftsmanship-model-wrapper {
    flex: 1.2;
    min-width: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sofa-prop-container {
    width: 100%;
    max-width: 750px;
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    overflow: hidden;
}

#sofa-prop {
    width: 100%;
    height: 100%;
    cursor: grab;
    display: block;
}

#sofa-prop canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    pointer-events: auto;
}

#sofa-prop:active {
    cursor: grabbing;
}

.model-controls-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.8;
}

/* Background Decoration */
.craftsmanship-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25vw;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

@media (max-width: 1200px) {
    .craftsmanship-grid {
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    #craftsmanship .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    #craftsmanship {
        padding: 80px 0;
    }

    .craftsmanship-grid {
        flex-direction: column;
        text-align: center;
    }

    .craftsmanship-content {
        min-width: 100%;
    }

    .craftsmanship-content p {
        margin-left: auto;
        margin-right: auto;
    }

    #sofa-prop-container {
        max-width: 500px;
    }

    .craftsmanship-model-wrapper {
        width: 100%;
        min-width: 100%;
    }
}

/* --- Why Choose 3D Spotlight --- */
#why-choose-model-container {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    position: relative;
    margin: 0 auto;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

#why-choose-model {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#why-choose-model canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

#sofa-prop-container,
#why-choose-model-container,
.aos-wrapper {
    width: 100%;
}

@media (max-width: 991px) {
    #why-choose-model-container {
        margin-bottom: 50px;
        max-width: 450px;
    }
}

/* Portrait Carousel Section - Swiper */
.portrait-carousel-section {
    padding: 60px 0;
    background: #f9f9f9;
    overflow: hidden;
}

.portrait-carousel-wrapper {
    margin-left: 20%;
    padding: 10px;
    overflow: visible;
    position: relative;
}

/* Swiper Styles */
.portrait-swiper {
    overflow: visible;
    padding: 10px 0;
}

.portrait-swiper .swiper-slide {
    width: 380px;
    height: 600px;
    /* border-radius: 8px; */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.portrait-swiper .swiper-slide:hover {
    /* transform: scale(1.03); */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portrait-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    user-select: none;
}

/* Slide Name Overlay */
.slide-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.slide-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.slide-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-left {
    left: -25px;
}

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

/* Mobile Responsiveness for Portrait Carousel */
@media (max-width: 768px) {
    .portrait-carousel-wrapper {
        margin-left: 10%;
    }

    .portrait-swiper .swiper-slide {
        width: 220px;
        height: 320px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .carousel-nav-left {
        left: -15px;
    }

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