/* Aqua Smile Main Styles */
:root {
    --primary-color: #05aaf0; /* Light Blue */
    --primary-dark: #0485c2;
    --secondary-color: #38b7ff;
    --accent-color: #28a745; /* Green for price/CTA */
    --text-dark: #333;
    --text-light: #777;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* reuse container class without bootstrap */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}
.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: var(--white);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 24px;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/summer-aqua.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Section Common */
.section-padding {
    padding: 10px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Feature Box */
.feature-box {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}

/* Product Filters */
.products-filter {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}
.products-filter .form-control,
.products-filter .form-select {
    height: 45px;
    border-radius: 25px;
}

/* Carousel thumbnails */
.product-thumb {
    height: 60px;
    width: auto;
    border: 2px solid transparent;
    transition: border 0.2s, transform 0.2s, box-shadow 0.2s;
}
.product-thumb.active,
.product-thumb:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Round corners on gallery images */
#productCarousel .carousel-item img,
.bg-light img {
    border-radius: 16px;
}

/* Product detail page specific */
.row.product-row {
    align-items: flex-start;
}

.product-info {
    padding-left: 1rem;
}

@media (max-width: 767px) {
    .product-info {
        padding-left: 0.5rem;
        margin-top: 2rem;
    }
}

@media (min-width: 768px) {
    .product-image-col {
        position: sticky;
        top: 20px;
        z-index: 10;
    }
}

.product-info .bestseller-label {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
}
.product-info .product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.rating-badge {
    background: #28a745;
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}
.reviews-text {
    font-size: 0.9rem;
}
.price-section {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.current-price {
    color: var(--primary-color);
}
.original-price {
    color: #777;
    text-decoration: line-through;
    font-size: 1rem;
}
.discount-badge {
    background: #28a745;
    color: #fff;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

.page-header {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

/* new product detail layout */
.product-details .product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}
.product-details .product-images,
.product-details .product-info {
    flex: 0 0 50%;
    max-width: 48%;
}
.product-details .main-image img {
    width: 70%;
    height: 500Px;
    /* max-width: 500px; */
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    object-fit: contain;
}
.product-details .thumbnails {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.product-details .thumbnails .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, border 0.2s;
}
.product-details .thumbnails .thumb:hover,
.product-details .thumbnails .thumb.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}
.product-details .bestseller-label {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.product-details .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.product-details .price-section {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}
.product-details .short-desc {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.product-details .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 20px;
}
.product-details .features-grid li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.product-details .features-grid li i {
    margin-right: 6px;
    color: var(--primary-color);
}
.product-details .service-highlights {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}
.product-details .service-card {
    flex: 1;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.product-details .service-card:hover {
    transform: translateY(-4px);
}
.product-details .service-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.product-details .cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.btn-cta-green {
    background: #28a745;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
}
.btn-cta-green:hover {
    background: #218838;
    transform: translateY(-2px);
}
.btn-cta-dark {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s, transform 0.2s;
}
.btn-cta-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}
.product-details .technical-specs {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}
.product-details .technical-specs h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.product-details .spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}
.product-details .spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

/* responsive adjustments */
@media (max-width: 991px) {
    .product-details .product-images,
    .product-details .product-info {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .product-details .product-grid {
        flex-direction: column;
    }
}
    border-radius: 4px;
}
.short-desc {
    font-size: 1rem;
    color: var(--text-dark);
}
.features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1rem;
}
.features-grid li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}
.features-grid li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}
.service-highlights .service-card {
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}
.service-highlights .service-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.service-highlights .service-card:hover {
    transform: translateY(-3px);
}
.btn-cta-green {
    background: #28a745;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.2s;
}
.btn-cta-green:hover {
    background: #218838;
    transform: translateY(-2px);
}
.btn-cta-dark {
    background: #0d1a26;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.2s;
}
.btn-cta-dark:hover {
    background: #0a131d;
    transform: translateY(-2px);
}
.technical-specs {
    background: var(--bg-light);
    border-radius: 12px;
}
.technical-specs h2 {
    font-weight: 600;
}
.technical-specs .row > div {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* mobile adjustments */
@media (max-width: 767px) {
    .product-info .product-title {
        font-size: 1.75rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .btn-cta-green, .btn-cta-dark {
        width: 100%;
        text-align: center;
    }
    /* keep CTAs in flow on mobile; no sticky bar */
    .fixed-whatsapp {
        display: none;
    }
    .cta-buttons {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: flex;
        gap: 0.5rem;
        z-index: auto;
    }
}

.feature-box:hover {
    transform: translateY(-10px);
}

/* home page product cards */
.home-product-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.home-product-card:hover {
    transform: translateY(-5px);
}
.home-product-card .card-img-top {
    border-radius: 12px 12px 0 0;
    object-fit: cover;
    height: 180px;
}
.home-product-card .card-body {
    padding: 1rem;
}
.home-product-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
}
.home-product-card .card-text {
    font-size: 0.95rem;
}
.home-product-card .product-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* card hover effect */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: #222;
    color: #eee;
    padding: 60px 0 20px;
}

footer h4 {
    color: var(--white);
    margin-bottom: 25px;
}

footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

/* Pagination styling */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.pagination .page-link {
    border-radius: 25px;
    margin: 0 2px;
}

/* Rating stars */
.rating, .rating small {
    vertical-align: middle;
}
.rating .fa-star, .rating .fa-star-half-alt, .rating .fa-star-o {
    color: #ffb400;
    margin-right: 2px;
}

/* Specs table */
.table-sm th {
    font-weight: 600;
    text-align: left;
    width: 40%;
}

/* Product features flex two columns */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}
.product-features li {
    width: calc(50% - 10px);
    display: flex;
    align-items: center;
}
.product-features li i {
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    padding: 4px;
    margin-right: 8px;
    font-size: 0.8rem;
}

/* Badge styling for header */
.badge-bestseller {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background-color: #ffc107;
    color: #212529;
    display: inline-block;
}

.fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}
