/* ==========================================================================
   SHREE GURU NANAK WOOL STORE - PREMIUM LUXURY STYLING SHEET
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
    /* Colors */
    --color-dark: #0A0A0A;
    --color-dark-light: #1A1A1A;
    --color-gold: #C5A880;
    --color-gold-light: #E5D1B8;
    --color-gold-dark: #A4865D;
    --color-beige: #F5F2EB;
    --color-beige-dark: #EAE6DF;
    --color-white: #FFFFFF;
    --color-white-trans: rgba(255, 255, 255, 0.05);
    
    --color-text-dark: #1F1F1F;
    --color-text-light: #7A7570;
    --color-text-muted: #AFAAA5;
    
    --color-error: #B22222;
    --color-success: #2E8B57;

    /* Fonts */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows */
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Document Defaults & Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.03em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    outline: none;
    border: none;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-sm);
}

.padding-section {
    padding: var(--spacing-lg) 0;
}

.beige-bg {
    background-color: var(--color-beige);
}

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

.font-serif {
    font-family: var(--font-heading);
}

.margin-top-md {
    margin-top: var(--spacing-md);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.serif-title {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-gold-dark);
}

.title-divider {
    width: 60px;
    height: 1.5px;
    background-color: var(--color-gold);
    margin: 1.5rem auto 0;
}

/* Section Header Flex (for grid layouts) */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.section-header-desc {
    max-width: 600px;
    margin: 0.75rem auto 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* --- Interactive Components --- */

/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background-color: var(--color-gold);
    z-index: 1002;
    transition: width 0.1s ease;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.preloader-logo {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    animation: fadePulse 1.8s ease-in-out infinite;
}

.preloader-line-container {
    width: 120px;
    height: 1px;
    background-color: rgba(197, 168, 128, 0.2);
    margin: 1rem auto;
    overflow: hidden;
    position: relative;
}

.preloader-line {
    width: 40px;
    height: 100%;
    background-color: var(--color-gold);
    position: absolute;
    animation: slideLoader 1.5s infinite linear;
}

.preloader-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
}

/* Glassmorphism utility */
.glassmorphism {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-dark);
    color: var(--color-white);
    border: 1px solid var(--color-dark);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-secondary {
    background-color: var(--color-gold);
    color: var(--color-dark);
    border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--color-dark);
    border: 1px solid rgba(10, 10, 10, 0.15);
}

.btn-secondary-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.btn-text {
    background-color: transparent;
    color: var(--color-white);
    padding: 1rem 0;
    letter-spacing: 0.1em;
}

.btn-text:hover {
    color: var(--color-gold);
    padding-left: 0.5rem;
}

.btn-small {
    padding: 0.6rem 1.4rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
}

.btn-full-width {
    width: 100%;
}

/* --- Header / Sticky Navigation --- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    padding: 0.7rem 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-white);
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: var(--transition-fast);
}

.logo-subtext {
    font-size: 0.6rem;
    letter-spacing: 0.35em;
    color: var(--color-gold);
    text-transform: uppercase;
}

.navbar-header.scrolled .logo-text {
    color: var(--color-white);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.btn-nav:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

/* Hamburger Menu button */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    padding: 5px;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 1.5px;
    margin: 5px auto;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: zoomHero 12s infinite ease-in-outAlternate;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin-left: 10%;
    color: var(--color-white);
    padding: 2rem;
}

.hero-tagline {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gold-light);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-gold);
    font-weight: 400;
}

.hero-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    flex-wrap: wrap;
}

.hero-ctas .btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.mouse-icon {
    width: 22px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
    display: block;
}

.mouse-wheel {
    width: 3px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* --- Brand Story Section --- */
.about-section .grid-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text-lead {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
    line-height: 1.4;
}

.about-text-body {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 300;
}

.about-signature-block {
    margin-top: var(--spacing-md);
}

.signature-line {
    width: 80px;
    height: 1px;
    background-color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.signature-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-dark);
}

.signature-title {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

/* Collage */
.about-image-collage {
    position: relative;
    height: 520px;
}

.collage-item {
    position: absolute;
    overflow: hidden;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.border-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(197, 168, 128, 0.4);
    pointer-events: none;
    z-index: 2;
}

.main-img {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    box-shadow: var(--shadow-premium);
}

.experience-badge {
    position: absolute;
    right: -20px;
    bottom: 30px;
    z-index: 4;
    padding: 1.5rem;
    width: 160px;
    text-align: center;
    border-radius: 4px;
    box-shadow: var(--shadow-hover);
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-gold-dark);
    font-weight: 600;
    line-height: 1;
}

.badge-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dark);
    font-weight: 500;
}

