/* ==============================================
   CITATAH AMS MARBLE - STYLE.CSS
   Complete with robust mobile menu system
   ============================================== */

/* 1. VARIABLES & GENERAL SETUP */
:root {
    /* Color Palette */
    --primary-color: #000000;
    --secondary-color: #d4af37;
    --gold-light: #f4e4a6;
    --gold-dark: #b8941f;
    --light-color: #f8f8f8;
    --dark-color: #121212;
    --text-color: #333333;
    --text-light: #777777;
    
    /* Effects */
    --transition: all 0.3s ease;
    --smooth-transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                         opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    
    /* 3D Coverflow */
    --card-width: 280px;
    --card-height: 380px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: #000;
    -webkit-overflow-scrolling: touch;
}

/* Body state when mobile menu is open */
body.menu-open {
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================================
   2. HEADER - DESKTOP VERSION
   ============================================== */
header {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    height: 100px;
    left: 0;
    right: 0;
}

header.scrolled {
    height: 80px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-left {
    justify-content: flex-start;
}

.header-right {
    justify-content: flex-end;
}

.logo-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    padding: 10px 0;
}

.logo-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    filter: brightness(1.1);
    transition: var(--transition);
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-top: 5px;
    text-align: center;
    transition: var(--transition);
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: var(--gold-light);
}

.desktop-nav a:hover::after, .desktop-nav a.active::after {
    width: 100%;
}

/* ==============================================
   ROBUST MOBILE MENU SYSTEM - FIXED VERSION
   ============================================== */

/* 1. MOBILE MENU OVERLAY */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 2. MOBILE MENU CONTAINER */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-color);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(100%);
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active .mobile-menu-container {
    transform: translateX(0);
    right: 0;
}

/* 3. MENU TOGGLE - HAMBURGER ICON */
.menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 10003;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.menu-toggle:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 20px;
    margin: 0 auto;
}

.bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.bar1 { top: 0; }
.bar2 { top: 50%; transform: translateY(-50%); }
.bar3 { bottom: 0; }

/* Active state for hamburger (X shape) */
.menu-toggle.active .bar1 {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--gold-light);
}

.menu-toggle.active .bar2 {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .bar3 {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--gold-light);
}

/* 4. MOBILE MENU HEADER */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.mobile-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.2);
}

.mobile-logo span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

/* Close button inside menu */
.mobile-menu-close-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--secondary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.mobile-menu-close-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* 5. MOBILE NAVIGATION */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 16px 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.mobile-nav-link:hover i {
    color: var(--gold-light);
    transform: scale(1.1);
}

/* 6. MOBILE CONTACT INFO */
.mobile-contact-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.mobile-contact-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}

.mobile-contact-item:last-child {
    margin-bottom: 0;
}

