/* ==========================================
   ESTILOS GLOBAIS - NEW ENGLAND GRANITE & MARBLE
   Estilo: Magazine/Luxury
   Autor: [Guilherme Costa]
   Data: 23/11/2025
   ========================================== */

/* ===== LIGHT THEME VARIABLES ===== */
:root {
    /* Layout */
    --header-height: -60px;            /* Reduced height for a sleeker header */
    
    /* Color Palette */
    --bg-main: #ffffff;               /* Deepest Black for body background */
    --bg-secondary: #141414;          /* Slightly lighter black for sections/cards */
    --bg-tertiary: #1f1f1f;           /* For inputs, subtle borders */
    --text-primary: #ffffff;          /* Pure White for headings */
    --text-secondary: #b3b3b3;        /* Light Gray for body text */
    --text-black: #000000;            /* Black for text */
    --color-primary: #ffffff;         /* Brand primary text color (white) */
    --color-accent-cta: #D82430;      /* Brand CTA / highlight red */
    --color-accent-detail: #13305A;   /* Brand navy detail / section bg */
    --border-color: rgba(255, 255, 255, 0.1); /* Subtle borders */
    
    /* Typography */
    --font-primary: "Segoe UI Light", "Segoe UI", sans-serif;
    --font-secondary: "Segoe UI Semilight", "Segoe UI", sans-serif;
    --font-bold: "Segoe UI Semibold", "Segoe UI", sans-serif;
    
    /* Transições */
    --transition: all 0.3s ease-in-out;
    
    /* Sombras */
    --shadow-sm: 0 2px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Bordas */
    --border-radius: 4px;
    --border-radius-lg: 8px;
}

/* ===== UNDER CONSTRUCTION SECTION ===== */
.construction-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-main);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.construction-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.construction-icon {
    font-size: 4rem;
    color: var(--color-accent-cta);
    margin-bottom: var(--spacing-md);
    animation: pulse 2s infinite;
}

.construction-section h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--text-black);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.construction-text {
    font-size: 1.25rem;
    color: var(--text-black);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
    opacity: 0.9;
}

.construction-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== RESET E ESTILOS BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;  /* Reduced from 25px to 10px */
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: none !important;
    color: var(--color-primary)
}

.header.scrolled {
    background: #141414ab !important;
    backdrop-filter: blur(5px);
    padding: 8px 0;  /* Reduced from 15px to 8px */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

 .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
    margin-right: 5px;
 }

 .logo img {
    display: block;
    max-height: 60px;
    height: auto;
    width: auto;
    margin-right: 5px;
 }

.header-contact {
    display: flex;
    align-items: center;
    gap: 30px;
}



/* Menu Toggle Button */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.menu-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hamburger menu brand states */
.menu-toggle:hover .menu-line {
    background-color: var(--color-accent-cta);
}

.menu-toggle[aria-expanded="true"] .menu-line {
    background-color: var(--color-accent-cta);
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.nav-item {
    margin-bottom: 20px;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--color-accent-cta);
}

.has-submenu > .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    margin: 10px 0 0;
    display: none;
}

.submenu.active {
    display: block;
}

.submenu a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.submenu a:hover {
    color: var(--color-accent-cta);
}

.sidebar-contact {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.sidebar-phone,
.sidebar-email,
.sidebar-address {
    display: flex;
    align-items: flex-start;
    color: #333;
    text-decoration: none;
    margin-bottom: 15px;
    line-height: 1.5;
}

.sidebar-phone i,
.sidebar-email i,
.sidebar-address i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 4px;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100% !important;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute !important; /* Sai do fluxo normal do slider */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza perfeitamente */
    
    width: 90vw !important; /* 90% da largura da VISÃO do usuário */
    max-width: 1600px !important; /* Limite para telas gigantes */
    
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.1;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    transition: var(--transition);
}


@media (max-width: 560px) {
    .hero-title {
        font-size: 2.5rem !important;
        transition: var(--transition);
    }
}

