/* Professional Modern UI for Toko Online Kaos Distro */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: #f7f8fa;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 { font-size: 1.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

a:hover {
    color: #f7941d;
}

/* Top-bar */
.top-bar {
    background: linear-gradient(90deg,black 100%);
    padding: 12px 0;
    color: #fff;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    letter-spacing: 0.5px;
}

.top-bar .social-icons a {
    color: #fff;
    margin-right: 10px;
    transition: color 0.2s;
}
.top-bar .social-icons a:hover {
    color: #f7941d;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #1a73e8 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 2px solid #f6f6f6;
}

.navbar.sticky {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(26,115,232,0.08);
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff !important;
    margin-right: 8px;
}


.nav-link.active, .nav-link:hover {
    color: #f7941d !important;
}
#productTab .nav-link#women-tab {
    color: #222 !important; /* warna hitam */
}
#productTab .nav-link.active#women-tab {
    color: #f7941d !important; /* tetap orange saat aktif */
}
.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 180px;
    background: #fff;
}

.dropdown-item {
    padding: 12px 24px;
    font-weight: 500;
    color: #1a73e8;
    border-bottom: 1px solid #f7f8fa;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover {
    background: #f7941d18;
    color: #f7941d;
}

/* Buttons */
.btn-primary {
    background: #f7941d;
    border-color: #f7941d;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 28px;
    box-shadow: 0 2px 10px rgba(247,148,29,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    background: #e6841b;
    box-shadow: 0 4px 20px rgba(247,148,29,0.12);
}

.btn-outline-primary {
    border-color: #1a73e8;
    color: #1a73e8;
    border-radius: 30px;
}
.btn-outline-primary:hover {
    background: #1a73e8;
    color: #fff;
}

/* Hero/Slider */
.carousel-item {
    min-height: 400px;
    background: linear-gradient(90deg, #f7941d 30%, #1a73e8 90%);
    position: relative;
    color: #fff;
}
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1;
}
.carousel-item .container {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Atur sesuai kebutuhan */
}
.carousel-item h1 {
    font-size: 2.7rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.carousel-item p.lead {
    color: #fff;
    font-size: 1.2rem;
}

/* Small Banner */
.small-banner .card {
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(26,115,232,0.09);
}
.small-banner .card:hover {
    box-shadow: 0 8px 32px rgba(247,148,29,0.13);
    transform: translateY(-4px) scale(1.02);
}
.small-banner .card-img-overlay {
    background: linear-gradient(90deg, rgba(26,115,232,0.6) 10%, rgba(96,107,99,0.3) 90%);
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 30px;
}
.small-banner .card-img-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.small-banner .card-img-overlay a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

/* Product Area */
.nav-tabs .nav-link {
    color: #333;
    border: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}
.nav-tabs .nav-link.active {
    color: #f7941d;
    border-bottom: 2px solid #f7941d;
}

.card {
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    background: #fff;
}
.card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(26,115,232,0.08);
}
.card-img-top {
    border-radius: 16px 16px 0 0;
    transition: transform 0.3s;
}
.card:hover .card-img-top {
    transform: scale(1.04);
}
.button-head {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}
.card:hover .button-head {
    opacity: 1;
}
.button-head .btn {
    border-radius: 12px;
    margin: 2px;
    font-size: 13px;
    padding: 6px 12px;
}
.card-body h5 a {
    font-weight: 600;
    color: #635b4c;
    font-size: 16px;
}
.card-body p {
    font-size: 1.08rem;
    font-weight: 700;
    color: #f7941d;
}
.card-body .badge {
    font-size: 1rem;
    padding: 6px 14px;
}

.card .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover .hover-img {
    opacity: 1;
}
.card:hover .default-img {
    opacity: 0;
}

/* Shop Home List */
.shop-home-list h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.shop-home-list .card {
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.shop-home-list .card .btn {
    opacity: 0;
    transition: opacity 0.3s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.shop-home-list .card img:hover + .btn,
.shop-home-list .card .btn:hover {
    opacity: 1;
}

/* Blog Card */
.shop-blog .card {
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    background: #fff;
}
.shop-blog .card:hover {
    box-shadow: 0 8px 32px rgba(247,148,29,0.16);
    transform: translateY(-5px) scale(1.02);
}
.shop-blog .card h5 a:hover {
    color: #f7941d;
}
.btn-link.text-primary {
    color: #f7941d;
    text-decoration: none;
    transition: color 0.3s;
}
.btn-link.text-primary:hover {
    color: #1a73e8 !important;
}

/* About Section Overlay */
.about {
    position: relative;
    background-size: cover;
}
.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26,115,232,0.15);
    z-index: 0;
}
.about .container, .about .row, .about .col-md-6 {
    position: relative;
    z-index: 1;
}
.about h2, .about h3, .about p, .about ul {
    color: #222;
    text-shadow: 0 2px 8px rgba(255,255,255,0.12);
}

.about ul {
    list-style: disc inside;
    font-size: 1rem;
    margin-top: 1rem;
    color: #444;
}

/* Shop Services */
.shop-services i {
    color: #fff;
    background-color: #f7941d;
    padding: 12px;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(247,148,29,0.13);
}
.shop-services h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 10px;
    color: #222;
}

