﻿body {
    background-color: #f3e2d0;
    color: #511407;
    overflow-x: hidden;
}

body {
    font-family: "Barlow",Sans-Serif !important;
    font-weight: 200;
    line-height: 2.5rem;
}
/* Hero canvas sits behind content */
.hero {
    background: linear-gradient(rgba(81,20,7,0.45), rgba(81,20,7,0.75)), url('images/aangan_hero.jpg') center/cover no-repeat;
    color: #f3e2d0;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3
}

.hero .hero-inner {
    position: relative;
    z-index: 2;
}
/* small visual updates to ensure canvas doesn't cover important elements */
canvas {
    display: block;
}
/* rest of your CSS (unchanged) */
/* -----------------------------------------
         Navbar – Aangan Theme
         ----------------------------------------- */
.aangan-navbar {
    background-color: #f3e2d0;
    padding: 10px 0;
    transition: all 0.3s ease;
}
/* Logo */
.aangan-logo {
    height: 110px;
    transition: 0.3s ease-in-out;
}

@media (max-width: 991px) {
    .aangan-logo {
        height: 85px;
    }
}

@media (max-width: 576px) {
    .aangan-logo {
        height: 70px;
    }
}
/* Nav links */
.navbar-nav .nav-link {
    color: #511407 !important;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 18px;
    transition: 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #1e0701 !important;
        transform: scale(1.05);
    }
/* Toggler button */
.navbar-toggler {
    color: #6b3324;
    background: #f3e2d0;
    border: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: 0.3s ease;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }
/* Mobile Menu Style */
@media (max-width: 991.98px) {
    .navbar-collapse {
        border: 1px solid rgba(81, 20, 7, 0.4);
        padding: 15px 12px;
        border-radius: 18px;
        background-color: rgba(81, 20, 7, 0.95);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
        margin-top: 12px;
        animation: dropdownFade 0.3s ease;
    }

    @keyframes dropdownFade {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar-collapse .nav-link {
        color: #f3e2d0 !important;
        margin: 5px 0;
        padding: 12px;
        border-radius: 12px;
        font-size: 17px;
    }

        .navbar-collapse .nav-link:hover {
            background-color: rgba(243, 226, 208, 0.12);
        }
}
/* Improve spacing between navbar items on large screens */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin-left: 12px;
    }
}
/* Navbar */
/*.navbar { background-color: #f3e2d0; }
         .navbar-brand img { height: 120px; }
         .navbar-nav .nav-link { color:   #511407!important; font-weight: 500; transition: 0.3s; font-size: 16px; }
         .navbar-nav .nav-link:hover { color: #1e0701 !important; transform: scale(1.1); }
         .navbar-toggler{ color: #6b3324; background: #f3e2d0; }
         .navbar-toggler:hover{ color: #6b3324; background: #f3e2d0; }
         /* Tablet and Mobile — Apply your desired style */
/*@media (max-width: 991.98px) { .navbar-collapse { border: 1px solid rgba(81, 20, 7, 0.4); padding: 8px 10px; border-radius: 25px; background-color: rgba(81, 20, 7, 0.9); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); transition: all 0.3s ease-in-out; } .navbar-collapse .nav-link { color: #f3e2d0 !important; text-align: center; border-radius: 10px; margin: 4px 0; } .navbar-collapse .nav-link:hover { background-color: rgba(243, 226, 208, 0.1); } }*/
.hero::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: radial-gradient(rgba(255,255,255,0.06), transparent 60%);
    transform: rotate(5deg);
    z-index: 1
}

.hero img {
    height: 120px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    margin-bottom: 20px;
    transform: scale(1);
    transition: transform 0.5s ease;
}

    .hero img:hover {
        transform: scale(1.1);
    }

.hero h1 {
    font-size: 50px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 10px rgb(147 42 0 / 71%)
}

.hero p {
    font-size: 20px;
    margin-top: 15px;
}

.btn-custom {
    background-color: #f3e2d0;
    color: #511407;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 30px;
    box-shadow: 0 5px 15px rgba(81, 20, 7, 0.3);
    transition: all 0.4s ease;
}

    .btn-custom:hover {
        transform: translateY(-4px) scale(1.05);
        background-color: #511407;
        color: #f3e2d0;
        box-shadow: 0 10px 25px rgba(81, 20, 7, 0.5);
    }