/* --- Categories Section --- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.category-card {
    position: relative;
    height: 380px;
    overflow: hidden;
    cursor: pointer;
}

.category-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 60%, rgba(10, 10, 10, 0.1) 100%);
    transition: var(--transition-smooth);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.category-content h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.category-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.category-link {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    display: inline-block;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.category-card:hover .category-img-wrapper img {
    transform: scale(1.08);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 100%);
}

.category-card:hover .category-content p, 
.category-card:hover .category-link {
    opacity: 1;
    transform: translateY(0);
}

/* Adjust overlay slide timings for smoother flow */
.category-card:hover .category-content p {
    transition-delay: 0.05s;
}

.category-card:hover .category-link {
    transition-delay: 0.1s;
}

/* --- Featured spotlight (Product Grid) --- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.product-card {
    background-color: var(--color-white);
    transition: var(--transition-smooth);
}

.product-img-container {
    position: relative;
    height: 380px;
    overflow: hidden;
    background-color: var(--color-beige);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.badge-gold {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.badge-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.product-quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 3;
}

.product-quick-view .btn-small {
    background: rgba(10, 10, 10, 0.8);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 80%;
}

.product-quick-view .btn-small:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.product-details {
    padding: 1.2rem 0;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.4rem;
}

.product-category {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-status {
    font-style: italic;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-title a:hover {
    color: var(--color-gold-dark);
}

.product-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gold-dark);
    letter-spacing: 0.05em;
}

/* Card Hover actions */
.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-card:hover .product-quick-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Why Choose Us (Heritage) --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.why-us-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border: 1px solid rgba(197, 168, 128, 0.15);
    transition: var(--transition-smooth);
}

.why-us-icon-wrapper {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.why-us-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.why-us-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 300;
    line-height: 1.6;
}

.why-us-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-hover);
}

.why-us-card:hover .why-us-icon-wrapper {
    color: var(--color-dark);
    transform: scale(1.1);
}

/* --- Instagram Gallery Section --- */
.gallery-section {
    padding: var(--spacing-lg) 0;
}

.gallery-masonry {
    column-count: 3;
    column-gap: var(--spacing-sm);
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--spacing-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--color-white);
    padding: var(--spacing-sm);
}