/* Newsletter */
.shop-newsletter h4 {
    font-size: 1.5rem;
    font-weight: 700;
}
.shop-newsletter .form-control {
    border-radius: 4px 0 0 4px;
}
.shop-newsletter .btn {
    border-radius: 0 4px 4px 0;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #1a1a1a 10%, #1a73e8 90%);
    color: #fff;
    border-top: 4px solid #f7941d;
}
.footer h4 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.13rem;
}
.footer .list-unstyled li a {
    color: #fff;
    transition: color 0.2s;
}
.footer .list-unstyled li a:hover {
    color: #f7941d;
}
.footer .btn-sm {
    background: #f7941d;
    color: #fff;
    border-radius: 50%;
    margin: 0 4px;
    transition: background 0.2s;
}
.footer .btn-sm:hover {
    background: #1a73e8;
}
.bg-darker {
    background: #1a1a1a;
}

/* Responsive Improvements */
@media (max-width: 991px) {
    .navbar-brand img { max-height: 32px; }
    .navbar-nav { margin-bottom: 10px; }
    .footer { text-align: center; }
    .shop-home-list .col-md-4 { margin-bottom: 32px; }
    .carousel-item h1 { font-size: 1.7rem; }
    .about h2 { font-size: 1.3rem; }
}

@media (max-width: 767px) {
    .carousel-item { min-height: 320px;}
    .small-banner .card-img-overlay { padding-bottom: 10px; }
    .shop-home-list .col-md-4 { margin-bottom: 32px; }
}

/* Testimonial Section Styles: 3 columns per slide, slider manual */
.testimonial-section { background: #f7f8fa; }
.testimonial-box {
    background: #fff;
    box-shadow: 0 4px 20px rgba(26,115,232,0.08);
    border-radius: 24px;
    position: relative;
    min-height: 320px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-box:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 32px rgba(247,148,29,0.13);
}
.testimonial-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 4px solid #f7941d;
    box-shadow: 0 2px 10px rgba(247,148,29,0.12);
}
.testimonial-text {
    font-size: 1.15rem;
    color: #222;
    font-style: italic;
    line-height: 1.6;
}
.testimonial-section h2 {
    color: #1a73e8;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(26,115,232,0.10);
}
.text-judul, .about h2 {
    color: #1a73e8;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(26,115,232,0.10);
}


.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.3rem;
    box-shadow: 0 2px 10px rgba(26,115,232,0.12);
    background: #fff;
}
.testimonial-btn-left { left: -22px; }
.testimonial-btn-right { right: -22px; }
.testimonial-indicator {
    text-align: center;
}
.testimonial-indicator .dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 6px;
    background: #ffe9d1;
    border-radius: 50%;
    border: 2px solid #f7941d;
    cursor: pointer;
    opacity: 0.7;
    transition: background 0.3s;
}
.testimonial-indicator .dot.active {
    background: #f7941d;
    opacity: 1;
    border-color: #1a73e8;
}
@media (max-width: 991px) {
    .testimonial-box { padding: 24px 9px; }
    .testimonial-btn-left { left: -10px; }
    .testimonial-btn-right { right: -10px; }
    .testimonial-img { width: 60px; height: 60px; }
}
@media (max-width: 767px) {
    .testimonial-box { padding: 12px 2px; min-height: 240px;}
    .testimonial-img { width: 48px; height: 48px; }
    .testimonial-btn { width: 32px; height: 32px; font-size: 1rem; }
    .testimonial-btn-left { left: -5px; }
    .testimonial-btn-right { right: -5px; }
    .testimonial-text { font-size: 0.95rem; }
}