@media (max-width: 300px) {
    .hero-title {
        font-size: 1.5rem !important;
        transform: var(--transition);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: var(--text-primary) !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a; /* Fallback background color */
    opacity: 0;
    transition: opacity 1s ease;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-outline {
    background: none !important;
    border: 2px solid var(--text-black) !important;
    color: var(--text-black) !important;
}

.btn-outline:hover {
    background: var(--text-black) !important;
    color: var(--color-primary) !important;
}

.btn-secondary{
    background: var(--text-primary) !important;
    color: var(--text-black) !important;
    border: none !important;
}

.btn-primary {
    background: var(--text-black) !important;
    border: none !important;
    color: #fff;
}

.btn-primary:hover {
    background: transparent;
    color: #fff !important;
}

.scroll-down {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-down span {
    font-size: 0.8rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-down i {
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    height: 100%;
}

/* ===== GLOBAL TYPOGRAPHY ===== */
/* Typography Base */
* {
    font-family: var(--font-secondary);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Paragraphs and text elements */
p, span, li, a, label, input, textarea, button {
    font-family: var(--font-secondary);
}

/* Bold text */
strong, b, [font-weight="bold"], .font-bold {
    font-family: var(--font-bold);
    font-weight: 600;
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: var(--font-secondary);
    color: var(--text-secondary);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 0px !important;
}


p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

 a {
    color: var(--color-accent-cta);
    text-decoration: none;
    transition: all 0.3s ease;
 }

 a:hover {
    color: var(--color-accent-cta);
    text-decoration: none;
 }

/* Sections */
section {
    padding: 40px 0;
    position: relative;
    scroll-margin-top: var(--header-height);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    color: #000;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--text-black);
}

.section-subtitle {
    text-align: center;
    color: var(--bg-tertiary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent-cta);
    color: var(--color-primary);
    border-color: var(--color-accent-cta);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-accent-cta);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--color-accent-cta);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent-cta);
    text-decoration: none;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Global Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Background Image Containers */
[style*="background-image"],
.background-image-container,
.hero-section,
.material-hero,
.accordion-item,
.card-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ensure background images in cards maintain aspect ratio */
.card {
    overflow: hidden;
}

/* Image containers that need aspect ratio */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio by default */
    overflow: hidden;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xs);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-accent-cta);
    color: var(--color-primary);
    border: 2px solid var(--color-accent-cta);
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-accent-cta);
}

.btn-accent {
    background-color: var(--text-black);
    color: var(--color-primary);
    border-color: var(--text-black);
}

.btn-accent:hover {
    background-color: var(--color-primary);
    color: var(--text-black);
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header-logo,
.nav-link,
.phone-number {
    color: #ffffff !important;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary-color);
}

/* Menu de Navegação */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: var(--spacing-md);
}

.nav-link {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-cta);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.phone-number {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-md);
    font-weight: 600;
    color: var(--primary-color);
}

.phone-number i {
    margin-right: 8px;
    color: var(--secondary-color);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 1001;
}

/* ===== HERO SECTION ===== */
.hero-buttons .btn-outline {
    background-color: var(--color-accent-detail);
    color: var(--text-primary);
    border: 2px solid var(--color-accent-detail);
    transition: var(--transition);
}

.hero-buttons .btn-outline:hover {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0px !important;
    padding-top: 20px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about/new-england-entrance-front-view.jpeg') center/cover;
    min-height: 100vh;
    position: relative;
}

