/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5a3e2b;
    --secondary: #f5f2ed;
    --accent: #2c1a10;
    --text: #333;
    --border: #d4c5b9;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background-color: var(--secondary);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.hidden {
    display: none !important;
}

/* ========================================
   ARTISAN LOADER STYLES
   ======================================== */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2c1a10 0%, #5a3e2b 50%, #3d2817 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    animation: loaderFadeOut 0.8s ease-in-out 6s forwards;
}

@keyframes loaderFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Floating Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(245, 242, 237, 0.4);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
    opacity: 0;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 7s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-delay: 1.5s;
    animation-duration: 9s;
}

.particle:nth-child(3) {
    left: 40%;
    animation-delay: 0.8s;
    animation-duration: 8.5s;
}

.particle:nth-child(4) {
    left: 55%;
    animation-delay: 2s;
    animation-duration: 7.5s;
}

.particle:nth-child(5) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.particle:nth-child(6) {
    left: 85%;
    animation-delay: 0.5s;
    animation-duration: 9.5s;
}

.particle:nth-child(7) {
    left: 15%;
    animation-delay: 2.5s;
    animation-duration: 7.8s;
}

.particle:nth-child(8) {
    left: 90%;
    animation-delay: 1.8s;
    animation-duration: 8.2s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.8;
        transform: translateY(50vh) translateX(20px) rotate(180deg);
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-10vh) translateX(-20px) rotate(360deg);
        opacity: 0;
    }
}

/* Loader Content */
.loader-content {
    text-align: center;
    color: var(--secondary);
    position: relative;
    z-index: 2;
}

/* Craft Animation Container */
.craft-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.pottery-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(245, 242, 237, 0.3));
}

/* SVG Path Drawing Animation */
.draw-path {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawPath 3s ease-out forwards;
    filter: drop-shadow(0 0 3px rgba(245, 242, 237, 0.5));
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* Decorative Lines */
.draw-line {
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawLine 0.8s ease-out forwards;
    opacity: 0;
}

.draw-line.delay-1 {
    animation-delay: 2s;
}

.draw-line.delay-2 {
    animation-delay: 2.3s;
}

.draw-line.delay-3 {
    animation-delay: 2.6s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

/* Texture Dots */
.fade-dot {
    opacity: 0;
    animation: fadeDot 0.5s ease-out forwards;
}

.fade-dot.delay-4 {
    animation-delay: 3s;
}

.fade-dot.delay-5 {
    animation-delay: 3.3s;
}

@keyframes fadeDot {
    to {
        opacity: 1;
    }
}

/* Texture Overlay - Wood grain effect */
.texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(139, 111, 71, 0.03) 2px,
            rgba(139, 111, 71, 0.03) 4px),
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(107, 85, 54, 0.02) 2px,
            rgba(107, 85, 54, 0.02) 4px);
    opacity: 0;
    animation: fadeInTexture 1s ease-out 3.5s forwards;
    pointer-events: none;
    border-radius: 10px;
}

@keyframes fadeInTexture {
    to {
        opacity: 1;
    }
}

/* Pottery Breathing Effect (after completion) */
@keyframes breathe {

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

    50% {
        transform: scale(1.02);
    }
}

.pottery-svg {
    animation: breathe 3s ease-in-out 4s infinite;
}

/* Brand Title */
.loader-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 8px;
    animation: fadeInUp 1s ease-out 0.5s backwards;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

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

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

/* Craft Facts - Rotating Messages */
.craft-facts {
    position: relative;
    height: 40px;
    margin: 2rem auto;
    overflow: hidden;
}

