/********** Pottery Brand CSS **********/

:root {
    --primary: #cca67c;
    --secondary: #ebdbca;
    --dark: #2c1f14;
    --text: #5a3e2b;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text);
    background: #fff;
}

/* Bootstrap overrides */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-dark { background-color: var(--dark) !important; }
.border-primary { border-color: var(--primary) !important; }

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    transition: .4s;
}
.btn-primary:hover { background-color: #b8895f; border-color: #b8895f; color: #fff; }

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    transition: .4s;
}
.btn-outline-primary:hover { background-color: var(--primary); color: #fff; }

.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-lg-square { width: 48px; height: 48px; }

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
    background: var(--secondary) !important;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Navbar */
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    transition: .5s;
}
.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 35px 0;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .3s;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--primary); }

.navbar.sticky {
    position: fixed;
    background: var(--dark) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar.sticky .navbar-nav .nav-link { padding: 18px 0; }

/* Navbar Logo */
.navbar-brand img {
    height: 55px;
    max-width: 250px;
    object-fit: contain;
    transition: height .3s;
}

@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 40px;
        max-width: 180px;
    }
    .navbar .navbar-nav .nav-link { margin-right: 0; padding: 10px 0; }
    .navbar .navbar-nav { margin-top: 8px; border-top: 1px solid rgba(255,255,255,.2); }
}

/* Title */
.section-title {
    margin-bottom: 2.5rem;
}
.section-title h6 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 600;
}
.section-title h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.2rem;
    color: var(--dark);
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 8px;
}
.section-title.light h2,
.section-title.light h6 { color: #fff; border-color: #fff; }

/* Hero Carousel */
#hero-carousel { height: 100vh; min-height: 600px; }
#hero-carousel .carousel-item {
    height: 100vh;
    min-height: 600px;
}
#hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero-carousel .carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    padding-top: 120px;
    background: rgba(44, 31, 20, .55);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#hero-carousel .carousel-caption h6 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 1rem;
}
#hero-carousel .carousel-caption h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
#hero-carousel .carousel-caption p {
    color: var(--secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
}
.carousel-control-prev, .carousel-control-next { width: 8%; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 2.5rem; height: 2.5rem; }

/* About Section */
#about { background: var(--secondary); }
.about-img-duo {
    display: flex;
    flex-direction: row;
    gap: 15px;
    height: 450px;
    align-items: center;
    justify-content: center;
}
.about-img-duo .about-img-horizontal {
    flex: 1.3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    width: 0;
    height: 100%;
    transition: transform 0.3s ease;
}
.about-img-duo .about-img-vertical {
    flex: 0.7;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    width: 0;
    height: 100%;
    transition: transform 0.3s ease;
}
.about-img-duo img:hover {
    transform: translateY(-5px);
}
@media (max-width: 768px) {
    .about-img-duo {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }
    .about-img-duo .about-img-horizontal,
    .about-img-duo .about-img-vertical {
        flex: none;
        width: 100%;
        height: 250px;
    }
}
.about-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(204,166,124,.3);
    color: var(--text);
}
.about-list li i { color: var(--primary); }

/* Industry & Warehousing Sections */
.industry-section, .warehousing-section {
    padding: 80px 0;
}
.industry-section { background: #fff; }
.warehousing-section { background: var(--secondary); }

.auto-carousel .owl-item img {
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
}
.auto-carousel { position: relative; padding: 0 50px; }
.auto-carousel .owl-nav { margin-top: 0; }
.auto-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary) !important;
    color: #fff !important;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    font-size: 20px !important;
    line-height: 44px !important;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    transition: background .3s !important;
}
.auto-carousel .owl-nav button:hover { background: #b8895f !important; }
.auto-carousel .owl-nav .owl-prev { left: 0; }
.auto-carousel .owl-nav .owl-next { right: 0; }
.auto-carousel .owl-nav button span { font-size: 24px; line-height: 1; position: relative; top: -2px; }

/* Products Section */
#products { padding: 80px 0; background: #faf6f1; }
#products .row { padding: 0 8px; }
#products .row > [class*="col-"] { padding: 10px; }

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    background: #fff;
    border: 1.5px solid rgba(204,166,124,.18);
    box-shadow: 0 2px 16px rgba(44,31,20,.07);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(44,31,20,.16);
    border-color: var(--primary);
}
.product-card .img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    margin: 8px 8px 0 8px;
}
.product-card .img-wrap .img-strip {
    display: flex;
    width: 800%;
    height: 100%;
    transition: none;
}
.product-card .img-wrap .img-strip img {
    width: 12.5%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}
@keyframes imgSlide {
    0%   { transform: translateX(0); }
    12%  { transform: translateX(-12.5%); }
    25%  { transform: translateX(-25%); }
    37%  { transform: translateX(-37.5%); }
    50%  { transform: translateX(-50%); }
    62%  { transform: translateX(-62.5%); }
    75%  { transform: translateX(-75%); }
    87%  { transform: translateX(-87.5%); }
    100% { transform: translateX(0); }
}
.product-card:hover .img-wrap .img-strip {
    animation: imgSlide 5.2s steps(1, end) infinite;
}
.product-card .card-body {
    padding: 10px 12px 10px;
    background: #fff;
    border-radius: 0 0 14px 14px;
}
.product-card .card-body h5 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .95rem;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 3px;
    letter-spacing: .5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card .card-body p {
    font-size: .8rem;
    color: #aaa;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card .overlay-btn {
    position: absolute;
    bottom: -52px;
    left: 0; right: 0;
    text-align: center;
    padding: 12px;
    background: linear-gradient(to top, rgba(44,31,20,.92), rgba(44,31,20,.6));
    transition: bottom .3s ease;
    border-radius: 0 0 14px 14px;
}
.product-card:hover .overlay-btn { bottom: 0; }