.contact-details-section {
    background: var(--color-primary);
    min-height: 100vh;
    position: relative;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section h1 {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-subtitle {
    text-align: center;
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-form-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.map-form-container {
    border-radius: 12px;
    flex: 1 1 320px;
    width: 100%;
    max-width: 500px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.contact-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #D82430;
    box-shadow: 0 0 0 2px rgba(216, 36, 48, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

.contact-form .btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 8px;
}

.contact-form .btn:hover {
    background: #333333;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        padding: 100px 20px 60px;
    }
    
    .contact-section h1 {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .contact-section h1 {
        font-size: 1.5rem;
    }
    
    .contact-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
}

/* ===== STONE VISUALIZER ===== */
.stone-visualizer {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-main);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 100px 0;
    color: var(--text-primary);
    position: relative;
}



.stone-visualizer .container {
    position: relative;
    z-index: 2;
}

.visualizer-container {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 600px;
    background: var(--bg-secondary);
    box-shadow: 0 25px 70px rgba(0,0,0,0.4);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.visualizer-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

/* Left Column - Control Panel */
.visualizer-controls {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #e2e2e2 0%, #ffffff 100%);
    position: relative;
    z-index: 2;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.visualizer-controls::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent);
}

.visualizer-content {
    max-width: 500px;
    width: 100%;
    text-align: center;
    color: var(--text-black);
    padding: 2rem;
}

.material-title {
    font-size: 2.8rem;
    color: var(--text-black);
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.material-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--text-black);
    border-radius: 2px;
}

.material-tagline {
    font-size: 1.3rem;
    color: var(--text-black);
    margin: 1.5rem 0 2.5rem;
    font-weight: 300;
    font-family: var(--font-secondary);
    font-style: italic;
    letter-spacing: 0.5px;
    line-height: 1.6;
    max-width: 90%;
    opacity: 0.9;
}

.material-carousel {
    display: flex;
    align-items: center;
    margin: 2.5rem 0 3.5rem;
    position: relative;
    padding: 10px 30px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.carousel-nav {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-cta);
    cursor: pointer !important; /* Force pointer cursor */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100; /* Higher z-index to ensure visibility */
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 1 !important; /* Force full opacity */
    pointer-events: auto !important; /* Ensure clicks work */
}

.carousel-nav i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    color: var(--text-black);
}

.carousel-nav i:hover {
    color: var(--color-primary) !important;
}

.carousel-nav:hover {
    background: var(--text-black) !important;
    color: var(--color-primary) !important;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(14, 0, 1, 0.3);
}

/* Ensure the arrows are always visible and clickable */
.material-preview-container {
    position: relative;
}

.material-preview-container .carousel-nav {
    opacity: 1 !important;
}

.carousel-nav.prev {
    left: -20px;
}

.carousel-nav.next {
    right: -20px;
}

.carousel-nav:hover {
    background: var(--color-accent-cta);
    color: #000;
}

.material-preview {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    padding: 1.5rem 35%; /* Add padding to both sides to allow centering of first/last items */
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    position: relative;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 50%; /* Center the active item */
    width: 100%;
    margin: 0 auto;
}

/* Custom scrollbar for WebKit browsers */
.material-preview::-webkit-scrollbar {
    height: 6px;
}

.material-preview::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.material-preview::-webkit-scrollbar-thumb {
    background: var(--color-accent-detail);
    border-radius: 3px;
}

.material-preview img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    flex: 0 0 auto;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
    scroll-margin: 0 10px; /* Add some margin between items when scrolling */
}

.material-preview img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.material-preview img:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    border-color: var(--text-black);
}

.material-preview img:hover::after {
    opacity: 1;
}

.material-preview img.active {
    border-color: var(--text-black);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    position: relative;
}

.material-preview img.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--text-black), transparent);
    z-index: -1;
    border-radius: 10px;
    animation: borderGlow 2s infinite alternate;
}

@keyframes borderGlow {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: transparent;
    color: var(--text-black);
    text-decoration: none;
    border: 2px solid var(--text-black);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(29, 0, 2, 0.15);
}

.btn-learn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-black);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-learn-more:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-learn-more:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-learn-more:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.btn-learn-more i {
    margin-left: 10px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
    transform: translateX(5px);
}

/* Right Column - Preview */
.visualizer-preview {
    flex: 1.5;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-tertiary);
}

.preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.visualizer-preview:hover .preview-overlay {
    opacity: 1;
    transform: translateY(0);
}

