/*
Theme Name: Vanika Jewels Theme V2
Theme URI: http://example.com/vanika
Author: Narendra
Author URI: http://example.com
Description: Custom WordPress theme for Vanika Jewels.
Version: 1.2
Text Domain: vanika-jewels
*/

/* Google Fonts */
        @import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Outfit:wght@300;400;500&display=swap');

        /* High-End Minimalist White Theme */
        :root {
            --bg-color: #FFFFFF;
            --cream-bg: #F8F6F2;
            --text-color: #111111;
            --text-muted: #666666;
            --accent-gold: #C4A47C;
            --accent-dark: #111111;
            --border-color: #E2DFD8;

            --font-heading: 'Cormorant Garamond', serif;
            --font-body: 'Outfit', sans-serif;

            --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

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

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            font-family: var(--font-body);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

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

        .white-bg {
            background-color: #FFFFFF;
        }

        /* Responsive Typography using clamp() for fluid scaling across Desktop to Phone */
        h1,
        h2,
        h3,
        h4,
        h5,
        .logo,
        .brand-quote {
            font-family: var(--font-heading);
            font-weight: 400;
            color: var(--text-color);
        }

        .section-title {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }

        .subsection-title {
            font-size: clamp(2rem, 5vw, 3.5rem);
            line-height: 1.1;
        }

        .hero-title {
            font-size: clamp(3.5rem, 8vw, 6.5rem);
            line-height: 1;
            margin-bottom: 30px;
        }

        .italic-text {
            font-style: italic;
            font-weight: 300;
        }

        .eyebrow-text {
            display: block;
            font-family: var(--font-body);
            font-size: 0.75rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }

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

        ul {
            list-style: none;
        }

        .elegant-p {
            font-size: clamp(1rem, 2vw, 1.15rem);
            color: var(--text-muted);
            font-weight: 300;
            line-height: 1.8;
        }

        .section-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.25rem);
            color: var(--text-muted);
            font-weight: 300;
        }

        /* Responsive Layout Grid */
        .container {
            max-width: 1360px;
            margin: 0 auto;
            padding: 0 5%;
        }

        .container-large {
            max-width: 1500px;
            padding: 0 5%;
        }

        .container-sm {
            max-width: 800px;
        }

        /* Scalable padding based on screen size */
        .section-pad {
            padding: clamp(60px, 10vw, 140px) 0;
        }

        .flex-center {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .flex-between {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        .mx-auto {
            margin-left: auto;
            margin-right: auto;
        }

        .mt-3 {
            margin-top: 1.5rem;
        }

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

        .mt-5 {
            margin-top: 4rem;
        }

        .mb-3 {
            margin-bottom: 1.5rem;
        }

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

        .mb-5 {
            margin-bottom: clamp(2rem, 5vw, 4rem);
        }

        .pr-4 {
            padding-right: clamp(0px, 3vw, 2rem);
        }

        .pt-5 {
            padding-top: clamp(3rem, 10vw, 5rem);
        }

        .pb-5 {
            padding-bottom: clamp(3rem, 10vw, 5rem);
        }

        /* Link Animations (Underline Hover) */
        .link-animate {
            font-family: var(--font-body);
            font-size: 0.85rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 15px;
            font-weight: 500;
        }

        .line-arrow {
            display: inline-block;
            width: 40px;
            height: 1px;
            background-color: var(--text-color);
            position: relative;
            transition: var(--transition);
        }

        .line-arrow::after {
            content: '';
            position: absolute;
            right: 0;
            top: -3px;
            width: 7px;
            height: 7px;
            border-top: 1px solid var(--text-color);
            border-right: 1px solid var(--text-color);
            transform: rotate(45deg);
        }

        .link-animate:hover .line-arrow {
            width: 60px;
        }

        /* Buttons */
        .btn-dark {
            display: inline-block;
            padding: 12px 30px;
            font-family: var(--font-body);
            font-size: 0.85rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            background-color: var(--accent-dark);
            color: #fff;
            cursor: pointer;
            border: none;
            border-radius: 0;
            transition: var(--transition);
        }

        .btn-dark:hover {
            background-color: var(--accent-gold);
            color: #fff;
        }

        .btn-sm {
            padding: 8px 24px;
            font-size: 0.8rem;
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 25px 0;
            background: transparent;
            z-index: 999;
            transition: var(--transition);
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.98);
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .nav-container {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            overflow: hidden;
        }

        .brand .logo {
            font-size: clamp(1.8rem, 3vw, 2.2rem);
        }

        .center-links {
            display: flex;
            gap: 40px;
        }

        .center-links a {
            font-size: 0.9rem;
            font-weight: 400;
            letter-spacing: 0.05em;
            color: var(--text-color);
        }

        .center-links a:hover {
            opacity: 0.6;
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .mobile-menu-btn {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 100px;
        }

        .hero-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .hero-content {
            flex: 1;
            min-width: 300px;
            padding-right: clamp(0px, 5vw, 8%);
            z-index: 2;
            margin-bottom: clamp(40px, 5vw, 0px);
        }

        .hero-subtitle {
            max-width: 450px;
            line-height: 1.8;
            margin-bottom: 40px;
        }

        .hero-image-wrapper {
            flex: 1;
            min-width: 300px;
            position: relative;
            display: flex;
            justify-content: center;
        }

        .arch-img {
            width: 90%;
            max-width: 650px;
            z-index: 1;
            border-radius: 0;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
            object-fit: cover;
            aspect-ratio: 4/5;
        }

        /* Founder Cards */
        .founders-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: clamp(40px, 6vw, 80px);
        }

        .founder-card {
            display: flex;
            flex-direction: column;
        }

        .founder-photo {
            width: 100%;
            aspect-ratio: 3/4;
            object-fit: cover;
            object-position: top;
            margin-bottom: 30px;
        }

        .founder-credential {
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--accent-gold);
            font-family: var(--font-body);
            margin-bottom: 8px;
            display: block;
        }

        .founder-name {
            font-size: clamp(1.8rem, 3.5vw, 2.5rem);
            margin-bottom: 5px;
        }

        .founder-title {
            font-family: var(--font-body);
            font-size: 0.9rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 25px;
        }

        .founder-bio p {
            font-size: clamp(0.95rem, 1.8vw, 1.05rem);
            color: var(--text-muted);
            line-height: 1.85;
            margin-bottom: 12px;
        }

        .founder-strength-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 20px;
        }

        .strength-tag {
            font-family: var(--font-body);
            font-size: 0.75rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            border: 1px solid var(--border-color);
            padding: 5px 12px;
            color: var(--text-muted);
        }

        /* Story section */
        .story-section {
            background: var(--accent-dark);
            color: #fff;
        }

        .story-section .eyebrow-text {
            color: var(--accent-gold);
        }

        .story-section .section-title {
            color: #fff;
        }

        .story-chapters {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            margin-top: 50px;
        }

        .story-chapter {
            border-top: 1px solid rgba(255, 255, 255, 0.15);
            padding-top: 25px;
        }

        .story-chapter h4 {
            font-family: var(--font-body);
            font-size: 0.75rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--accent-gold);
            margin-bottom: 15px;
        }

        .story-chapter p {
            color: rgba(255, 255, 255, 0.72);
            font-size: 0.98rem;
            line-height: 1.85;
        }

        .story-chapter strong {
            color: #fff;
            font-weight: 500;
        }

        /* Category Slider */
        .slider-controls {
            display: flex;
            gap: 15px;
        }

        .slider-btn {
            width: clamp(40px, 8vw, 50px);
            height: clamp(40px, 8vw, 50px);
            border-radius: 50%;
            border: 1px solid var(--border-color);
            background: transparent;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.2rem;
        }

        .slider-btn:hover {
            background: var(--text-color);
            color: #fff;
            border-color: var(--text-color);
        }

        /* Fully fluid responsive circular grid */
        .category-circles {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
            gap: clamp(20px, 4vw, 40px);
        }

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

        .img-hover-zoom {
            overflow: hidden;
            border-radius: 4px;
            aspect-ratio: 3/4;
            margin-bottom: 25px;
        }

        .img-hover-zoom img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s ease;
        }

        .category-item:hover .img-hover-zoom img {
            transform: scale(1.08);
        }

        .category-item h4 {
            font-family: var(--font-body);
            font-size: 1.4rem;
            font-weight: 500;
            letter-spacing: 0.05em;
            margin-bottom: 8px;
        }

        .product-count {
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        /* Elegant Split Layout (General Text+Image usage) */
        .elegant-split {
            display: flex;
            align-items: center;
            gap: clamp(40px, 8vw, 80px);
            flex-wrap: wrap;
        }

        .align-start {
            align-items: flex-start;
        }

        .split-text-elegant {
            flex: 1;
            min-width: 300px;
        }

        /* Elegant Tabs Navigation - Flex Wrapping is Key */
        .tabs-container-elegant {
            display: flex;
            gap: clamp(20px, 4vw, 40px);
            border-bottom: 1px solid var(--border-color);
            flex-wrap: wrap;
            justify-content: flex-start;
        }

        .tab-btn-elegant {
            padding: 0 0 15px 0;
            border: none;
            background: transparent;
            font-family: var(--font-body);
            font-size: clamp(0.9rem, 2.5vw, 1.1rem);
            color: var(--text-muted);
            font-weight: 400;
            cursor: pointer;
            position: relative;
            transition: var(--transition);
        }

        .tab-btn-elegant::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--text-color);
            transition: var(--transition);
        }

        .tab-btn-elegant.active {
            color: var(--text-color);
        }

        .tab-btn-elegant.active::after {
            width: 100%;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
            animation: smoothFade 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        @keyframes smoothFade {
            from {
                opacity: 0;
                transform: translateY(15px);
            }

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

        /* Fluid Overlapping Images container */
        .overlapping-images {
            flex: 1.2;
            min-width: 300px;
            position: relative;
            height: clamp(400px, 50vw, 600px);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .img-behind {
            position: absolute;
            left: 0;
            top: 0;
            width: 65%;
            height: 80%;
            object-fit: cover;
            filter: grayscale(100%) opacity(0.7);
        }

        .img-front {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 75%;
            height: 90%;
            object-fit: cover;
            box-shadow: -10px 20px 50px rgba(0, 0, 0, 0.1);
            border: clamp(6px, 1.5vw, 10px) solid #fff;
        }

        .floating-label {
            position: absolute;
            bottom: 20px;
            right: -5%;
            background: #fff;
            padding: clamp(10px, 2vw, 15px) clamp(15px, 4vw, 30px);
            font-family: var(--font-heading);
            font-style: italic;
            font-size: clamp(1.2rem, 3vw, 1.5rem);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            z-index: 2;
        }

        /* About / Quote */
        .quote-icon {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            color: var(--accent-gold);
            opacity: 0.5;
        }

        .brand-quote {
            font-size: clamp(1.8rem, 4vw, 3rem);
            line-height: 1.3;
            max-width: 900px;
            margin: 0 auto;
        }

        .author {
            font-size: 1rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-muted);
        }

        /* Banner image */
        .full-width-image {
            width: 100%;
            height: clamp(40vh, 50vw, 60vh);
            background-size: cover;
            background-position: center 30%;
            background-attachment: scroll;
        }

        /* changed fixed to scroll for better mobile support */

        /* Minimalist Form - Responsive flex wrap */
        .minimal-form {
            width: 100%;
        }

        .form-row {
            display: flex;
            gap: clamp(15px, 3vw, 30px);
            margin-bottom: clamp(20px, 4vw, 40px);
            flex-wrap: wrap;
        }

        .minimal-input {
            flex: 1;
            min-width: 100%;
            border: none;
            border-bottom: 1px solid var(--border-color);
            background: transparent;
            padding: 10px 0;
            font-family: var(--font-body);
            font-size: 1rem;
            color: var(--text-color);
            outline: none;
            transition: var(--transition);
        }

        @media (min-width: 768px) {
            .minimal-input {
                min-width: 45%;
            }

            /* Side by side on desktop */
        }

        .minimal-input:focus {
            border-bottom-color: var(--text-color);
        }

        .contact-form-wrapper {
            flex: 1.2;
            width: 100%;
        }

        .minimal-contact-info .info-label {
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--text-muted);
            display: block;
            margin-bottom: 5px;
        }

        /* Photo Gallery Masonry */
        .gallery-filters {
            display: flex;
            gap: clamp(15px, 3vw, 30px);
            flex-wrap: wrap;
            justify-content: center;
        }

        .filter-btn {
            border: none;
            background: transparent;
            font-family: var(--font-body);
            font-size: clamp(0.85rem, 2vw, 1rem);
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-muted);
            cursor: pointer;
            transition: var(--transition);
            padding-bottom: 5px;
            border-bottom: 1px solid transparent;
        }

        .filter-btn:hover {
            color: var(--text-color);
        }

        .filter-btn.active {
            color: var(--text-color);
            border-bottom-color: var(--text-color);
        }

        .gallery-masonry {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            padding-bottom: 20px;
        }

        .gallery-item {
            margin-bottom: 0;
            position: relative;
            border-radius: 4px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.4s ease, opacity 0.4s ease;
        }

        .gallery-item.hidden {
            display: none;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            aspect-ratio: 4/5;
            display: block;
            transition: transform 0.6s ease;
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: rgba(17, 17, 17, 0.4);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.4s ease;
            backdrop-filter: blur(2px);
            text-align: center;
        }

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

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

        .gallery-overlay p {
            color: #fff;
            font-size: 1.3rem;
            margin-bottom: 5px;
            transform: translateY(10px);
            transition: transform 0.4s ease;
        }

        .gallery-overlay span {
            transform: translateY(10px);
            transition: transform 0.4s ease;
            transition-delay: 0.1s;
        }

        .gallery-item:hover .gallery-overlay p,
        .gallery-item:hover .gallery-overlay span {
            transform: translateY(0);
        }

        /* Footer - Auto fitting grid */
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: clamp(30px, 5vw, 60px);
        }

        .footer-logo {
            font-size: clamp(2rem, 4vw, 2.5rem);
        }

        .footer-col h3 {
            font-family: var(--font-body);
            font-size: 1rem;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: clamp(15px, 3vw, 25px);
            font-weight: 500;
        }

        .footer-col ul li {
            margin-bottom: 15px;
        }

        .footer-col ul li a {
            color: var(--text-muted);
            font-size: 1rem;
        }

        .footer-col ul li a:hover {
            color: var(--text-color);
        }

        .footer-social a {
            color: var(--text-muted);
            display: block;
            margin-bottom: 10px;
        }

        .footer-social a:hover {
            color: var(--text-color);
        }

        .newsletter-form-minimal {
            display: flex;
            border-bottom: 1px solid var(--text-color);
            padding-bottom: 10px;
        }

        .newsletter-form-minimal input {
            border: none;
            background: transparent;
            flex: 1;
            outline: none;
            font-family: var(--font-body);
            font-size: 1rem;
            min-width: 0;
        }

        .newsletter-form-minimal button {
            border: none;
            background: transparent;
            cursor: pointer;
            font-size: 1.2rem;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid var(--border-color);
            padding-top: 25px;
            color: var(--text-muted);
            font-size: 0.9rem;
            flex-wrap: wrap;
            gap: 20px;
        }

        .legal-links {
            display: flex;
            gap: clamp(15px, 3vw, 30px);
        }

        /* Animations */
        .fade-in-section {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
            will-change: opacity, transform;
        }

        .fade-in-section.is-visible {
            opacity: 1;
            transform: none;
        }

        /* Phone Specific Fixes (< 768px) */
        @media (max-width: 820px) {
            .nav-links.center-links {
                display: none;
            }

            .nav-actions .btn-sm {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero-container {
                flex-direction: column-reverse;
                margin-top: 20px;
            }

            .hero-image-wrapper {
                margin-bottom: 40px;
            }

            .hero-content .mt-4 {
                flex-wrap: nowrap !important;
                gap: 15px !important;
            }

            .hero-content .btn-dark {
                padding: 10px 15px;
                font-size: 0.75rem;
            }

            .hero-content .link-animate {
                font-size: 0.75rem;
            }

            .tabs-container-elegant {
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                padding-bottom: 5px;
                scrollbar-width: none;
            }

            .tabs-container-elegant::-webkit-scrollbar {
                display: none;
            }

            .tab-btn-elegant {
                flex-shrink: 0;
            }

            /* Fix image overlap on mobile so they don't break containers */
            .overlapping-images {
                height: auto;
                display: flex;
                flex-direction: column;
                gap: 20px;
            }

            .img-behind,
            .img-front {
                position: relative;
                width: 100%;
                height: auto;
                box-shadow: none;
                border: none;
                aspect-ratio: 4/5;
                filter: none;
            }

            .img-behind {
                display: none;
            }

            /* On extremely small devices, just show the beautiful modern result */
            .img-front {
                border-radius: 8px;
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            }

            .floating-label {
                bottom: -15px;
                right: auto;
                left: 10px;
            }

            .elegant-split.align-start {
                flex-direction: column;
            }

            .gallery-masonry {
                column-count: 1;
            }

            /* Stack masonry beautifully on mobile */
            .filter-btn {
                padding: 8px 15px;
                border: 1px solid var(--border-color);
                border-radius: 20px;
            }

            .filter-btn.active {
                background: var(--text-color);
                color: #fff;
                border-bottom: 1px solid var(--text-color);
            }
        }