.craft-fact {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    font-style: italic;
    color: rgba(245, 242, 237, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.craft-fact.active {
    animation: rotateFact 10s ease-in-out infinite;
}

.craft-fact:nth-child(2) {
    animation-delay: 2s;
}

.craft-fact:nth-child(3) {
    animation-delay: 4s;
}

.craft-fact:nth-child(4) {
    animation-delay: 6s;
}

.craft-fact:nth-child(5) {
    animation-delay: 8s;
}

@keyframes rotateFact {

    0%,
    100% {
        opacity: 0;
        transform: translateY(20px);
    }

    5%,
    15% {
        opacity: 1;
        transform: translateY(0);
    }

    20% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Weaving Thread Progress */
.weave-progress {
    position: relative;
    width: 250px;
    height: 6px;
    margin: 2rem auto 0;
    display: flex;
    gap: 3px;
    align-items: center;
}

.thread {
    flex: 1;
    height: 100%;
    background: rgba(245, 242, 237, 0.2);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.thread::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(245, 242, 237, 0.4) 0%,
            rgba(245, 242, 237, 0.9) 50%,
            rgba(245, 242, 237, 0.4) 100%);
    transform: translateX(-100%);
}

.thread-1::before {
    animation: weaveThread 2s ease-in-out infinite;
    animation-delay: 0s;
}

.thread-2::before {
    animation: weaveThread 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.thread-3::before {
    animation: weaveThread 2s ease-in-out infinite;
    animation-delay: 0.6s;
}

@keyframes weaveThread {
    0% {
        transform: translateX(-100%);
    }

    50%,
    100% {
        transform: translateX(200%);
    }
}

/* Cursor Parallax Effect */
.loader-content {
    transition: transform 0.3s ease-out;
}

/* Responsive Loader */
@media (max-width: 768px) {
    .loader-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .craft-animation {
        width: 150px;
        height: 150px;
    }

    .craft-fact {
        font-size: 0.95rem;
    }

    .weave-progress {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .loader-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .craft-animation {
        width: 120px;
        height: 120px;
    }

    .craft-fact {
        font-size: 0.85rem;
    }

    .weave-progress {
        width: 150px;
    }
}

/* Navigation Styles */
.nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

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

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Container and Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 26, 16, 0.7) 0%, rgba(90, 62, 43, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--secondary);
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

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

/* Categories Grid */
.categories-section {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

.category-card-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.category-card-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Product Grid */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--border);
    border-radius: 25px;
    background: white;
    color: var(--text);
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    flex: 1;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

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

/* Footer */
.footer {
    background: var(--accent);
    color: var(--secondary);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.9;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

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

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

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 1rem);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 1rem;
        border-radius: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        display: none;
    }

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

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-card:hover {
        transform: translateY(-2px);
    }

    /* Product Detail Page - Stack on mobile */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Contact Page - Stack on mobile */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

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

    .loader-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-btn {
        display: none;
    }
}

/* Additional Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.p-2 {
    padding: 2rem;
}

/* Product Cards Hover Effect Enhancement */
.product-card:hover .product-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.product-image {
    transition: transform 0.3s ease;
}

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

/* Loading State for Images */
img {
    background: var(--secondary);
}

/* Button Hover States */
.btn:active {
    transform: scale(0.98);
}

/* Form Focus States */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(90, 62, 43, 0.1);
}

/* Category Card Enhancements */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0.5;
    transition: opacity 0.3s;
    z-index: 1;
}

.category-card:hover::before {
    opacity: 0.7;
}

.category-card-overlay {
    z-index: 2;
}

/* ============================================
   PREMIUM FEATURES STYLES
   ============================================ */

/* Custom Cursor */
body {
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.2s ease, background-color 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(2);
    background-color: rgba(90, 62, 43, 0.2);
}

.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Parallax Effects */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    z-index: -1;
    transition: transform 0.1s ease-out;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    color: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: white;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #fff 100%);
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star {
    color: #ffc107;
    font-size: 1.2rem;
}

.star.empty {
    color: #ddd;
}

.testimonial-text {
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
}

/* Before/After Slider */
.before-after-section {
    background: white;
    padding: 5rem 0;
}

.before-after-container {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.after-image {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s ease;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 10;
}

.slider-handle::before {
    content: '⟨⟩';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: -2px;
}

.before-label,
.after-label {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

/* Responsive adjustments for premium features */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-trail {
        display: none;
    }

    .before-after-slider {
        height: 350px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ============================================
   PRODUCT GALLERY STYLES
   ============================================ */

.product-gallery {
    width: 100%;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.thumbnail-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: var(--secondary);
}

.thumbnail-image:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-image.active {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(90, 62, 43, 0.3);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .main-image-container {
        height: 350px;
    }

    .thumbnail-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .thumbnail-image {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .main-image-container {
        height: 300px;
    }

    .thumbnail-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .thumbnail-image {
        height: 70px;
    }
}