.preview-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.preview-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.preview-desc {
    color: rgba(255,255,255,0.8) !important;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.preview-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-slide.active {
    opacity: 1;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animation Classes */
.animate-in .material-title,
.animate-in .material-tagline,
.animate-in .btn-learn-more {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .visualizer-controls {
        padding: 40px;
    }
    
    .material-title {
        font-size: 2.4rem;
    }
    
    .material-tagline {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .stone-visualizer {
        padding: 60px 0;
    }
    
    .visualizer-container {
        flex-direction: column;
        min-height: auto;
    }
    
    .visualizer-controls,
    .visualizer-preview {
        width: 100%;
        height: 50vh;
        min-height: 400px;
    }
    
    .visualizer-controls {
        padding: 40px 30px;
    }
    
    .visualizer-content {
        max-width: 100%;
        padding: 0;
    }
    
    .material-title {
        font-size: 2.2rem;
    }
    
    .material-tagline {
        font-size: 1.1rem;
        margin: 1rem 0 2rem;
    }
    
    .material-carousel {
        margin: 2rem 0;
    }
    
    .material-preview img {
        width: 90px;
        height: 90px;
    }
    
    .material-navigation {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .stone-visualizer {
        padding: 40px 0 60px;
    }
    
    .visualizer-controls,
    .visualizer-preview {
        height: 60vh;
        min-height: 350px;
    }
    
    .visualizer-controls {
        padding: 30px 20px;
    }
    
    .material-title {
        font-size: 1.8rem;
    }
    
    .material-tagline {
        font-size: 1rem;
        margin: 0.8rem 0 1.5rem;
    }
    
    .material-carousel {
        margin: 1.5rem 0;
        padding: 5px 20px;
    }
    
    .material-preview {
        padding: 1rem 0.2rem;
    }
    
    .material-preview img {
        width: 80px;
        height: 80px;
    }
    
    .carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .carousel-nav i {
        font-size: 1rem;
    }
    
    .material-details {
        margin: 20px 0;
        padding: 15px 0;
    }
    
    .detail-item {
        margin-bottom: 12px;
    }
    
    .detail-label {
        font-size: 0.85rem;
    }
    
    .btn-learn-more {
        padding: 14px 30px;
        font-size: 0.75rem;
    }
    
    .material-navigation {
        gap: 8px;
        margin-top: 25px;
    }
    
    .material-nav-item {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .material-icon {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
}

/* Utility Classes */
.pt-4 { padding-top: var(--spacing-lg) !important; }
.pb-4 { padding-bottom: var(--spacing-lg) !important; }
.pt-5 { padding-top: var(--spacing-xl) !important; }
.pb-5 { padding-bottom: var(--spacing-xl) !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.flex-column { flex-direction: column !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.vh-100 { height: 100vh !important; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    background-color: #fff;
    color: white;
    text-align: center;
}

.gallery-section p{
    color: var(--text-black) !important;
}

.section-header {
    margin-bottom: 40px;
}

.gallery-section h2, p{
    color: var(--text-black) !important;
}

.accordion-container {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    width: 95%;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.accordion-container:hover {
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.9);
}

@media (max-width: 1240px) {
    .accordion-container {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
}

.accordion-item {
    flex: 1;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    cursor: pointer;
    border-right: 1px solid rgba(0,0,0,0.5);
}

.accordion-item:last-child {
    border-right: none;
}

.accordion-item:hover {
    flex: 5;
}

.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: background 0.3s;
}

.accordion-item:hover::before {
    background: rgba(0,0,0,0.2);
}

.accordion-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s 0.1s;
    z-index: 2;
    text-align: left;
}

.accordion-item:hover .accordion-content {
    opacity: 1;
    transform: translateY(0);
}

.accordion-content h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.accordion-content p {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: #e0e0e0 !important;
    margin: 0;
    line-height: 1.6;
}

.text-center{
    padding-top: 40px;
    text-align: center;
}

@media (max-width: 768px) {
        .text-center p{
            text-align: center;
        }
}

/* Mobile Response - Horizontal Scrolling Carousel */
@media (max-width: 768px) {
    .accordion-container {
        flex-direction: row;
        height: 450px;
        width: 100%;
        margin: 0;
        padding: 15px;
        border-radius: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scroll-snap-type: x mandatory;
        scroll-padding: 15px;
        box-shadow: none;
        gap: 15px;
    }
    
    .accordion-container::-webkit-scrollbar {
        height: 8px;
    }
    
    .accordion-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }
    
    .accordion-item {
        flex: 0 0 85vw; /* Fixed width for each item */
        height: 100%;
        min-width: 85vw;
        margin: 0;
        border-radius: 12px;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        scroll-snap-align: start;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        position: relative;
    }
    
    .accordion-item:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .accordion-content {
        opacity: 1;
        transform: translateY(0);
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 8px;
        backdrop-filter: blur(5px);
    }
    
    .accordion-content h3 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .accordion-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Disable hover effects on mobile */
    .accordion-item:hover {
        flex: 0 0 85vw;
    }
    
    /* Visual feedback for active state */
    .accordion-item:active::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
    }
    
    /* Hide scrollbar for a cleaner look (optional) */
    .accordion-container {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    
    .accordion-container::-webkit-scrollbar {
        display: none;  /* Hide scrollbar for Chrome, Safari and Opera */
    }
}

/* Ensure the gallery section has proper spacing */
.gallery-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding-bottom: 50px;
    padding-top: 0;
    background-color: var(--bg-main); /* Slightly lighter than pure black */
}

.container-boxed {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50% 50% split */
    gap: 60px;
    align-items: center;
}

/* Typography */
.gold-overline {
    color: var(--bg-tertiary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.about-content h2{
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-black) !important;
}

.about-content p{
    color: var(--text-black) !important;
}

.about-content h2 em {
    font-family: var(--font-primary);
    font-style: italic;
    color: var(--bg-tertiary);
}

.lead-text {
    color: var(--text-black);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* List Styling */
.luxury-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.luxury-list li {
    margin-bottom: 15px;
    color: var(--text-black);
    display: flex;
    align-items: center;
    gap: 15px;
}

.luxury-list i {
    color: var(--bg-tertiary); /* Brand red checkmarks */
}

/* NSI Badge Design */
.nsi-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--text-black);    /* Navy badge background */
    margin-bottom: 30px;
}

.nsi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nsi-icon img {
    display: block;
    max-height: 48px;
    height: auto;
    width: auto;
}

.nsi-text strong { 
    display: block; 
    color: white !important; 
    margin-bottom: 5px;
}

.nsi-text p { 
    margin: 0; 
    font-size: 0.9rem; 
    color: #aaa !important; 
}

/* Image Styling */
.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.image-frame-border {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent-detail);
    z-index: -1; /* Behind the image */
}

/* Button Styling */
.btn-text-gold {
    display: inline-flex;
    align-items: center;
    color: var(--text-black);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-text-gold:hover {
    color: var(--text-secondary);
    transform: translateX(5px);
}

.btn-text-gold::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-text-gold:hover::after {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .about-grid { 
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 40px;
    }
    
    .about-content h2 {
        font-size: 2.2rem;
    }
    
    .image-frame-border { 
        display: none; 
    }
    
    .nsi-badge {
        flex-direction: column;
        text-align: center;
    }
}

    /* ===== TESTIMONIALS SECTION ===== */
.reviews-section {
        padding: 100px 0;
        background: linear-gradient(145deg, #e2e2e2 0%, #ffffff 100%); /* semilight background */
}

.reviews-section h2{
    color: var(--text-black) !important;
}

.reviews-section p{
    color: var(--text-black) !important;
}

.center-text { 
    text-align: center; 
    margin-bottom: 60px; 
}

/* Grid Layout */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive Columns */
    gap: 30px;
    margin-bottom: 50px;
}

/* The Card Design */
.review-card {
    background: linear-gradient(145deg, #e2e2e2 0%, #ffffff 100%); /* Navy card background */
    padding: 40px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.8); /* Subtle navy border */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-10px); /* Lift up effect */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border-color: var(--text-black); /* Red border on hover */
}

/* Decorative Elements */
.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: rgba(94, 94, 94, 0.2); /* Very faint watermark */
    transition: color 0.3s ease;
}

.review-card:hover .quote-icon {
    color: rgba(0, 0, 0, 0.753); /* Red tint on hover */
}

.stars {
    color: var(--bg-tertiary); /* Brand red stars */
    margin-bottom: 20px;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* Typography */
.review-text {
    color: #d0d0d0;
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.reviewer-info h4 {
    color: var(--bg-tertiary);
    font-family: var(--font-primary);
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.reviewer-info span {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-content h2, p {

    color: #000000 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .review-card {
        padding: 30px;
    }
}

/* ===== FOOTER STYLES ===== */
.main-footer {
    background-color: var(--bg-tertiary);
    color: #b0b0b0 ;
    padding-top: 80px;
    border-top: 1px solid #222;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;  
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px 60px;
}

.footer-content p{
    color: #b0b0b0 !important;
}

.footer-content h3{
    color: var(--color-primary) !important;
}

.footer-content h4{
    color: var(--color-primary) !important;
}

/* Typography & Links */
.footer-logo {
    font-family: var(--font-primary);
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: block;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--text-primary);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

/* Contact Info */
.contact-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-row i {
    color: var(--text-primary);
    margin-top: 4px;
    min-width: 16px;
}

.contact-row a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-row a:hover {
    color: var(--text-primary);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #111;
    color: #b0b0b0;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--text-primary);
    color: #0a0a0a;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    background: #000;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #111;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom span {
    margin: 0;
    color: #666 !important;
}

.footer-bottom p {
    margin: 0;
    color: #ffffff !important;
}

.footer-legal {
    margin-top: 10px;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-secondary);
}

/* Chat Widget */
#chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--text-black);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99999; /* Increased z-index */
    transition: all 0.3s ease;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* Remove mobile tap highlight */
}

/* Ensure no other elements can block the chat button */
#chat-widget-btn::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
}

#chat-widget-btn:hover { 
    transform: scale(1.1); 
    box-shadow: 0 8px 26px rgba(0,0,0,0.6);
}

#chat-widget-btn i { 
    color: white; 
    font-size: 1.5rem; 
}

/* Chat Window (Hidden by default) */
#chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-width: calc(100% - 60px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 99998; /* Just below the button */
    display: none; /* Start hidden */
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    max-height: calc(100vh - 180px);
    overflow: hidden;
}