.gallery-icon {
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.gallery-hover-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.gallery-stats {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    gap: var(--spacing-sm);
}

.absolute-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

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

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

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

/* --- Store Statistics Section --- */
.stats-section {
    position: relative;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.stat-counter-card {
    padding: 2rem 0;
}

.counter-number-wrapper {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.counter-plus {
    color: var(--color-gold-light);
    margin-left: 2px;
}

.counter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* --- Testimonials Section --- */
.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 1rem 0;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 260px; /* Uniform height to prevent layout shifts */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: scale(0.95);
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
    padding: 0 var(--spacing-md);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
    z-index: 2;
}

.testimonial-stars {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.5;
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-name {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-dark);
}

.author-location {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

/* Testimonial Navs */
.slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: 1.5rem;
}

.slider-btn {
    background: transparent;
    cursor: pointer;
    color: var(--color-text-light);
    border: 1px solid rgba(197, 168, 128, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    background-color: rgba(197, 168, 128, 0.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-text-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background-color: var(--color-gold);
    transform: scale(1.3);
}

/* --- Contact Section --- */
.contact-section .grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contact-panel-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.info-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    color: var(--color-gold);
    margin-top: 4px;
}

.info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.info-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
}

.info-link:hover {
    color: var(--color-gold-dark);
}

.text-whatsapp {
    color: #25D366;
}

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

.info-detail {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Map Embed */
.map-container {
    width: 100%;
    height: 250px;
    position: relative;
    border: 1px solid rgba(197, 168, 128, 0.2);
    overflow: hidden;
}

.map-glass-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    width: 220px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.map-glass-overlay h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--color-dark);
}

.map-glass-overlay p {
    font-size: 0.7rem;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.map-glass-overlay .btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.6rem;
}

/* Form Container */
.form-container-box {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.form-heading {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1.8rem;
    font-weight: 300;
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 6px;
}

.form-group .req {
    color: var(--color-error);
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    border: 1px solid rgba(10, 10, 10, 0.1);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 1px var(--color-gold);
}

select.form-input {
    cursor: pointer;
}

/* Error states */
.form-group.invalid .form-input {
    border-color: var(--color-error);
    box-shadow: 0 0 0 1px var(--color-error);
}

.error-message {
    display: none;
    font-size: 0.7rem;
    color: var(--color-error);
    margin-top: 4px;
    font-weight: 500;
}

.form-group.invalid .error-message {
    display: block;
}

/* Checkbox Styling */
.checkbox-group {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.form-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--color-gold);
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
}

/* Form Success box overlay styling */
.form-success-alert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-success-alert.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon-circle {
    width: 60px;
    height: 60px;
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--color-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.form-success-alert h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.form-success-alert p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

/* --- Professional Footer --- */
.footer-section {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid rgba(197, 168, 128, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo .logo-text {
    font-size: 1.5rem;
}

.footer-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

.footer-social-links {
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-social-links a:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    background-color: rgba(197, 168, 128, 0.05);
}

.footer-title {
    font-size: 1.1rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links-list li {
    margin-bottom: 0.8rem;
}

.footer-links-list a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.footer-links-list a:hover {
    color: var(--color-gold-light);
    padding-left: 4px;
}

.footer-contact-info li {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.info-lbl {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 2px;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-info a:hover {
    color: var(--color-gold-light);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.copyright-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.footer-bottom-links {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-bottom-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links a:hover {
    color: var(--color-gold-light);
}

/* --- Back to Top Button --- */
#back-to-top-btn {
    position: fixed;
    bottom: 6.5rem;
    right: 2.5rem;
    z-index: 99;
    background-color: var(--color-dark);
    color: var(--color-white);
    border: 1px solid var(--color-gold);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 99;
    background-color: #25D366;
    color: var(--color-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.45);
}

.whatsapp-float svg {
    color: var(--color-white);
}

@keyframes pulseWhatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- Scroll Reveal Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Keyframe Animations --- */
@keyframes zoomHero {
    0% { transform: scale(1.03); }
    100% { transform: scale(1.08); }
}

@keyframes scrollMouse {
    0% { opacity: 0; top: 5px; }
    30% { opacity: 1; }
    100% { opacity: 0; top: 18px; }
}

@keyframes slideLoader {
    0% { left: -40px; }
    100% { left: 120px; }
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}


/* ==========================================================================
   MEDIA QUERIES (Mobile-first responsiveness)
   ========================================================================== */

/* Tablet Viewports (< 1024px) */
@media screen and (max-width: 1024px) {
    /* Section paddings */
    .padding-section {
        padding: var(--spacing-md) 0;
    }

    /* Hero section */
    .hero-title {
        font-size: 3.2rem;
    }

    /* About Section */
    .about-section .grid-split {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-image-collage {
        height: 420px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    /* Categories section */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Featured Products */
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Why Us Section */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Masonry Gallery */
    .gallery-masonry {
        column-count: 2;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    /* Contact Section */
    .contact-section .grid-split {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Footer Grid */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Viewports (< 768px) */
@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }

    /* Navigation Bar */
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s ease-in-out;
        justify-content: center;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-link {
        font-size: 1.1rem;
        display: block;
        padding: 0.8rem 0;
    }

    .btn-nav {
        display: none; /* Hide top CTA on small mobile header, accessible in list */
    }

    .experience-badge {
        right: 15px;
        bottom: 15px;
        padding: 1rem;
        width: 130px;
    }

    .badge-number {
        font-size: 1.8rem;
    }

    /* Hero section */
    .hero-content {
        margin-left: 5%;
        padding: 1rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    /* Category cards */
    .categories-grid {
        grid-template-columns: 1fr;
    }

    /* Product cards */
    .featured-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .product-img-container {
        height: 340px;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-masonry {
        column-count: 1;
        padding: 0;
    }

    /* Testimonial slider uniform height adjust */
    .testimonial-slider {
        height: 380px;
    }

    .testimonial-quote {
        font-size: 1.2rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Form Container */
    .form-container-box {
        padding: 1.5rem;
    }

    .form-heading {
        font-size: 1.6rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   SECONDARY / LEGAL PAGE STYLES
   ========================================================================== */

.legal-page-header {
    height: 40vh;
    min-height: 250px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.legal-page-title {
    font-size: 3.5rem;
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.legal-content-container {
    padding: var(--spacing-lg) 0;
}

.legal-box {
    background-color: var(--color-white);
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(197, 168, 128, 0.15);
}

.legal-box h3 {
    font-size: 1.6rem;
    color: var(--color-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.legal-box h3:first-of-type {
    margin-top: 0;
}

.legal-box p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-weight: 300;
}

.legal-box ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: square;
}

.legal-box li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.6rem;
    font-weight: 300;
}

.consent-highlight-box {
    background-color: var(--color-beige);
    border-left: 3px solid var(--color-gold);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.consent-highlight-box p {
    font-style: italic;
    color: var(--color-text-dark);
    margin-bottom: 0;
}

/* Adjustments for mobile legal screens */
@media screen and (max-width: 768px) {
    .legal-page-header {
        height: 30vh;
        min-height: 200px;
    }

    .legal-page-title {
        font-size: 2.2rem;
    }

    .legal-box {
        padding: 1.8rem;
    }

    .consent-highlight-box {
        padding: 1.2rem;
        margin: 1.5rem 0;
    }
}