/* Glassy hover & cards */
/*.glassy-hover { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; backdrop-filter: blur(8px) saturate(180%); box-shadow: 0 8px 24px rgba(81, 20, 7, 0.25); transition: all 0.6s ease; }
         .glassy-hover::before { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); transition: all 0.9s ease; opacity: 0; }
         .glassy-hover:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 40px rgba(81, 20, 7, 0.35); }
         .glassy-hover:hover::before { left: 130%; opacity: 1; }*/
.glassy-hover {
    position: relative;
    overflow: hidden;
}

    .glassy-hover::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 120%; /* oversize so it covers fully */
        height: 100%;
        background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
        transform: translateX(-150%) skewX(-25deg);
        transition: transform 0.9s ease;
        pointer-events: none;
    }

    .glassy-hover:hover::before {
        transform: translateX(150%) skewX(-25deg);
    }

.about-section h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #511407;
    margin: 10px auto 0;
    border-radius: 10px;
}

.section-title {
    color: #511407;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 28px;
}

.about .about-text {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

    .about .about-text:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(81, 20, 7, 0.3);
    }

.img-wrapper img {
    transition: transform 0.6s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}
/* product grid */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 300px;
    gap: 1.8rem;
    grid-auto-flow: dense;
}

.artist-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(81,20,7,0.15);
    transition: all 0.5s ease;
}

    .artist-card.wide {
        grid-column: span 2;
    }

    .artist-card.tall {
        grid-row: span 1;
    }

    .artist-card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 50px rgba(81,20,7,0.25);
    }

.artist-img-wrap {
    position: relative;
    overflow: hidden;
    flex-grow: 1;
}

    .artist-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
        border-radius: 20px 20px 0 0;
    }

.artist-overlay {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,0.6));
    transform: skewX(-25deg);
    transition: left 0.8s ease;
    opacity: 0;
}

.artist-card:hover img {
    transform: scale(1.1);
}

.artist-card:hover .artist-overlay {
    left: 125%;
    opacity: 1;
}

.card-body {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(81,20,7,0.2);
    border-radius: 0 0 20px 20px;
    padding: 0.75rem 1rem;
}

.text-muted {
    color: #000000 !important;
}
/* contact */
.contact-section {
    background-color: #f3e2d0;
    color: #511407;
    position: relative;
    overflow: hidden;
}

.contact-section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #511407;
    margin: 10px auto 0;
    border-radius: 10px;
}

footer {
    background-color: #511407;
    color: #f3e2d0;
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}
/* 3D floating animations */
@keyframes float {
    0%,100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}
/*----------rangoli css------------*/
/* Rangoli Floating Particles */
.rangoli-particle {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('images/rangoli-dot.png'); /* add your decorative shape */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    animation: floatUp 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.9);
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-180px) scale(1);
        opacity: 0;
    }
}
/* Make them smaller on mobile */
@media (max-width: 768px) {
    .rangoli-particle {
        width: 22px;
        height: 22px;
    }
}





/* Wrapper */
.angan-products {
    position: relative;
    font-family: "Barlow", sans-serif;
}

/* Absolute scattered layout only for LARGE SCREENS */
.ag-wrapper {
    position: relative;
    height: 1400px;
}

/* Product Card */
.ag-item {
    position: absolute;
    text-align: center;
}

    .ag-item img {
        width: 260px;
        border-radius: 8px;
        transition: all 0.4s ease;
        vertical-align: bottom;
    }

        /* Hover */
        .ag-item img:hover {
            transform: scale(1.06) rotate(1deg);
        }

.ag-label {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-top: 8px;
    color: #444;
}

/* --- Scattered Positions like Kalakriti --- */
.ag1 {
    top: 40px;
    left: 40px;
}

.ag2 {
    top: 20px;
    left: 360px;
}

.ag3 {
    top: 40px;
    left: 680px;
}

.ag4 {
    top: 305px;
    left: 890px;
}

.ag5 {
    top: 360px;
    left: 180px;
}

.ag6 {
    top: 600px;
    left: 480px;
}

.ag7 {
    top: 680px;
    left: 850px;
}

.ag8 {
    top: 900px;
    left: 180px;
}

.ag9 {
    top: 950px;
    left: 520px;
}

.ag10 {
    top: 1000px;
    left: 900px;
}