/* Active State: Visible */
#chat-window.active {
    display: flex !important; /* Force visibility */
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Ensure chat window is above other content */
#chat-window,
#chat-window * {
    box-sizing: border-box;
}

/* Chat header */
.chat-header {
    background: var(--bg-tertiary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

/* Close button */
#close-chat-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.2s;
}

#close-chat-btn:hover {
    color: white;
}

/* Chat body */
#chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f9f9f9;
    scroll-behavior: smooth;
}

/* Chat input area */
.chat-input-area {
    display: flex;
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    gap: 10px;
}

#chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

#chat-input:focus {
    border-color: var(--text-black);
}

#send-btn {
    background: var(--text-black);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

#send-btn:hover {
    background: var(--bg-main);
    color: var(--text-black);
    border: 1px solid var(--text-black);
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Chat Messages Area */
.chat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background-color: #f4f4f4;
    height: 300px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Bubbles */
.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    animation: popIn 0.3s ease;
    margin-bottom: 10px;
}

.message-system{
    align-self: flex-start;
    background-color: #e0e0e0;
    color: var(--text-black);
    border-bottom-left-radius: 2px;
}

.message-agent {
    align-self: flex-start;
    background-color: #e0e0e0;
    color: var(--text-black);
    border-bottom-left-radius: 2px;
}