.mobile-contact-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    min-width: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.mobile-contact-item a {
    color: rgba(212, 175, 55, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-contact-item a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* 7. MOBILE SOCIAL LINKS */
.mobile-social-section {
    margin-bottom: 30px;
}

.mobile-social-title {
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.mobile-social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* 8. MOBILE CALL TO ACTION */
.mobile-menu-cta {
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.2);
    margin-bottom: 20px;
}

.mobile-menu-cta h4 {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mobile-menu-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.mobile-cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.mobile-cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* 9. MOBILE MENU FOOTER */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.mobile-menu-footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* 10. BODY SCROLL LOCK */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* 11. RESPONSIVE ADJUSTMENTS */

/* Tablet and Desktop - Hide mobile menu toggle */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    
    .mobile-menu-overlay,
    .mobile-menu-container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Ensure desktop nav is visible */
    .desktop-nav {
        display: flex !important;
    }
    
    .header-left, .header-right {
        display: flex !important;
    }
}

/* Mobile - Show mobile menu toggle, hide desktop nav */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .desktop-nav {
        display: none !important;
    }
    
    .header-left, .header-right {
        display: none !important;
    }
    
    .logo-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex: none;
    }
    
    /* Adjust header for mobile */
    header {
        padding: 0 60px 0 20px; /* More padding on right for hamburger */
        height: 70px;
    }
    
    header.scrolled {
        height: 60px;
    }
    
    .logo-img {
        height: 50px !important;
    }
    
    .logo-text {
        font-size: 0.9rem !important;
        margin-top: 2px;
    }
    
    /* Mobile menu container adjustments */
    .mobile-menu-container {
        max-width: 320px;
        padding: 20px;
    }
    
    .mobile-logo img {
        width: 40px;
        height: 40px;
    }
    
    .mobile-logo span {
        font-size: 1.1rem;
    }
    
    .mobile-nav-link {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .mobile-contact-item {
        font-size: 0.9rem;
    }
    
    .mobile-social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .menu-toggle {
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-container {
        max-width: 280px;
        padding: 15px;
    }
    
    .mobile-nav-link {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .mobile-contact-section {
        padding: 15px;
    }
    
    .mobile-menu-cta {
        padding: 15px;
    }
    
    .mobile-cta-button {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* 12. ANIMATIONS */

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 4px 20px rgba(255, 107, 107, 0.7); }
    100% { box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4); }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Apply animations */
.mobile-menu-overlay.active {
    animation: fadeIn 0.3s ease forwards;
}

.mobile-menu-container {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mobile-menu-overlay:not(.active) {
    animation: fadeOut 0.3s ease forwards;
}

.mobile-menu-overlay:not(.active) .mobile-menu-container {
    animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 13. ACCESSIBILITY IMPROVEMENTS */
.mobile-nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    background: rgba(212, 175, 55, 0.2);
}

.mobile-social-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.mobile-cta-button:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mobile-nav-link {
        border-left-width: 3px;
    }
    
    .mobile-menu-container {
        border-left: 3px solid var(--secondary-color);
    }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu-container,
    .mobile-menu-overlay,
    .mobile-nav-link,
    .mobile-social-link,
    .menu-toggle,
    .bar {
        transition: none !important;
        animation: none !important;
    }
    
    .mobile-menu-overlay:not(.active) .mobile-menu-container {
        transform: translateX(100%);
    }
    
    .mobile-menu-overlay.active .mobile-menu-container {
        transform: translateX(0);
    }
}

/* 14. DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
    .mobile-menu-container {
        background: #111;
    }
    
    .mobile-contact-section {
        background: rgba(0, 0, 0, 0.4);
    }
    
    .mobile-menu-cta {
        background: rgba(212, 175, 55, 0.05);
    }
}

/* ==============================================
   4. HERO SLIDER
   ============================================== */
.slider-section {
    height: 90vh;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    width: 100%;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.slide.active {
    opacity: 1.0;
}

.hero1-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    z-index: 1;
}

.hero1-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--gold-light);
    font-weight: 500;
}

.hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid var(--secondary-color);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 10px;
	justify-content: center;
	align-items: center;
    background-color: rgba(212, 175, 55, 0.1);
}

.hero-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}


.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    border: none;
}

.slider-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--gold-light);
}

.prev-main {
    left: 30px;
}

.next-main {
    right: 30px;
}