/* ---------------------- RESPONSIVE DESIGN ---------------------- */

/* Large Tablets (<=1200px) */
@media (max-width: 1200px) {
    .ag-wrapper {
        height: auto;
    }

    .ag-item {
        position: relative;
        margin-bottom: 40px;
    }
}

/* Tablets (<=992px) */
@media (max-width: 992px) {
    .ag-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        height: auto;
    }

    .ag-item {
        position: relative;
        left: unset !important;
        top: unset !important;
    }

        .ag-item img {
            width: 100%;
            max-width: 300px;
        }
}

/* Mobile (<=576px) */
@media (max-width: 576px) {
    .ag-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ag-item img {
        width: 95%;
        max-width: 320px;
    }
}


/* FIX for 1024x600 and medium landscape screens (between 992px and 1200px) */
@media (max-width: 1200px) and (min-width: 992px) {
    .ag-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
        height: auto !important;
    }

    .ag-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-bottom: 20px;
    }

        .ag-item img {
            width: 100%;
            max-width: 260px;
        }
}





/*exhibition section*/

/* Exhibition Card */
.exhibition-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
    box-shadow: 0px 8px 25px rgba(0,0,0,0.3);
    cursor: pointer;
}

    .exhibition-card:hover {
        transform: translateY(-10px) scale(1.04);
        box-shadow: 0px 15px 40px rgba(0,0,0,0.45);
    }

/* Icon styling */
.exhibition-icon {
    font-size: 2.5rem;
    color: #f3e2d0;
    text-shadow: 0 5px 10px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

.exhibition-card:hover .exhibition-icon {
    transform: scale(1.15);
}

/* Rangoli particles floating animation */
.rangoli-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.rangoli-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(243, 226, 208, 0.9);
    border-radius: 50%;
    animation: floatUp 6s linear infinite;
    opacity: 0.7;
}

    /* random positions + delay */
    .rangoli-particle:nth-child(n) {
        left: calc(100% * var(--x, 0.5));
        bottom: -20px;
        animation-delay: calc(1s * var(--d, 0));
    }

/* Floating animation */
@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }

    100% {
        transform: translateY(-120px) scale(1.6);
        opacity: 0;
    }
}




/*products Section*/

/* ===============================
   PRODUCT CATEGORY SECTION
================================*/

/* Grid wrapper for all category images */
.category-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    padding: 15px 0;
}

    /* Image base styling */
    .category-grid a img {
        width: 230px;
        height: auto;
        border-radius: 12px;
        border: 2px solid rgba(140, 47, 26, 0.15);
        box-shadow: 0 10px 25px rgba(0,0,0,0.18);
        transition: 0.4s ease;
        background: #fff;
    }

        /* Hover effect */
        .category-grid a img:hover {
            transform: translateY(-8px) scale(1.04);
            box-shadow: 0 18px 40px rgba(0,0,0,0.28);
            border-color: rgba(140, 47, 26, 0.45);
        }

  

/* ===============================
   SCATTERED LAYOUT FOR LARGE SCREENS
================================*/
/* Scattered layout for desktop */
@media (min-width: 992px) {
    .category-grid a:nth-child(1) img {
        transform: rotate(-2deg);
    }

    .category-grid a:nth-child(2) img {
        transform: rotate(3deg) translateY(20px);
    }

    .category-grid a:nth-child(3) img {
        transform: rotate(-4deg) translateY(-10px);
    }

    .category-grid a:nth-child(4) img {
        transform: rotate(1.5deg);
    }

    /* Single image */
    .category-grid:has(a:nth-child(1):last-child) img {
        width: 320px;
        transform: rotate(1deg);
    }
}

/* ===============================
   RESPONSIVE — MOBILE/TABLET
================================*/
@media (max-width: 991px) {

    /* Clean 2-column grid */
    .category-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

        /* Single image category → center */
        .category-grid:has(a:nth-child(1):last-child) {
            grid-template-columns: 1fr;
        }

        .category-grid a img {
            width: 100%;
            transform: none !important;
        }
}

/* ===============================
   EXTRA VISUAL POLISH
================================*/

/* Heading gap control */
#products h3 {
    letter-spacing: .5px;
}

/* Smooth fade animation sync */
[data-aos] {
    transition-property: transform, opacity !important;
}