.message-client {
    align-self: flex-end;
    background-color: var(--text-black);
    color: var(--color-primary);
    border-bottom-right-radius: 2px;
}

/* Typing Indicator */
.typing-indicator {
    font-size: 0.8rem;
    color: #888;
    margin-left: 15px;
    font-style: italic;
    display: none;
    align-self: flex-start;
    background: #e0e0e0;
    padding: 8px 12px;
    border-radius: 15px;
    border-bottom-left-radius: 2px;
}


/* Typing indicator */
.typing-indicator {
    display: inline-flex;
    align-items: center;
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 18px;
    margin-top: 5px;
    font-size: 0.9em;
    color: #666;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1.4s infinite both;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* ===== CONTACT PAGE REFINEMENTS ===== */

/* Hide breadcrumb bar on page-header to declutter the top of contact page */
.page-header .breadcrumb {
    display: none;
}

/* Contact sections spacing and layout hierarchy */

.contact-container {
    color: white;
    padding: 8rem 0 6rem;
    text-align: center;
    margin-top: var(--header-height);
}

.contact-section-title {
    font-family: "Segoe UI Light", "Segoe UI", sans-serif;
    font-size: 3.5rem;
    color: var(--text-color) !important;
    margin-bottom: 1rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-section h1, h2{
    color: var(--text-black);
}

.contact-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
}
.contact-container span{
    color: var(--bg-tertiary);
}

.contact-info,
.contact-form-container {
    flex: 1 1 320px;
}

.contact-info p{
    color: var(--text-black) !important;
}

/* Icon-based contact details layout */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--text-black);
    border-radius: 6px;
    border: 1px solid #222;
    transition: var(--transition);
}

