:root {
    --primary-color: #1A1A1A;
    /* Deep Charcoal */
    --secondary-color: #F8F5F0;
    /* Marble White / Light Beige */
    --accent-color: #C5A065;
    /* Brushed Gold */
    --text-dark: #2D2D2D;
    --text-muted: #6B6B6B;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.1);
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    animation: fadeInPage 1s ease-out;
}

/* Page Preloader */
.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    width: 120px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(197, 160, 101, 0.2);
    border-top: 3px solid #C5A065;
    border-radius: 50%;
    animation: preloaderSpin 1s linear infinite;
}

.preloader-text {
    font-family: 'Cinzel', serif;
    color: #C5A065;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
}

@keyframes preloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderPulse {

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

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

@keyframes fadeInPage {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1000;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgb(26 26 26 / 0%);
    padding: 15px 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 92px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.navbar.scrolled .logo-img {
    height: 98px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.btn-contact {
    border: 1px solid var(--accent-color);
    padding: 8px 15px;
    border-radius: 0;
    /* Sharp edges for stone feel */
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background: #fff;
    color: #000 !important;
    border-color: #fff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--accent-color);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hamburger.toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.toggle span:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Brand Header (hidden on desktop) */
.navbar-mobile-header {
    display: contents;
    /* On desktop, just shows logo inline */
}

.mobile-brand-text {
    display: none;
    /* Hidden on desktop */
}

/* Mobile Navigation Styles */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        padding: 12px 20px;
        background: rgba(255, 255, 255, 0.98);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar-mobile-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        position: relative;
        transition: all 0.3s ease;
    }

    /* Scrolled state - move logo to left */
    .navbar.scrolled .navbar-mobile-header {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .logo-img {
        height: 77px;
    }

    .navbar.scrolled .logo-img {
        height: 56px;
    }

    .mobile-brand-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 6px;
        transition: all 0.3s ease;
    }

    /* Hide brand text when scrolled */
    .navbar.scrolled .mobile-brand-text {
        display: none;
    }

    .brand-name {
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 600;
        color: #1a1a1a;
        letter-spacing: 2.5px;
        text-transform: uppercase;
    }

    .brand-tagline {
        font-family: var(--font-body);
        font-size: 0.6rem;
        color: var(--accent-color);
        letter-spacing: 0.8px;
        text-transform: uppercase;
        margin-top: 3px;
        max-width: 300px;
        line-height: 1.2;
    }

    .hamburger {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    /* Adjust hamburger position when scrolled */
    .navbar.scrolled .hamburger {
        top: 15px;
    }

    .hamburger span {
        background: #333;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        padding-top: 120px;
        gap: 0;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-links li a {
        display: block;
        padding: 18px;
        color: #333;
        font-size: 1rem;
    }

    .nav-links li a:hover {
        background: #f5f5f5;
        color: var(--accent-color);
    }

    .nav-links li a::after {
        display: none;
    }

    /* Push content below fixed header */
    body {
        padding-top: 120px;
    }

    /* Adjust hero sections to sit flush below header */
    .hero-video {
        height: calc(100vh - 120px);
        margin-top: 0;
    }

    .page-header {
        margin-top: 0;
    }
}

/* Hero Video */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Google Drive Video Embed Styles */
/* Google Drive Video Embed Styles */
.video-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* maintains 16:9 coverage */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

/* Ensure ratio stability on different aspect ratios */
@media (max-aspect-ratio: 16/9) {
    .video-container iframe {
        width: 177.78vh;
        height: 100vh;
    }
}

@media (min-aspect-ratio: 16/9) {
    .video-container iframe {
        width: 100vw;
        height: 56.25vw;
    }
}

@keyframes fadeInVideo {
    from {
        opacity: 0;
        filter: blur(10px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darkens video */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.video-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.video-content p {
    font-size: 1.2rem;
    margin: 0 auto 50px auto;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    max-width: 800px;
    opacity: 0.9;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

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

.delay-400 {
    animation-delay: 0.6s;
}

.delay-600 {
    animation-delay: 1.2s;
}

/* Delayed scroll indicator */

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse-icon {
    width: 20px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: #fff;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* CTA Buttons (Shared) */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* Ensures center alignment */
    width: 100%;
}

.btn {
    text-decoration: none;
    padding: 15px 40px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #fff;
    z-index: -1;
    transition: width 0.3s ease;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

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



/* Products & Services Section - Premium Grid */
.products-section {
    padding: 100px 5%;
    background-color: var(--secondary-color);
    text-align: center;
}

.section-header {
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 20px auto 0;
}

/* Horizontal Scrollable Categories */
.categories-scroll-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.categories-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px 30px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) transparent;
}

.categories-scroll::-webkit-scrollbar {
    height: 6px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

.category-card {
    flex: 0 0 280px;
    min-width: 280px;
    height: 360px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-card:hover .category-card-image {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
    text-align: center;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.category-card-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loading-text {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    width: 100%;
}

.error-text {
    text-align: center;
    padding: 60px 20px;
    color: #dc3545;
    width: 100%;
}

.empty-text {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    width: 100%;
}

/* Responsive Categories */
@media (max-width: 768px) {
    .category-card {
        flex: 0 0 220px;
        min-width: 220px;
        height: 300px;
    }

    .category-card-title {
        font-size: 1.2rem;
    }

    .categories-scroll {
        gap: 15px;
        padding: 15px 5px 25px;
    }
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 Layout */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.collection-image {
    position: relative;
    height: 450px;
    /* Taller for better visual */
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover Effect: Image Zoom */
.collection-item:hover .collection-image img {
    transform: scale(1.1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Semi-transparent dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
    /* Premium feel */
}

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

.overlay-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.5s ease-out;
}

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

.overlay-content h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 300;
}

.btn-view {
    padding: 12px 35px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-view:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar {
        padding: 20px 30px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 400px;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

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

    .hamburger {
        display: flex;
    }

    .video-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    /* .content h1 removed (dead code) */

    .video-content h1 {
        font-size: 2.5rem;
    }

    .video-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        margin: 5px 0;
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* Landscape Mobile Fix */
@media (max-height: 500px) and (orientation: landscape) {
    .scroll-indicator {
        display: none;
    }

    .video-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }





    .products-section {
        padding: 60px 20px;
    }

    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        /* Reduced gap for mobile */
    }

    /* .collection-item removed empty rule */

    .collection-overlay {
        opacity: 1;
        /* Always visible on mobile */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
        align-items: flex-end;
        /* Align text to bottom */
        padding-bottom: 25px;
        /* Space from bottom */
        backdrop-filter: none;
        /* Clearer image view */
    }

    .overlay-content {
        transform: translateY(0);
        /* Reset animation position */
        width: 100%;
        text-align: left;
        /* Cleaner look for bottom align */
        padding-left: 15px;
    }

    .overlay-content h3 {
        font-size: 1.3rem;
        margin-bottom: 2px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }

    .overlay-content p {
        font-size: 0.85rem;
        margin-bottom: 12px;
        font-weight: 400;
        opacity: 0.9;
    }

    .btn-view {
        padding: 8px 20px;
        font-size: 0.75rem;
        background: #fff;
        color: #000;
        border: none;
        margin-top: 5px;
    }

    .collection-image {
        height: 300px;
        /* Taller to show off the stone patterns */
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .video-content h1 {
        font-size: 2rem;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .nav-links {
        width: 85%;
    }

    .logo-img {
        height: 40px;
    }
}

/* --- Portfolio Page Styles --- */

.page-header {
    height: 60vh;
    background-image: url('assets/images/luxury_marble_hero_1766126320680.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.overlay-header {
    position: relative;
    z-index: 1;
}

.overlay-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.overlay-header p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.portfolio-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
}

/* Portfolio Wrapper Box */
.portfolio-showcase-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    /* Deep distinct shadow */
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    min-height: 200px;
    /* Minimum height for look */
    transition: height 0.3s ease;
    /* Smooth resize if animated */
}

/* Portfolio Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 0;
    /* Removing top margin */
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 50px;
    padding: 10px 0;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Portfolio Filters - Removed */

.portfolio-item {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: none;
    /* Removed border */
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Stronger base shadow */
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    /* Slightly more rounded */
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    /* Higher lift */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Deep premium shadow */
    z-index: 10;
}

.portfolio-item:hover img {
    transform: scale(1.08);
    /* Subtle zoom */
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 20px;
}

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

.portfolio-overlay h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-overlay p {
    color: #fff;
    font-size: 0.9rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .portfolio-filters {
        display: flex;
        overflow-x: auto;
        padding: 10px 0;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        gap: 10px;
    }

    .filter-btn {
        flex: 0 0 auto;
        padding: 8px 15px;
        font-size: 0.85rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 for mobile */
        gap: 10px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }
}

.portfolio-item {
    position: relative;
    margin-bottom: 30px;
    break-inside: avoid;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    /* Slight rounded aesthetic */
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Overlay */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 62, 80, 0.85);
    /* Primary color with opacity */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 20px;
}

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

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

.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
    border: 2px solid var(--accent-color);
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}


/* --- About Us Section --- */
.about-section {
    padding: 100px 5%;
    background-color: #ffff;
    overflow: hidden;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    height: 500px;
    box-shadow: 20px 20px 0px var(--secondary-color);
}

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

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

.about-content {
    flex: 1;
    animation: fadeInUp 1s ease-out;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.about-content strong {
    font-weight: 700;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* --- Why Choose Us --- */
.why-choose-us {
    padding: 100px 5%;
    background-color: #f9f9f9;
    /* Light grey for contrast */
    text-align: center;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 0;
    /* Removing gap to let line connect smoothly, margin will handle spacing */
    max-width: 1400px;
    margin: 60px auto 0;
    position: relative;
    padding: 0 20px;
}

/* Connecting Line (Desktop: Horizontal) */
.features-grid::before {
    content: '';
    position: absolute;
    top: 80px;
    /* Center of icon (40px padding + 40px icon center) */
    left: 100px;
    /* Start after first card center */
    right: 100px;
    /* End before last card center */
    height: 3px;
    background: var(--accent-color);
    z-index: 0;
    opacity: 0.3;
}

.feature-item {
    background: transparent;
    /* Transparent to let line pass? No, maintain card look */
    /* actually, user wants "connected". If cards are boxes, line is weird. 
       Let's make them look connected by removing the box border and just having the icon connected */
    flex: 1;
    padding: 40px 20px;
    transition: all 0.3s ease;
    border: none;
    /* Removing border for cleaner connected look */
    position: relative;
    z-index: 1;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #fff;
    /* White bg for icon to hide the line crossing it */
    border: 3px solid var(--secondary-color);
    /* Border matches line area */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    /* On top of line */
}

.feature-item:hover .feature-icon {
    background: var(--accent-color);
    color: #fff;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.feature-item p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive for About */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: 350px;
        box-shadow: 10px 10px 0px var(--secondary-color);
    }

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

    .about-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}



/* --- Process Section (Dream Temple) - Vertical Timeline Layout --- */
.process-section {
    padding: 100px 5%;
    background-color: var(--secondary-color);
    text-align: center;
}

.process-container {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
    padding-left: 100px;
    /* Space for the timeline line */
    text-align: left;
}

/* The vertical connecting line */
.process-container::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 40px;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
            var(--accent-color),
            var(--accent-color) 10px,
            transparent 10px,
            transparent 20px);
    display: block;
}

.process-step {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: flex-start;
}

.process-step:last-child {
    margin-bottom: 0;
}

/* Step Marker (Circle on the line) */
.step-marker {
    position: absolute;
    left: -100px;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-number {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-weight: 700;
    background: var(--secondary-color);
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    margin: 0;
    opacity: 1;
    /* Resetting previous opacity */
}

/* Step Card Layout */
.step-card {
    background: #fff;
    display: flex;
    width: 100%;
    box-shadow: var(--shadow-soft);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.process-step:hover .step-card {
    transform: translateX(10px);
    box-shadow: var(--shadow-premium);
    border-color: var(--accent-color);
}

.step-image {
    width: 200px;
    /* Fixed width for vertical layout */
    height: auto;
    min-height: 150px;
    flex-shrink: 0;
}

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

.process-step:hover .step-image img {
    transform: scale(1.1);
}

.step-content {
    padding: 30px;
    flex: 1;
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    min-height: auto;
    justify-content: flex-start;
    text-align: left;
}

.step-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Responsive - Process */
@media (max-width: 900px) {
    .process-container {
        padding-left: 60px;
    }

    .process-container::before {
        left: 30px;
    }

    .step-marker {
        left: -60px;
        width: 60px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .process-container {
        padding-left: 0;
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        margin-top: 30px;
        scrollbar-width: none;
        /* Hide for Firefox */
    }

    .process-container::-webkit-scrollbar {
        display: none;
        /* Hide for Chrome/Safari/Edge */
    }

    .process-container::before {
        display: none;
        /* Hide vertical line on horizontal mobile scroll */
    }

    .process-step {
        flex: 0 0 calc(100% - 40px);
        min-width: 280px;
        scroll-snap-align: center;
        margin-bottom: 0;
        flex-direction: column;
        padding: 0 10px;
    }

    .step-marker {
        position: relative;
        left: 0;
        width: 100%;
        height: auto;
        margin-bottom: 10px;
        justify-content: flex-start;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .step-card {
        flex-direction: column;
        height: 100%;
    }

    .step-image {
        width: 100%;
        height: 180px;
    }

    .step-content {
        padding: 20px;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    /* Hide scrollbar but keep functionality or style it subtly */
    .process-container::-webkit-scrollbar {
        height: 4px;
    }

    .process-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
    }

    .process-container::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .process-step {
        flex: 0 0 calc(100% - 60px);
        min-width: 260px;
    }

    .step-content {
        padding: 15px;
    }
}

/* Mobile - Connected Vertical Features */
@media (max-width: 768px) {
    .features-grid {
        flex-direction: column;
        align-items: center;
        margin-top: 40px;
    }

    /* Vertical Line */
    .features-grid::before {
        top: 60px;
        /* Start below first icon top */
        bottom: 60px;
        /* End before last icon bottom */
        left: 50%;
        width: 3px;
        height: auto;
        transform: translateX(-50%);
        right: auto;
    }

    .feature-item {
        width: 100%;
        padding: 30px 20px;
    }

    .feature-item:hover {
        transform: none;
        /* No lift on mobile */
    }
}

/* --- Global Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}


/* --- Call Us Sidebar & Overlay --- */
.call-sidebar-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent-color);
    color: #000;
    padding: 15px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: all 0.3s ease;
}

.call-sidebar-btn:hover {
    background-color: #fff;
    padding-right: 20px;
}

.call-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    /* Allow scrolling if content is tall */
    padding: 20px;
    /* Add padding around the modal */
}

.call-overlay.active {
    display: flex;
    animation: fadeInOverlay 0.3s ease-out;
}

.call-box {
    background: #fff;
    width: 100%;
    max-width: 550px;
    /* Slightly wider for better readability */
    max-height: 90vh;
    /* Prevent overflow on short screens */
    overflow-y: auto;
    /* Internal scroll if content is too tall */
    padding: 40px 35px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    border: 2px solid var(--accent-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin: auto;
    /* Center within overlay */
}

.call-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #000;
    transition: color 0.3s;
    z-index: 10;
}

.call-close:hover {
    color: var(--accent-color);
}

.call-box h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
}

.call-list {
    list-style: none;
    text-align: left;
    margin-top: 10px;
}

.call-list li {
    margin-bottom: 18px;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

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

.call-category {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.call-numbers {
    display: block;
}

.call-numbers a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: color 0.3s;
    margin-right: 12px;
    display: inline-block;
    margin-bottom: 4px;
}

.call-numbers a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Tablet and smaller */
@media (max-width: 768px) {
    .call-box {
        padding: 30px 25px;
        max-width: 90%;
    }

    .call-box h2 {
        font-size: 1.6rem;
    }

    .call-category {
        font-size: 0.85rem;
    }

    .call-numbers a {
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .call-sidebar-btn {
        padding: 12px 8px;
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .call-overlay {
        padding: 10px;
    }

    .call-box {
        padding: 25px 20px;
        max-width: 95%;
        max-height: 85vh;
    }

    .call-box h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    .call-close {
        font-size: 1.8rem;
        top: 10px;
        right: 15px;
    }

    .call-list li {
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .call-category {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .call-numbers a {
        font-size: 0.95rem;
        display: block;
        margin-bottom: 6px;
        margin-right: 0;
    }
}



.contact-page-section {
    padding: 100px 5%;
    background-color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info,
.contact-form-container {
    flex: 1;
    min-width: 300px;
}

/* Contact Info Side */
.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.info-details h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.info-details p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.map-container {
    margin-top: 40px;
    height: 300px;
    width: 100%;
    background: #eee;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form Side */
.contact-form-container {
    background: #fdfdfd;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--accent-color);
}

@media (max-width: 768px) {
    .contact-container {
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2rem;
        text-align: center;
    }

    .contact-info p {
        text-align: center;
    }

    .contact-form-container {
        padding: 25px;
    }

    .map-container {
        height: 250px;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 160, 101, 0.1);
}

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

/* --- Luxury Footer --- */
.luxury-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 5% 0;
    font-family: var(--font-body);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3,
.footer-col .logo {
    color: var(--accent-color);
    font-family: var(--font-heading);
    margin-bottom: 25px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

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

.footer-col p {
    color: #aaa;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s;
    text-decoration: none;
}

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

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Footer Map Link */
.footer-map-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    padding: 10px 16px;
    background: rgba(197, 160, 101, 0.15);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-map-link:hover {
    background: var(--accent-color);
    color: #fff;
}

.footer-map-link svg {
    stroke: currentColor;
}

/* Footer Map Embed */
.footer-map-embed {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-embed iframe {
    width: 100%;
    height: 150px;
    border: none;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.footer-map-embed:hover iframe {
    filter: grayscale(0%);
}

/* --- Enquiry Modal (Slide-in) --- */
.enquiry-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 450px;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    overflow-y: auto;
}

.enquiry-modal.active {
    right: 0;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
    transform: rotate(90deg);
}

.enquiry-form h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.enquiry-form p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    background: #FDFDFD;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group input[readonly] {
    background: #F5F5F5;
    cursor: not-allowed;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Pulse Animation */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* --- Responsive Polish --- */
@media (max-width: 768px) {
    .enquiry-modal {
        width: 100%;
        padding: 40px 20px;
    }

    .content h1 {
        font-size: 2.2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .luxury-footer {
        padding: 60px 5% 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

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

/* Card Button Polish */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-sm {
    padding: 10px 15px;
    font-size: 0.75rem;
    flex: 1;
    text-align: center;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* --- Product Grid Styles for Catalog Page --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns for desktop */
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    position: relative;
    height: 400px;
    /* Fixed height for poster look */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .card-bg {
    transform: scale(1.1);
}

/* Price Badge - Top Right Corner */
.product-price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #C5A065;
    color: #1A1A1A;
    padding: 8px 14px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.product-card:hover .product-price-badge {
    background-color: #D4B074;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.product-design-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(197, 160, 101, 0.9);
    color: #1A1A1A;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.product-card:hover .product-design-badge {
    background-color: rgba(212, 176, 116, 0.95);
    transition: all 0.3s ease;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    /* Center content */
    z-index: 2;
    min-height: 150px;
}

.card-overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    font-family: var(--font-heading);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.card-overlay .btn-whatsapp {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #25D366;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.card-overlay .btn-whatsapp:hover {
    background-color: #128C7E;
}

.card-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* --- Responsiveness --- */

/* Tablet (max-width: 1024px) */
/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .product-card {
        height: 350px;
    }
}

/* Tablet Small / Mobile Landscape (max-width: 768px) */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card {
        height: 280px;
    }

    .card-overlay {
        padding: 15px;
        min-height: auto;
    }

    .card-overlay h3 {
        font-size: 1.1rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .product-grid {
        gap: 10px;
    }

    .product-card {
        height: 220px;
    }

    /* Touch Interaction - Zoom on active/focus */
    .product-card:active .card-bg,
    .product-card:focus .card-bg {
        transform: scale(1.1);
    }

    /* Ensure hover state also works if supported */
    .product-card:hover .card-bg {
        transform: scale(1.1);
    }

    .card-overlay {
        padding: 10px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    }

    .card-overlay h3 {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .card-overlay .btn-whatsapp {
        padding: 8px 5px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

/* --- Scroll Animation Classes --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* ========================================
   PRODUCT CARD CAROUSEL
   ======================================== */
.product-card {
    cursor: pointer;
}

.product-card-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-card-carousel .carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.product-card-carousel .carousel-img.active {
    opacity: 1;
}

.carousel-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ========================================
   PRODUCT MODAL
   ======================================== */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.product-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-close:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

.product-modal-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    max-height: 90vh;
}

/* Gallery Section */
.product-modal-gallery {
    position: relative;
    flex: 1.2;
    min-height: 400px;
    background: #111;
    overflow: hidden;
}

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

.gallery-slider .gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-slider .gallery-image.active {
    opacity: 1;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 20px;
    border-radius: 50%;
    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.2);
}

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

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.gallery-dots .gallery-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

.gallery-dots .gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Product Info Section */
.product-modal-info {
    flex: 0.8;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.product-modal-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-product-description {
    flex: 1;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}

.modal-product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--secondary-color);
    border-radius: 12px;
}

.modal-product-price {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

.modal-product-availability {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.modal-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .product-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .product-modal-content {
        flex-direction: column;
    }

    .product-modal-gallery {
        min-height: 300px;
        max-height: 45vh;
    }

    .product-modal-info {
        padding: 25px;
    }

    .product-modal-info h2 {
        font-size: 1.5rem;
    }

    .modal-product-description {
        font-size: 0.95rem;
    }

    .modal-product-price {
        font-size: 1.4rem;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .modal-whatsapp-btn {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-modal-gallery {
        min-height: 250px;
    }

    .product-modal-info {
        padding: 20px;
    }

    .product-modal-info h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .modal-product-meta {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .modal-product-price {
        font-size: 1.2rem;
    }
}

/* Product Badge Mobile Responsive */
@media (max-width: 768px) {
    .product-price-badge {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .product-design-badge {
        top: 10px;
        left: 10px;
        padding: 5px 9px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .product-price-badge {
        top: 8px;
        right: 8px;
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .product-design-badge {
        top: 8px;
        left: 8px;
        padding: 4px 7px;
        font-size: 0.6rem;
    }
}

/* ===== FOOTER STYLES ===== */
.luxury-footer {
    background-color: #1A1A1A;
    color: #F8F5F0;
    padding: 60px 5% 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* First Column - Logo + Social Links */
.footer-col:first-child {
    align-items: flex-start;
}

.footer-col .logo {
    margin-bottom: 20px;
}

.footer-col .logo img {
    height: 80px;
    width: auto;
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(197, 160, 101, 0.1);
    border-radius: 50%;
    color: #C5A065;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #C5A065;
    color: #1A1A1A;
    transform: translateY(-3px);
}

/* Second Column - Quick Links */
.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #C5A065;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #F8F5F0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #C5A065;
    padding-left: 5px;
}

/* Third Column - Contact + Map */
.footer-col p {
    color: #F8F5F0;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-map-embed {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-map-embed iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    color: #C5A065;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-map-link:hover {
    color: #D4B074;
}

/* Footer Bottom - Description + Copyright */
.footer-bottom {
    border-top: 1px solid rgba(197, 160, 101, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #F8F5F0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-bottom p:last-child {
    margin-top: 20px;
    color: #C5A065;
    font-size: 0.85rem;
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col:first-child {
        align-items: center;
        text-align: center;
    }

    .footer-col .logo img {
        height: 70px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-col h3 {
        text-align: center;
    }

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

    .footer-map-embed iframe {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .luxury-footer {
        padding: 40px 5% 20px;
    }

    .footer-col .logo img {
        height: 60px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* ===== BLOG CARDS FOR HOME PAGE ===== */
.blog-card {
    flex: 0 0 320px;
    min-width: 320px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    background-color: rgba(197, 160, 101, 0.1);
    color: #C5A065;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.8rem;
    color: #888;
}

.blog-card-date,
.blog-card-author {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .blog-card {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .blog-card-image {
        height: 180px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 1.1rem;
    }
}