.slider-indicators {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* ==============================================
   5. SECTION HEADER STYLES
   ============================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 20px auto 25px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Granite Spray Accordion */
.granite-spray-accordion {
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.accordion-header {
  padding: 20px;
  background-color: #f8f8f8;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: #333;
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: #eee;
}

.accordion-icon {
  font-size: 1.4rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background-color: white;
}

.accordion-content.show {
  padding: 20px;
  max-height: 800px; /* adjust if content grows */
}

.granite-gallery {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.granite-gallery img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.granite-cta {
  display: inline-block;
  background-color: #d4af37;
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-top: 15px;
}

.granite-cta:hover {
  background-color: #b8941f;
}

/* ==============================================
   PRODUCT PAGE FILTER BAR - ADD THIS TO YOUR style.css
   ============================================== */

/* Filter Section */
.filter-section {
    background: var(--light-color);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 80px;
    z-index: 900;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label i {
    color: var(--secondary-color);
}

.filter-select {
    padding: 12px 15px;
    min-width: 180px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    background-color: white;
    transition: var(--transition);
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    color: #333;
    font-size: 14px;
}

.filter-select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.filter-select:hover {
    border-color: var(--secondary-color);
}

.filter-reset {
    flex-shrink: 0;
    align-self: center;
    margin-bottom: 8px;
}

.reset-btn {
    padding: 12px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    height: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.reset-btn:hover {
    background: #e9e9e9;
    border-color: #bbb;
    color: #333;
}

.filter-status {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Load More Button Styles - Add this section too */
.load-more-container {
    text-align: center;
    margin: 40px 0;
    padding: 20px;
    display: none;
}

.load-more-btn {
    background: linear-gradient(135deg, #8B7355 0%, #A08B6E 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #A08B6E 0%, #8B7355 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.load-more-btn .loading {
    display: none;
}

.load-more-btn.loading .text {
    display: none;
}

.load-more-btn.loading .loading {
    display: inline-block;
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.items-shown {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* Hidden items for load more functionality */
.honeycomb-cell.hidden {
    display: none !important;
}

/* Responsive adjustments for filter bar */
@media (max-width: 992px) {
    .filter-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .filter-group {
        flex: 1 1 calc(50% - 10px);
        min-width: 200px;
    }
    
    .filter-reset {
        flex: 1 1 100%;
        margin-top: 10px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .filter-group {
        flex: 1 1 100%;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-reset {
        margin-top: 0;
        align-self: stretch;
    }
    
    .reset-btn {
        width: 100%;
        margin-top: 10px;
    }
    
    .filter-select {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    /* Stack filters on mobile */
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        min-width: 100%;
    }
    
    .reset-btn {
        width: 100%;
        margin-top: 10px;
    }
}

/* ==============================================
   6. HORIZONTAL PRODUCT GALLERY
   ============================================== */
.product-gallery {
    padding: 40px 5%;
    background: var(--light-color);
    position: relative;
    width: 100%;
}

.gallery-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 50px;
}

.gallery-viewport {
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 20px 10px;
    width: 100%;
}

.product-card {
    min-width: 320px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--smooth-transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
    flex-shrink: 0;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-image-wrapper {
    overflow: hidden;
    height: 250px;
    position: relative;
    transform: translateZ(0);
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.view-details {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: var(--transition);
}

.view-details:hover {
    background-color: var(--gold-light);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .view-details {
    transform: translateY(0);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.product-origin {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-nav {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
}

.gallery-nav:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
    border-color: var(--secondary-color);
}

.prev-gallery {
    left: -25px;
}

.next-gallery {
    right: -25px;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
}

.cta-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* ==============================================
   7. MATERIAL COLLECTIONS GRID
   ============================================== */
.collections-section {
    padding: 40px 5%;
    background-color: white;
    width: 100%;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.collection-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: #000;
    box-shadow: var(--shadow);
    transition: var(--smooth-transition);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.collection-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    opacity: 0.9;
    transform: translateZ(0);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.collection-overlay h3 {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    transform: translateY(10px);
    transition: var(--transition);
}

.collection-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.collection-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
}

.collection-item:hover .collection-bg {
    transform: scale(1.1);
    opacity: 0.5;
}

.collection-item:hover .collection-overlay h3 {
    transform: translateY(0);
}

.collection-item:hover .collection-description,
.collection-item:hover .collection-link {
    opacity: 1;
    transform: translateY(0);
}

.collection-link:hover {
    border-bottom-color: var(--secondary-color);
    color: var(--gold-light);
}

/* ============================================== */
/* 8. COMPARISON SECTION - Stone Grid & Slider */
/* ============================================== */
.comparison-section {
    padding: 10px 5%;
    background-color: white;
    width: 100%;
}
/* === Stone Grid === */
.stone-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.stone-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8f9fa;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 140px;
}

.stone-btn:hover, .stone-btn.active {
  border-color: var(--secondary-color); /* Uses your CSS variable */
  background: rgba(212, 175, 55, 0.1); /* Uses your secondary color */
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover); /* Uses your CSS variable */
}

.stone-btn img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 6px;
}

.stone-btn span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* === Before/After Slider Styles (Updated for Overlay Effect) === */
.comparison-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 auto; /* Center the slider */
  cursor: grab; /* Indicate the slider is draggable */
}

.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer; /* Indicate clickability for zoom */
  /* Disable pointer events on images themselves to allow slider interaction */
  pointer-events: none;
}

/* The "After" image is the top layer that gets clipped */
.image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Initially, clip the entire "after" image out of view (showing "before") */
  clip-path: inset(0 50% 0 0);
  /* Alternative to clip-path if needed: overflow: hidden; width: 0; */
  z-index: 2; /* Ensure it's above the "before" image */
}

/* The slider input itself is invisible but captures drag events */
.slider-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize; /* Change cursor when hovering over slider area */
  z-index: 10; /* Ensure it's on top to capture events */
}

/* The vertical line indicating the slider position */
.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px; /* Thinner line */
  background: var(--secondary-color);
  /* Initially positioned at the middle */
  left: 50%;
  transform: translateX(-50%); /* Center the line on the slider handle */
  z-index: 8;
  pointer-events: none; /* Allow clicks to pass through to the input */
}

/* The draggable handle */
.slider-button {
  position: absolute;
  top: 50%;
  /* Initially positioned at the middle */
  left: 50%;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%); /* Center the handle */
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease; /* Smooth transform on hover/click */
}

.slider-button:hover {
  transform: translate(-50%, -50%) scale(1.1); /* Slightly enlarge on hover */
}

.slider-button i {
  color: white;
  font-size: 18px;
}

/* === Lightbox Styles === */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 15px; right: 25px;
  color: white;
  font-size: 36px;
  cursor: pointer;
  z-index: 2001;
  line-height: 1;
}

.lightbox-caption {
  color: white;
  margin-top: 10px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

/* ==============================================
   9. PORTFOLIO SECTION
   ============================================== */
.portfolio-section {
    padding: 40px 5%;
    background: var(--light-color);
    width: 100%;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid var(--secondary-color);
    color: var(--text-color);
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    contain: content;
}

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--smooth-transition);
    opacity: 1;
    transform: scale(1);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    transform: translate3d(0, 0, 0);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.portfolio-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-cta {
    text-align: center;
    margin-top: 20px;
}

/* ==============================================
   10. QUOTE CALCULATOR SECTION
   ============================================== */
.quote-section {
    padding: 40px 5%;
    background: white;
    width: 100%;
}

.quote-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.quote-form-container {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--secondary-color);
}

.form-select, .form-input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-select:focus, .form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.area-input {
    display: flex;
    align-items: center;
    gap: 20px;
}

.area-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
}

.area-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
}

.area-display {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 5px 15px;
    min-width: 120px;
}

.area-display input {
    border: none;
    width: 80px;
    text-align: right;
    font-size: 1rem;
    font-weight: 600;
}

.area-unit {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
}

.area-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

.finish-options, .installation-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.finish-option, .installation-option {
    display: block;
}

.finish-option input, .installation-option input {
    display: none;
}

.finish-label, .installation-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: white;
    height: 100%;
}