.contact-method:hover{
    transform: scale(1.03);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12); /* subtle red tint */
    color: var(--color-primary);
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1rem;
}

.contact-details p,
.contact-details address {
    margin: 0;
    color: var(--text-secondary) !important;
    font-style: normal;
    line-height: 1.6;
}

.contact-details a {
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-details a:hover {
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Map container styling for embedded Google Map on contact page */
.map-placeholder {
    margin-top: 20px;
    background: #242424;
    border-radius: 8px;
    border: 1px solid #222;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.7);
}

/* Form styling overhaul (scoped to contact sections) */
.contact-section .contact-form {
    background: var(--bg-main);
    padding: 25px 25px 30px;
    border-radius: 8px;
    border: 1px solid var(--text-secondary);
}

.contact-section .form-group {
    margin-bottom: 18px;
}

.contact-section .form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-section .form-row .form-group {
    flex: 1 1 180px;
}

.contact-section label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-black);
}

.contact-section .required {
    color: var(--color-accent-cta);
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section input[type="tel"],
.contact-section input[type="number"],
.contact-section input[type="date"],
.contact-section select,
.contact-section textarea {
    width: 100%;
    background-color: none;
    border: 1px solid var(--bg-tertiary);
    color: var(--bg-tertiary);
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-section textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
    color: var(--text-secondary);
}

.contact-section input:focus,
.contact-section select:focus,
.contact-section textarea:focus {
    border-color: var(--text-black);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
    background-color: none;
}

.contact-section .form-actions {
    margin-top: 10px;
}

@media (max-width: 500px) {
    .contact-section {
        display: flex;
        flex-direction: column !important;
    }

    .contact-container {
        flex-direction: column;
        display: block;
        gap: 30px;
    }

    .contact-section .container {
        padding: 10px;
        scale: 0.9;
    }
    .contact-method{
        padding: 10px !important;
        gap: 5px;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    #chat-window {
        right: 15px;
        bottom: 80px;
        width: calc(100% - 30px);
        max-height: 60vh;
        margin-bottom: 30px;
    }
    
    .chat-input-area {
        padding: 10px;
    }
    
    #chat-input {
        padding: 8px 12px;
        width: 50%;
    }
}


/* ===== DROPDOWN OVERLAY NAVIGATION ===== */
/* Hide the redundant close button in the overlay */
.overlay-nav .overlay-close {
    display: none !important;
}

.overlay-nav {
    position: fixed;
    top: 0px !important;
    width: 100% !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.overlay-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Slide down into position */
}

.overlay-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0;
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.overlay-close:hover {
    opacity: 0.8;
}

