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

:root {
    --marble-light: #f8f7f5;
    --marble-dark: #66583d;
    --marble-gold: #c5a572;
    --marble-gray: #94938f;
    --marble-cream: #f3f1eb;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: var(--marble-cream);
}

.heading-font {
    font-family: 'Playfair Display', serif;
}

/* Container with zoom-friendly behavior */
.container-zoom {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.container-zoom-nav {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

@media (min-width: 1536px) {
    .container-zoom {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

/* Video Hero Container - Responsive Fix */
.video-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    width: 100%;
}

.video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

/* Mobile-specific video styles */
@media (max-width: 768px) {
    .video-hero {
        height: 80vh;
        min-height: 500px;
    }

    .video-hero video {
        width: 100%;
        height: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
    }
}

/* For very small devices */
@media (max-width: 480px) {
    .video-hero {
        height: 70vh;
        min-height: 450px;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem !important;
    }

    .hero-buttons button {
        width: 100%;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Collection Grid */
.marble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 640px) {
    .marble-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.marble-item {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.marble-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.marble-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease, filter 0.5s ease;
}

.marble-item:hover .marble-image {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.marble-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    backdrop-filter: blur(5px);
}

.marble-item:hover .marble-content {
    transform: translateY(0);
}

.marble-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.marble-item:hover .marble-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.marble-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.marble-item:hover .marble-description {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.marble-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--marble-gold);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.marble-item:hover .marble-price {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.marble-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--marble-gold);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease;
}

.marble-item:hover .marble-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.marble-button:hover {
    background: #b08d57;
}

.marble-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--marble-gold);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.marble-item:hover .marble-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Custom marble background pattern */
.marble-bg {
    background-color: #f8f7f5;
    background-image:
        radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.5) 0%, transparent 20%),
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        linear-gradient(45deg, #f0eeeb 25%, transparent 25%, transparent 75%, #f0eeeb 75%, #f0eeeb),
        linear-gradient(-45deg, #f0eeeb 25%, transparent 25%, transparent 75%, #f0eeeb 75%, #f0eeeb);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-position: 0 0, 0 0, 0 0, 20px 20px;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom button styles */
.btn-gold {
    background: linear-gradient(135deg, var(--marble-gold), #b08d57);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(192, 161, 107, 0.3);
}

/* Customize Design Section */
.design-process {
    position: relative;
}

.process-step {
    position: relative;
    padding-left: 3rem;
}

.process-step:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--marble-gold);
}

.step-number {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--marble-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--marble-gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a78a5d;
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* White navbar specific styles */
.navbar-white {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.nav-link {
    position: relative;
    font-weight: 500;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #000000;
    /* Tailwind blue-600 */
}

/* fallback underline for active page */
/*.nav-link.active::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    bottom: -2px;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 3px;*/
/*    background-color: #000000;*/
/*    border-radius: 2px;*/
/*}*/


.logo-text {
    color: var(--marble-dark);
}

.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

.menu-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}

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

.get-quote-btn {
    background: linear-gradient(135deg, var(--marble-gold), #b08d57);
    color: white;
    transition: all 0.3s ease;
}

.channel-experience {
    background: linear-gradient(rgb(125 100 100 / 70%), rgba(0, 0, 0, 0.7)), url(../images/bg/1023.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0px;
}

.get-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(192, 161, 107, 0.3);
}

/* Section spacing */
.section-spacing {
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 2rem 0;
    }
}

/* Catalog Item Styles */
.catalog-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 420px;
}

.catalog-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.catalog-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.catalog-item:hover .catalog-image {
    transform: scale(1.08);
}

.catalog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 280px;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.catalog-item:hover .catalog-overlay {
    opacity: 1;
}

.download-btn {
    background: #c5a572;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.catalog-item:hover .download-btn {
    transform: translateY(0);
    opacity: 1;
}

.download-btn:hover {
    background: #b08d57;
    box-shadow: 0 5px 15px rgba(192, 161, 107, 0.4);
}

.catalog-content {
    padding: 1.5rem;
    background: white;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.catalog-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #c5a572;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #c5a572;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.lightbox-nav button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(197, 165, 114, 0.8);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
}

/* Clients Section */
.clients-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8f7f5, #f3f1eb);
    position: relative;
    overflow: hidden;
}

/* Logo Carousel */
.logo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 4rem 0;
}

.logo-track {
    display: flex;
    width: calc(250px * 14);
    animation: scroll 40s linear infinite;
}

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

.logo-item {
    width: 200px;
    height: 120px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #f3f1eb; */
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo-img {
    max-width: 100%;
    max-height: 70px;
    /* filter: grayscale(100%); */
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-item:hover .logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

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

    100% {
        transform: translateX(calc(-250px * 7));
    }
}

/* Gradient overlays for smooth edges */
.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, #f3f1eb, transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, #f3f1eb, transparent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-track {
        width: calc(200px * 14);
        animation: scroll 30s linear infinite;
    }

    .logo-item {
        width: 150px;
        height: 100px;
        margin: 0 20px;
    }

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

        100% {
            transform: translateX(calc(-200px * 7));
        }
    }
}

@media (max-width: 480px) {
    .logo-track {
        width: calc(150px * 14);
        animation: scroll 25s linear infinite;
    }

    .logo-item {
        width: 120px;
        height: 80px;
        margin: 0 15px;
    }

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

        100% {
            transform: translateX(calc(-150px * 7));
        }
    }
}