@media (max-width: 575px) {
    #products { padding: 40px 0; }
    #products .row { padding: 0 4px; }
    #products .row > [class*="col-"] { padding: 6px; }
    .product-card .img-wrap { margin: 5px 5px 0 5px; }
    .product-card .card-body { padding: 8px 10px 8px; }
    .product-card .card-body h5 { font-size: .75rem; letter-spacing: 0; }
    .product-card .card-body p { font-size: .7rem; }
    .product-card .overlay-btn { padding: 8px; }
    .product-card .overlay-btn .btn { font-size: .7rem; padding: 4px 10px; }
}

/* Products Page */
.products-page { padding: 80px 0; background: #faf6f1; }
.page-hero {
    height: 320px;
    background: linear-gradient(rgba(44,31,20,.7), rgba(44,31,20,.7)), url('../img/carousel-1.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}
.page-hero h1 {
    font-family: 'Josefin Sans', sans-serif;
    color: #fff;
    text-transform: uppercase;
    font-size: 3rem;
}
.page-hero p { color: var(--secondary); }

/* Product Detail */
.product-detail { padding: 80px 0; }
.product-gallery { position: relative; }
.main-img-wrap {
    position: relative;
    border-radius: 10px;
    cursor: crosshair;
}
.product-gallery .main-img {
    width: 100%;
    height: 630px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.zoom-lens {
    display: none;
    position: absolute;
    border: 2px solid var(--primary);
    background: rgba(204,166,124,.15);
    border-radius: 4px;
    pointer-events: none;
    z-index: 9;
}
.zoom-result {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 15px);
    width: 400px;
    height: 480px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    background-repeat: no-repeat;
    box-shadow: 0 8px 30px rgba(0,0,0,.25);
    z-index: 100;
    pointer-events: none;
    background-color: #fff;
}
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44,31,20,.75);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    transition: background .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-arrow:hover { background: var(--primary); }
.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }
.img-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44,31,20,.65);
    color: #fff;
    font-size: .75rem;
    padding: 3px 12px;
    border-radius: 20px;
    z-index: 5;
}
.product-gallery .thumb-row { margin-top: 12px; }
.product-gallery .thumb-row img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .3s;
}
.product-gallery .thumb-row img.active,
.product-gallery .thumb-row img:hover { border-color: var(--primary); }
@media (max-width: 1199px) {
    .zoom-result, .zoom-lens { display: none !important; }
    .product-gallery .main-img { height: 450px; }
    .main-img-wrap { cursor: pointer; }
}
@media (max-width: 575px) {
    .product-gallery .main-img { height: 400px; }
}

/* Mobile Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.96);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
    max-width: 95vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    touch-action: pinch-zoom;
    user-select: none;
}
.lightbox-close {
    position: absolute;
    top: 14px;
    right: 18px;
    color: #fff;
    font-size: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    color: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .3s;
}
.lightbox-arrow:hover { background: var(--primary); }
.lightbox-arrow.left { left: 12px; }
.lightbox-arrow.right { right: 12px; }
.lightbox-counter {
    color: rgba(255,255,255,.7);
    font-size: .85rem;
    margin-top: 10px;
}
.product-info h1 {
    font-family: 'Josefin Sans', sans-serif;
    text-transform: uppercase;
    color: var(--dark);
}
.product-info .badge-tag {
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact */
.contact-section { padding: 80px 0; background: #faf6f1; }
.contact-form .form-control {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: .95rem;
    transition: border-color .3s;
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204,166,124,.15);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 50px 0 30px;
    text-align: center;
}
.footer .brand {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    display: block;
    margin-bottom: 1rem;
}
.footer p { color: rgba(235,219,202,.6); font-size: .9rem; margin: 0; }
.footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: .3s;
    margin: 0 6px 1.5rem;
}
.footer .social-link:hover { background: var(--primary); color: #fff; }

/* Back to top */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 80px;
        right: 20px;
        font-size: 24px;
    }
}

/* 4+4 Image Grid */
.img-grid-44 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 180px);
    gap: 8px;
}
.img-grid-44 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .4s, opacity .4s;
}
.img-grid-44 img:hover { transform: scale(1.04); opacity: .9; }

@media (max-width: 767px) {
    .img-grid-44 {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .img-grid-44::-webkit-scrollbar { height: 4px; }
    .img-grid-44::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
    .img-grid-44 img {
        flex: 0 0 70vw;
        width: 70vw;
        height: 200px;
        scroll-snap-align: start;
        border-radius: 10px;
    }
}

/* Packaging Section */
.packaging-section {
    padding: 80px 0;
    background: #fff;
}

/* Partners / Approved By Section */
.partners-section {
    padding: 70px 0;
    background: var(--secondary);
}
.partners-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}
.partners-logos img {
    height: 80px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: .85;
    transition: filter .3s, opacity .3s, transform .3s;
}
.partners-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}
@media (max-width: 575px) {
    .partners-logos img { height: 55px; max-width: 110px; }
    .partners-logos { gap: 24px; }
}

/* Utility */
.wow { visibility: hidden; }