.close-icon {
    position: relative;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
}

.close-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transform: rotate(90deg);
}

.overlay-close:hover .close-icon,
.overlay-close:hover .close-icon::after {
    background: var(--color-accent-cta);
}

.overlay-menu {
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.overlay-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

.overlay-menu li {
    margin: 0.8rem 0;
    padding: 0;
    opacity: 0;
    width: 100%;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.overlay-nav.active .overlay-menu li {
    opacity: 1;
    transform: translateY(0);
}

.overlay-nav.active .overlay-menu li:nth-child(1) { transition-delay: 0.1s; }
.overlay-nav.active .overlay-menu li:nth-child(2) { transition-delay: 0.2s; }
.overlay-nav.active .overlay-menu li:nth-child(3) { transition-delay: 0.3s; }
.overlay-nav.active .overlay-menu li:nth-child(4) { transition-delay: 0.4s; }
.overlay-nav.active .overlay-menu li:nth-child(5) { transition-delay: 0.5s; }
.overlay-nav.active .overlay-menu li:nth-child(6) { transition-delay: 0.6s; }

.overlay-link {
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1rem;
    display: inline-block;
    white-space: nowrap;
    transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.overlay-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.overlay-link:hover {
    color: var(--text-secondary);
}

.overlay-link:hover::after {
    width: 100%;
}

/* ===== HAMBURGER MENU - PERFECT 3-LINE ANIMATION ===== */
.menu-toggle {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 9999;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 10px;
}

.menu-line {
    display: block !important;
    width: 36px !important;
    height: 3px !important;
    background-color: var(--color-primary) !important;
    margin-bottom: 6px !important;
    transform: none !important;
    border-radius: 0;
    transition: var(--transition);
    pointer-events: none;
}

.menu-line:last-child {
    margin-bottom: 0 !important;
}

/* Active/Open state - Perfect X formation */
.menu-toggle.active .menu-line {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    transform-origin: center;
}

.menu-toggle.active .menu-line:first-child {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
}

.menu-toggle.active .menu-line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* Hover state */
.menu-toggle:hover .menu-line {
    background-color: var(--color-accent-cta) !important;
}

/* Mobile styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Scrolled header state */
.header.scrolled .menu-line {
    background-color: var(--color-primary);
}

.header.scrolled .menu-toggle:hover .menu-line {
    background-color: var(--color-accent-cta) !important;
}

/* Focus state for accessibility */
.menu-toggle:focus {
    outline: 2px solid var(--color-accent-cta);
    outline-offset: 2px;
}

/* Accessibility focus state */
.menu-toggle:focus {
    outline: 2px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
}

/* Header contact container alignment */
.header-contact {
    display: flex;
    align-items: center;
}

/* Phone link styling */
.phone-link {
    display: flex;
    align-items: center;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--color-accent-cta);
}

.phone-link i {
    margin-right: 8px;
    font-size: 1.1em;           
}

/* Responsive adjustments */

@media (max-width: 560px) {
    .phone-link span {
        display: none;
    }
    .phone-link{
        color: var(--text-black);
        padding-left: 22px;
        padding-right: 0px;
        margin-right: 0px;
    }
    .header.scrolled .phone-link{
        color: var(--text-black);
    }
   
}


/* Ensure proper spacing */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Disable body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .overlay-link {
        font-size: 2rem;
    }
    
    .overlay-close {
        top: 20px;
        right: 20px;
    }
}

/* Animation */
@keyframes popIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adjustments */
@media (max-width: 450px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
    }
    
    .footer-col {
        margin-bottom: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-legal {
        display: block;
        margin-top: 10px;
    }
    
    .footer-legal span {
        display: none;
    }
    
    .footer-legal a {
        display: block;
        margin: 5px 0;
    }

    /* Hide stone visualizer material details on small screens to save vertical space */
    .stone-visualizer .material-details {
        display: none !important;
    }
}

.text-white
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.bg-light { background-color: var(--light-bg) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.rounded { border-radius: var(--border-radius) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
