/* --- Google Fonts & Color Palette --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg-dark: #ffffff;
    --bg-light: #ffffff;
    --surface-color: #000000;
    --primary-accent: #000000; 
    --text-light: #ffffff;
    --text-dark: #000000;
    --text-muted-light: #ffffff;
    --text-muted-dark: #000000;
    --border-color: #000000;
    
 --font-heading: "Noto Sans", sans-serif;
--font-body: "Noto Sans", sans-serif;
}

/* --- Global Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.3s ease;
}

/* --- Shared Layout & Components --- */
.main-header {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.logo a {
    text-decoration: none;
    font-size: 1.75rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.logo a sup {

    font-size: 1rem;
}

.main-nav {
    display: flex;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.main-nav a {
    text-decoration: none;
    padding-bottom: 0.5rem;
    position: relative;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary-accent);
    transition: width 0.3s ease-out;
}

.main-nav a:hover { color: var(--primary-accent); }
.main-nav a:hover::after { width: 100%; }

.header-cta {
    display: block;
}

.phone-number {
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn {
    text-decoration: none;
    padding: 0.8rem 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
   
    border: 1px solid;
    transition: all 0.3s ease-out;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-primary {
    
     background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btns {
    
     background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--bg-dark);
}

.btns:hover {
    
     background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
   transform: scale(1.02);
            color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-secondary:hover {
   
            transform: scale(1.02);
            color: var(--text-light);
}

.main-footer {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 0;
    margin-top: auto;
    z-index: 100;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left { font-size: 0.9rem; }
.footer-right ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.footer-right a { text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.footer-right a:hover { color: var(--primary-accent); }

/* --- body.home styles from your original file --- */
body.home { background-color: var(--bg-dark); color: var(--text-light); }
body.home .logo a, body.home .main-nav a, body.home .phone-number { color: var(--text-light); }
body.home .footer-left { color: var(--text-muted-light); }
body.home .footer-right a { color: var(--text-muted-light); }

/* --- REVISED CODE FOR VIDEO BACKGROUND --- */
.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0.6) 50%, rgba(18, 18, 18, 0.3) 100%);
    z-index: 1;
}

.background-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    text-align: left;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content { max-width: 800px; }
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    text-align: left;
}
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin: 1.5rem 0 2.5rem 0;
    max-width: 500px;
    line-height: 1.6;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    text-align: left;
}
.cta-buttons { display: flex; gap: 1rem; }

/* --- Inner Pages --- */
body.inner-page { background-color: var(--bg-light); color: var(--text-dark); }
body.inner-page .main-header { position: static; }
body.inner-page .logo a, body.inner-page .main-nav a, body.inner-page .phone-number { color: var(--text-dark); }
body.inner-page .btn-primary:hover { color: var(--text-dark); }
body.inner-page .footer-left { color: var(--text-muted-dark); }
body.inner-page .footer-right a { color: var(--text-muted-dark); }
body.inner-page .footer-right a:hover { color: var(--primary-accent); }
body.inner-page .main-footer { border-top-color: #e0e0e0; }
body.inner-page .hamburger-menu .bar { background-color: var(--text-dark); }

.page-main {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0 6rem 0;
    flex-grow: 1;
}

.page-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
}
.page-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

/* About Page Grid */
.page-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.page-content-grid .text-block h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.page-content-grid .text-block p {
    color: var(--text-muted-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.page-content-grid .image-block img {
    width: 100%;
    height: auto;
    display: block;
}
.text-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.text-link:hover { color: var(--primary-accent); }

/* New Explore Page Styles */
.stone-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.stone-info-section.reverse {
    grid-template-columns: 1fr 1fr; /* Explicitly set for reverse */
}
.stone-info-section.reverse .stone-info-image {
    order: 2;
}
.stone-info-image img {
    width: 100%;
    height: auto;
    display: block;
}
.stone-info-text h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.stone-info-text p {
    color: var(--text-muted-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.stone-info-text ul {
    list-style: none;
    padding-left: 0;
}
.stone-info-text ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.stone-info-text ul li::before {
    content: '✓';
    color: var(--primary-accent);
    position: absolute;
    left: 0;
    font-weight: 600;
}
.cta-section {
    text-align: center;
    padding: 6rem 1rem;
    background: #f9f9f9;
    margin-top: 6rem;
}
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-section p {
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}
.contact-details-list { list-style: none; }
.contact-details-list li { margin-bottom: 2rem; }
.contact-details-list strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted-dark);
    margin-bottom: 0.5rem;
}
.contact-details-list a, .contact-details-list span {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
}
.contact-details-list a:hover { color: var(--primary-accent); }
.contact-form-container h3, .contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Quote Form */
.quote-form { max-width: 800px; margin: 0 auto; }
.form-row { display: flex; gap: 2rem; margin-bottom: 1.5rem; }
.form-group { flex: 1; margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-accent);
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}
.checkbox-group input { width: auto; }
.form-group button { width: 100%; padding: 1.2rem; }

/* Privacy Page & other legal pages */
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-content p, .privacy-content ul {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.privacy-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
}
.privacy-content ul {
    list-style-position: inside;
}


/* --- Responsive & Hamburger Menu --- */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}
.hamburger-menu .bar {
    width: 25px;
    height: 2px;
    margin: 6px 0;
    transition: 0.4s;
}
body.home .hamburger-menu .bar { background-color: var(--text-light); }

@media (max-width: 992px) {
    .main-nav { display: none; }
    .header-cta {
       display: none; /* Hide phone number on tablet and smaller */
    }
    .hamburger-menu { display: block; }

    .main-nav.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 18, 18, 0.98);
        backdrop-filter: blur(5px);
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .main-nav a { font-size: 1.5rem; color: var(--text-light) !important; }
    .hamburger-menu.active .bar { background-color: var(--text-light); }
    .hamburger-menu.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-7px, 7px); }
    .hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
    .hamburger-menu.active .bar:nth-child(3) { transform: rotate(45deg) translate(-7px, -7px); }

    .page-content-grid, .contact-grid, .stone-info-section, .stone-info-section.reverse {
        grid-template-columns: 1fr;
    }
    .page-content-grid .image-block, .stone-info-section.reverse .stone-info-image {
        order: -1; /* Puts image first on mobile */
    }
    
    /* MODIFICATION START */
    .contact-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    /* MODIFICATION END */
}

@media (max-width: 768px) {
    .home-main { text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .cta-buttons { justify-content: center; }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-right ul { justify-content: center; }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* --- FAQ Page Specific Styles --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.75rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
}

.faq-answer p {
    margin: 0;
    padding: 0;
    color: var(--text-muted-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    transition: transform 0.5s ease;
    line-height: 1;
}

/* Active state for accordion */
.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding-top: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
     color: var(--primary-accent);
}

/* Re-using CTA styles from your existing CSS */
.cta-section {
    text-align: center;
    padding: 6rem 1rem;
    background: #f9f9f9;
    margin-top: 6rem;
}
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-section p {
    color: var(--text-muted-dark);
    margin-bottom: 2rem;
}