.finish-label i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-light);
}

.finish-option input:checked + .finish-label,
.installation-option input:checked + .installation-label {
    border-color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.05);
    color: var(--secondary-color);
}

.finish-option input:checked + .finish-label i,
.installation-option input:checked + .installation-label {
    color: var(--secondary-color);
}

.calculate-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.calculate-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.quote-result-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-result {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex: 1;
}

.result-placeholder {
    text-align: center;
    color: var(--text-light);
    padding: 40px 20px;
}

.result-placeholder i {
    font-size: 3rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.result-placeholder h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.quote-details {
    display: none;
}

.quote-summary {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    border-left: 4px solid var(--secondary-color);
}

.quote-summary h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.quote-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.breakdown-item.total {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-top: 10px;
    margin-top: 10px;
}

.quote-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quote-action-btn {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid var(--secondary-color);
    background: white;
    color: var(--secondary-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 150px;
}

.quote-action-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.quote-action-btn.primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.quote-action-btn.primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

.quote-disclaimer {
    background: rgba(212, 175, 55, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-color);
}

.quote-disclaimer p {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.quote-disclaimer i {
    color: var(--secondary-color);
    margin-top: 3px;
}

/* ==============================================
   11. MAINTENANCE GUIDE SECTION
   ============================================== */
.maintenance-section {
    padding: 40px 5%;
    background: var(--light-color);
    width: 100%;
}

.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.maintenance-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.maintenance-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.maintenance-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.maintenance-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.maintenance-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.maintenance-tips {
    list-style: none;
    margin-bottom: 25px;
}

.maintenance-tips li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
    font-size: 0.9rem;
}

.maintenance-tips li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.maintenance-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
}

.maintenance-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.maintenance-cta {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.maintenance-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.maintenance-download i {
    font-size: 3rem;
    color: var(--secondary-color);
}

.maintenance-download h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.maintenance-download p {
    color: var(--text-light);
}

.download-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.download-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ==============================================
   12. 3D COVERFLOW STYLES
   ============================================== */
.scene {
    position: relative;
    width: 100%;
    height: 470px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 20px;
    transform: translateZ(0);
    isolation: isolate;
}

.coverflow {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.card {
    position: absolute;
    width: var(--card-width);
    height: var(--card-height);
    background: #fff;
    border-radius: 8px;
    left: 50%;
    top: 50%;
    margin-left: calc(var(--card-width) * -0.5);
    margin-top: calc(var(--card-height) * -0.5);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    cursor: pointer;
    overflow: hidden;
    -webkit-box-reflect: below 5px linear-gradient(to bottom, transparent 70%, rgba(255,255,255,0.1) 100%);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    content-visibility: auto;
}

.info-panel {
    margin: 40px auto;
    text-align: center;
    max-width: 600px;
    height: 100px;
    position: relative;
}

.info-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.info-content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.info-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.info-desc {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    font-size: 0.9rem;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    background: #1a1a1a;
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn:hover {
    background: #bc9355;
}

/* ==============================================
   13. GUIDE MODAL
   ============================================== */
.guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.guide-modal-content {
    background: white;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-modal-header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-modal-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin: 0;
}

.guide-modal-close {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guide-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.guide-content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    margin: 25px 0 15px;
    color: var(--dark-color);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.guide-content h4:first-child {
    margin-top: 0;
}

.guide-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.guide-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.guide-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.guide-content strong {
    color: var(--secondary-color);
}

/* ==============================================
   14. MOBILE CTA BUTTON
   ============================================== */
.mobile-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
    animation: fadeInUp 0.3s ease;
}

.mobile-cta-btn {
    display: block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: center;
}

.mobile-cta-btn:hover {
    background-color: var(--gold-light);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================================
   15. FOOTER
   ============================================== */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 5% 30px;
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    padding-right: 40px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

.footer-tagline {
    color: rgba(212, 175, 55, 0.7);
    margin-bottom: 25px;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-6px);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    color: var(--secondary-color);
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(212, 175, 55, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(212, 175, 55, 0.7);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact a {
    color: rgba(212, 175, 55, 0.7);
    text-decoration: none;
    margin-bottom: 15px;
    display: block;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-contact p i {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: rgba(212, 175, 55, 0.5);
    font-size: 0.9rem;
}

/* ==============================================
   16. MOBILE SHOWCASE STYLES
   ============================================== */
.marble-showcase {
    padding: 40px 5%;
    background: var(--light-color);
    position: relative;
    width: 100%;
}

.desktop-showcase {
    display: block;
}

.mobile-showcase {
    display: none;
}

/* Mobile Swipeable Slider */
.mobile-swiper-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.mobile-swiper-wrapper {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.mobile-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.mobile-slide-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 350px;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.mobile-slide-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    content-visibility: auto;
}

.mobile-slide-content {
    padding: 20px;
}

.mobile-slide-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.mobile-slide-origin {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-slide-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.swiper-pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.swiper-pagination-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.mobile-info-container {
    text-align: center;
    margin: 30px auto;
    max-width: 600px;
    min-height: 60px;
}

.mobile-info-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.mobile-info-content.active {
    display: block;
}

.mobile-info-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.mobile-info-desc {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.mobile-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px auto 40px;
}

.mobile-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.mobile-indicators {
    display: flex;
    gap: 5px;
}

.mobile-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transition: var(--transition);
}

.mobile-indicator.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================================
   17. RESPONSIVE DESIGN
   ============================================== */

/* Large Desktops */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .quote-container {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
}

/* Tablets and Small Desktops */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .product-card {
        min-width: 280px;
    }
    
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .finish-options, .installation-options {
        grid-template-columns: 1fr;
    }
    
    .maintenance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .maintenance-download {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .prev-gallery, .next-gallery {
        position: static;
        margin: 0 10px;
    }
    
    .gallery-wrapper {
        justify-content: center;
    }
    
    .scene {
        height: 400px;
    }
    
    .card {
        width: 240px;
        height: 320px;
    }
    
    .info-title {
        font-size: 1.8rem;
    }
}

/* ==============================================
   MOBILE STYLES - 768px and below
   ============================================== */
@media (max-width: 768px) {
    /* Header Adjustments */
    header {
        height: 80px;
        padding: 0 20px;
        width: 100%;
        position: fixed;
        left: 0;
        right: 0;
    }
    
    .slider-section {
        margin-top: 80px;
        height: calc(100vh - 80px);
        min-height: 500px;
    }
    
    /* Hide desktop elements on mobile */
    .header-left, .header-right {
        display: none !important;
    }
    
    .logo-center {
        flex: 1;
        padding: 0;
        justify-content: center;
        align-items: center;
    }
    
    .logo-img {
        height: 60px !important;
    }
    
    .logo-text {
        font-size: 1rem !important;
        letter-spacing: 1px;
        margin-top: 3px;
    }
    
    /* Show mobile menu toggle */
    .menu-toggle {
        display: block;
    }
    
    /* Hero Adjustments */
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-main {
        left: 15px;
    }
    
    .next-main {
        right: 15px;
    }
    
    /* Section Adjustments */
    .section-title {
        font-size: 2rem;
    }
    
    /* Gallery Adjustments */
    .gallery-wrapper {
        padding: 0;
        flex-direction: column;
    }
    
    .gallery-viewport {
        padding: 10px;
        overflow-x: auto;
    }
    
    .product-card {
        min-width: 280px;
    }
    
    /* Collections Adjustments */
    .collections-grid {
        grid-template-columns: 1fr;
    }
    
    .collections-grid .collection-item {
        height: 300px;
    }
    
    /* Portfolio Adjustments */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item {
        height: 250px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.5rem;
    }
    
    /* Quote Calculator Adjustments */
    .quote-actions {
        flex-direction: column;
    }
    
    .quote-action-btn {
        min-width: 100%;
    }
    
    /* Maintenance Adjustments */
    .maintenance-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer Adjustments */
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        padding-right: 0;
    }
    
    .footer-logo {
        font-size: 1.8rem;
    }
    
    /* Comparison Slider Adjustments */
    .comparison-slider {
        height: 350px;
    }
    
    /* Showcase Switcher */
    .desktop-showcase {
        display: none !important;
    }
    
    .mobile-showcase {
        display: block !important;
    }
    
    .mobile-slide-card {
        height: 320px;
    }
    
    .mobile-slide-img {
        height: 180px;
    }
    
    .mobile-info-title {
        font-size: 1.6rem;
    }
    
    .mobile-controls {
        margin: 20px auto 30px;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .product-gallery, .collections-section, .comparison-section, 
    .portfolio-section, .quote-section, .maintenance-section {
        padding: 40px 20px;
    }
    
    .product-card {
        min-width: 260px;
    }
    
    .collection-item {
        height: 250px;
    }
    
    .collection-overlay h3 {
        font-size: 1.5rem;
    }
    
    .portfolio-item {
        height: 200px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.3rem;
    }
    
    .quote-form-container {
        padding: 20px;
    }
    
    .area-input {
        flex-direction: column;
        gap: 15px;
    }
    
    .area-display {
        width: 100%;
    }
    
    .maintenance-card {
        padding: 20px;
    }
    
    .maintenance-card h3 {
        font-size: 1.5rem;
    }
    
    .maintenance-download h4 {
        font-size: 1.5rem;
    }
    
    .slider-section {
        min-height: 450px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .guide-modal-content {
        max-height: 95vh;
    }
    
    .guide-modal-body {
        max-height: calc(95vh - 80px);
        padding: 20px;
    }
    
    .mobile-slide-card {
        height: 300px;
    }
    
    .mobile-slide-img {
        height: 160px;
        image-rendering: optimizeSpeed;
        max-height: 160px;
    }
    
    .mobile-slide-title {
        font-size: 1.4rem;
    }
    
    .mobile-slide-content {
        padding: 15px;
    }
    
    /* Mobile Menu Adjustments */
    .mobile-menu-container {
        max-width: 100%;
        padding: 20px 15px;
    }
    
    .mobile-logo img {
        width: 50px;
        height: 50px;
    }
    
    .mobile-logo span {
        font-size: 1rem;
    }
    
    .mobile-nav-link {
        font-size: 1rem;
        padding: 14px 15px;
    }
    
    .mobile-contact-item {
        font-size: 0.85rem;
    }
}

/* Very Small Devices */
@media (max-width: 480px) {
    .mobile-slide-card {
        height: 280px;
    }
    
    .mobile-slide-img {
        height: 140px;
    }
}

/* ==============================================
   18. PERFORMANCE OPTIMIZATIONS
   ============================================== */

/* Optimize image rendering */
img {
    content-visibility: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimize image quality on mobile for faster loading */
@media (max-width: 768px) {
    img {
        image-rendering: optimizeSpeed;
    }
    
    .slider-container, .gallery-viewport, .portfolio-grid {
        contain: content;
    }
}

/* GPU acceleration for animations */
.hero-content, .product-overlay {
    transform: translate3d(0, 0, 0);
}

/* ==============================================
   19. PRODUCT PAGE STYLES
   ============================================== */

/* Page Hero */
.page-hero {
    height: 900px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px; /* Offset fixed header */
}



.page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.page-subtitle {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* Filter Section */
.filter-section {
    background: var(--light-color);
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 80px; /* Below header */
    z-index: 900;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.filter-group label i {
    margin-right: 5px;
}

.filter-select {
    padding: 10px 15px;
    min-width: 180px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    background-color: white;
    transition: var(--transition);
}

.filter-select:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.reset-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #ccc;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    height: 42px; /* Match select height */
}

.reset-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
}

.filter-status {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Honeycomb Grid System */
.collection-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    min-height: 600px;
}

.honeycomb-grid {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    transform: translateY(20px);
}

.honeycomb-cell {
    flex: 0 1 250px;
    max-width: 250px;
    height: 270px; /* Adjust based on hex ratio */
    margin: 10px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.honeycomb-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
    position: relative;
    /* The Hexagon Shape */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: #000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.honeycomb-link:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Gold Border Effect (Simulated via pseudo-element scaling) */
.honeycomb-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: -1;
    transition: all 0.3s;
}

.honeycomb-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.honeycomb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.honeycomb-overlay {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.honeycomb-link:hover .honeycomb-overlay {
    opacity: 1;
}

.honeycomb-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.honeycomb-origin {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
}

.popular-badge {
    position: absolute;
    top: 40px;
    right: 90px;
    background-color: var(--secondary-color);
    color: black;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 20px;
    z-index: 5;
    transform: rotate(15deg) translate(25px, -10px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    pointer-events: none;
}

/* No Results State */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 20px;
}

/* Spec Sheet Modal */
.spec-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 10px;
}

.spec-modal.active {
    opacity: 1;
    pointer-events: all;
}

.spec-content {
    background: white;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 4px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.spec-modal.active .spec-content {
    transform: translateY(0);
}

.spec-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #333;
    z-index: 10;
    line-height: 1;
    transition: color 0.3s;
}

.spec-close:hover {
    color: var(--secondary-color);
}

.spec-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0;
}

.spec-image-col {
    background-color: #f0f0f0;
    min-height: 400px;
	max-width: 600px;
    display: flex;
    align-items: top;
    justify-content: top;
    padding: 20px;
}

.spec-image-wrapper {
    width: 100%;
    height: 100%;
    max-height: 500px;
    position: top;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.spec-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spec-details-col {
    padding: 20px;
    display: flex;
    flex-direction: column;
	max-height: 400px;
	overflow-y: auto;
	min-height: 0;
}

.spec-header {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.spec-origin {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spec-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin: 5px 0;
}

.spec-type {
    background: var(--dark-color);
    color: var(--secondary-color);
    padding: 4px 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
}

.spec-desc {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.7;
}

.spec-specs h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding: 10px 0;
    font-size: 0.95rem;
}

.spec-row span:first-child {
    font-weight: 600;
    color: #333;
}

.spec-row span:last-child {
    color: #666;
}

.spec-actions {
    margin-top: auto;
    padding-top: 30px;
}

.inquiry-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.inquiry-btn:hover {
    background-color: var(--dark-color);
    color: var(--secondary-color);
}

.action-note {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 10px;
}

.popular-badge.large {
    transform: none;
    top: 20px;
    left: 20px;
    right: auto;
    font-size: 0.8rem;
}

/* Responsive adjustments for product page */
@media (max-width: 992px) {
    .honeycomb-cell {
        flex: 0 1 200px; /* Smaller hexes on tablet */
        height: 220px;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-image-col {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    /* Stack filters on mobile */
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .honeycomb-cell {
        margin: 5px;
        flex: 0 1 150px;
        height: 170px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }

    .spec-details-col {
        padding: 25px;
    }
}

/* Honeycomb nesting effect */
.honeycomb-grid {
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    /* Offset every even cell in the row slightly to tuck into the gaps */
    .honeycomb-cell:nth-child(even) {
        margin-top: 70px;
    }
}

/* ==============================================
   FINAL UTILITIES
   ============================================== */

/* Clearfix */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}

/* Debug helper - only show on development */
.debug {
    outline: 1px solid red;
}

/* Loading animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Stone Modal Styles */
.spec-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.spec-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.spec-content {
    background: white;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spec-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.spec-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.spec-image-col {
    display: flex;
    flex-direction: column;
}

.spec-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.spec-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-details-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-origin {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-type {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
}

.spec-desc p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.spec-specs {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.spec-specs h4 {
    margin: 0 0 15px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #333;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row span:first-child {
    font-weight: 600;
    color: #666;
}

.spec-row span:last-child {
    color: #333;
}

.spec-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.inquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.inquiry-btn:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.inquiry-btn.secondary {
    background-color: transparent;
    border: 2px solid #333;
    color: #333;
}

.inquiry-btn.secondary:hover {
    background-color: #333;
    color: white;
}

.action-note {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin: 10px 0 0 0;
}

.popular-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff6b6b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.popular-badge.large {
    font-size: 14px;
    padding: 6px 16px;
}

/* Popular tag in product cards */
.popular-tag {
    background-color: #ff6b6b;
    color: white;
}

/* ==============================================
   STONE MODAL MOBILE FIXES
   ============================================== */

@media (max-width: 768px) {
    /* Modal container adjustments for mobile */
    .spec-modal {
        padding: 10px;
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .spec-modal.active {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    /* Modal content for mobile */
    .spec-content {
        width: 100%;
        max-width: 95vw;
        max-height: 90vh;
        margin: 0 auto;
        border-radius: 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: mobileModalFadeIn 0.3s ease;
    }
    
    @keyframes mobileModalFadeIn {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.98);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
    
    /* Stack grid vertically on mobile */
    .spec-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 20px !important;
    }
    
    /* Image column adjustments */
    .spec-image-col {
        min-height: 250px !important;
        max-height: 300px;
        padding: 0 !important;
    }
    
    .spec-image-wrapper {
        aspect-ratio: 4/3;
        max-height: 300px;
        width: 100%;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .spec-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Details column adjustments */
    .spec-details-col {
        padding: 0 !important;
        gap: 15px !important;
    }
    
    /* Text sizing for mobile */
    .spec-header h2 {
        font-size: 1.6rem !important;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .spec-origin {
        font-size: 0.85rem !important;
    }
    
    .spec-type {
        font-size: 0.8rem !important;
        padding: 3px 10px !important;
    }
    
    .spec-desc p {
        font-size: 0.95rem !important;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Technical specs adjustments */
    .spec-specs {
        padding: 15px !important;
        margin: 10px 0;
    }
    
    .spec-specs h4 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    
    .spec-row {
        font-size: 0.9rem !important;
        padding: 6px 0 !important;
        flex-wrap: wrap;
    }
    
    .spec-row span:first-child {
        min-width: 120px;
        margin-bottom: 2px;
    }
    
    .spec-row span:last-child {
        text-align: right;
        flex: 1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: calc(100% - 130px);
    }
    
    /* Actions section */
    .spec-actions {
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid #eee;
    }
    
    .inquiry-btn {
        width: 100% !important;
        padding: 14px 20px !important;
        font-size: 0.95rem !important;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .action-note {
        font-size: 0.8rem !important;
        line-height: 1.4;
        margin-top: 8px !important;
    }
    
    /* Close button positioning */
    .spec-close {
        position: fixed !important;
        top: 10px !important;
        right: 10px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.1);
        width: 40px !important;
        height: 40px !important;
        font-size: 24px !important;
        z-index: 10001;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Popular badge adjustments */
    .popular-badge.large {
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
        top: 10px !important;
        left: 10px !important;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .spec-content {
        max-width: 98vw;
        max-height: 85vh;
        border-radius: 10px;
    }
    
    .spec-modal.active {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .spec-grid {
        padding: 15px !important;
        gap: 15px !important;
    }
    
    .spec-image-col {
        min-height: 200px !important;
        max-height: 250px;
    }
    
    .spec-header h2 {
        font-size: 1.4rem !important;
    }
    
    .spec-desc p {
        font-size: 0.9rem !important;
    }
    
    .spec-specs {
        padding: 12px !important;
    }
    
    .spec-row {
        font-size: 0.85rem !important;
    }
    
    .spec-row span:first-child {
        min-width: 110px;
    }
    
    .spec-row span:last-child {
        max-width: calc(100% - 120px);
    }
    
    .inquiry-btn {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }
    
    .spec-close {
        top: 5px !important;
        right: 5px !important;
        width: 36px !important;
        height: 36px !important;
    }
}

/* Very small devices (iPhone SE, etc.) */
@media (max-width: 375px) {
    .spec-content {
        max-height: 80vh;
    }
    
    .spec-grid {
        padding: 12px !important;
        gap: 12px !important;
    }
    
    .spec-header h2 {
        font-size: 1.3rem !important;
    }
    
    .spec-desc p {
        font-size: 0.85rem !important;
    }
    
    .spec-specs h4 {
        font-size: 1rem !important;
    }
    
    .spec-row {
        font-size: 0.8rem !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .spec-row span:first-child {
        min-width: 100%;
        font-weight: 600;
        color: #333;
    }
    
    .spec-row span:last-child {
        text-align: left;
        max-width: 100%;
        color: #666;
    }
    
    .inquiry-btn {
        font-size: 0.85rem !important;
        padding: 10px 14px !important;
    }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .spec-modal.active {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .spec-content {
        max-height: 85vh;
    }
    
    .spec-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }
    
    .spec-image-col {
        min-height: 200px !important;
        max-height: 250px;
    }
    
    .spec-details-col {
        max-height: 60vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Ensure modal content doesn't exceed viewport */
.spec-modal-body {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Add smooth scrolling for iOS */
.spec-content {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    .inquiry-btn,
    .spec-close {
        min-height: 44px; /* Apple's minimum touch target size */
    }
    
    /* Make sure text doesn't overflow */
    .spec-header,
    .spec-desc,
    .spec-specs {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Modal backdrop for mobile */
@media (max-width: 768px) {
    .spec-modal {
        background-color: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .spec-modal.active {
        height: -webkit-fill-available;
        min-height: 100vh;
    }
    
    .spec-content {
        max-height: 80vh;
    }
}

/* Adjust for notch and safe areas */
@supports (padding: max(0px)) {
    .spec-modal {
        padding-left: max(10px, env(safe-area-inset-left));
        padding-right: max(10px, env(safe-area-inset-right));
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
}

/* Ensure images don't cause overflow */
.spec-image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text overflow prevention */
.spec-desc p,
.spec-row span:last-child,
.action-note {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Fix for long application lists */
#modalApps {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Ensure modal is always on top */
.spec-modal {
    z-index: 10000;
}

/* Disable body scroll when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

.footer-logo img {
    display: block;
    width: 180px;
    max-width: 100%;
    height: auto;
}
