@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.clearfix{
    clear: both;
}

:root {
    --primary-color: #112933;
    --secondary-color: #1a4a5f;
    --accent-color: #d4af37;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --gray: #666;
    --light-gray: #ddd;
}

body {
    font-family: 'Roboto Condensed', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* H3 Links - Remove Default Link Styling */
h3 a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    text-transform: capitalize;
}

h3 a:hover {
       color: var(--accent-color);
    transform: translateX(3px);
}

h3 a:visited {
    color: inherit;
}
h3 a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

h3 a:hover::after {
    width: 100%;
}

/* Header */
.header {
    background: linear-gradient(135deg, #112933 0%, #5cc1d8 45%, #2c5f7d 65%, #4a8db0 100%);
    color: var(--white);
    padding: 1rem 0 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: rgb(11 168 209) solid 4px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 24px;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.logo-text p {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a:hover {
    background: rgba(255,255,255,0.2);
    color: var(--accent-color);
}

/* Submenu Styles */
nav ul li .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary-color);
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

nav ul li:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li .submenu li {
    width: 100%;
    padding: 0;
}

nav ul li .submenu li a {
    padding: 12px 20px;
    border-radius: 0;
    width: 100%;
    justify-content: space-between;
}

nav ul li .submenu li a:hover {
    background: rgba(255,255,255,0.15);
    padding-left: 25px;
}

/* Multi-level submenu */
nav ul li .submenu li {
    position: relative;
}

nav ul li .submenu li .submenu {
    top: 0;
    left: 100%;
    margin-left: 0;
}

nav ul li .submenu li:hover > .submenu {
    margin-left: 5px;
}

.arrow-down {
    font-size: 0.8em;
    margin-left: 5px;
}

.arrow-right {
    font-size: 0.8em;
    margin-left: auto;
}

/* Hero Section with Carousel */
.hero {
    background: linear-gradient(to bottom, var(--light-bg), var(--white));
    padding: 40px 0;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #c49b2d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.carousel-btn {
    background: rgba(255,255,255,0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

/* Welcome Section */
.welcome {
    padding: 60px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: var(--gray);
    font-size: 1.1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Gallery Section */
.gallery {
    padding: 60px 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 1;
    background: var(--gray);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p {
    color: var(--gray);
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #112933 0%, #1a4a5f 25%, #2c5f7d 60%, #3a7a9e 100%);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Image Popup/Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.lightbox-close:hover {
    background: #c49b2d;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.5);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: var(--white);
    font-size: 1.1rem;
    padding: 10px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Make gallery items clickable */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 1;
    background: var(--gray);
    cursor: zoom-in;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        width: 100%;
        order: 3;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        gap: 0;
        background: rgba(0,0,0,0.2);
        border-radius: 10px;
        margin-top: 15px;
    }

    nav.active ul {
        max-height: 1000px;
        padding: 15px 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    nav ul li a {
        justify-content: center;
    }

    /* Mobile submenu styles */
    nav ul li .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        margin-top: 0;
    }

    nav ul li.submenu-open > .submenu {
        max-height: 500px;
        padding: 10px 0;
        margin-top: 10px;
    }

    nav ul li .submenu li .submenu {
        position: static;
        margin-left: 0;
    }

    nav ul li .submenu li a {
        padding: 10px 30px;
    }

    nav ul li .submenu li .submenu li a {
        padding: 10px 40px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .carousel-item {
        height: 350px;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo-img {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .carousel-item {
        height: 300px;
    }

    .carousel-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet specific (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   PORTFOLIO PAGE STYLES
   ============================================ */

/* Page Header */
.page-header {
    background: url('../images/home-head.png') no-repeat bottom center;
    background-size: cover;
    background-color: var(--light-bg);
    padding: 25px 0 130px;
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Portfolio Content Layout */
.portfolio-content {
    padding: 60px 0;
    background: var(--light-bg);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Product Listing */
.product-listing {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gray);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.product-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.detail-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.detail-link:hover {
    background: #c49b2d;
    transform: translateX(5px);
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: -400px;
}

.widget {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    margin-bottom: 12px;
}

.widget-list li a {
    color: var(--gray);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.widget-list li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 18px;
}

.widget-list .count {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Contact Widget */
.widget-contact {
    background: linear-gradient(135deg, #1a4a5f 0%, #2c5f7d 100%);
    color: var(--white);
}

.widget-contact .widget-title {
    color: var(--white);
    border-bottom-color: var(--accent-color);
}

.widget-contact p {
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.95;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-item strong {
    color: var(--accent-color);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 2px 0;
}

.contact-item a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

.contact-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.contact-item a:hover::after {
    width: 100%;
}

.btn-sidebar {
    display: block;
    text-align: center;
    margin-top: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-sidebar:hover {
    background: #c49b2d;
    transform: translateY(-2px);
}

/* Popular Products Widget */
.popular-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.popular-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    flex-shrink: 0;
}

.popular-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popular-info h4 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.popular-price {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* Info Widget */
.widget-info {
    background: linear-gradient(135deg, #2c5f7d 0%, #1a4a5f 100%);
    color: var(--white);
}

.widget-info .widget-title {
    color: var(--white);
    border-bottom-color: var(--accent-color);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Portfolio Page Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .product-item {
        grid-template-columns: 250px 1fr;
    }

    .product-image {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .portfolio-content {
        padding: 40px 0;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-item {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 25px;
    }

    .product-title {
        font-size: 1.3rem;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .product-item {
        margin-bottom: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 20px;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-description {
        font-size: 0.95rem;
    }

    .widget {
        padding: 20px;
    }

    .widget-title {
        font-size: 1.2rem;
    }
}

/* Tablet specific for Portfolio */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-item {
        grid-template-columns: 240px 1fr;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    background: var(--light-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb span {
    color: var(--gray);
}

/* Product Detail Content */
.product-detail-content {
    padding: 60px 0;
    background: var(--light-bg);
}

.detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.detail-main {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Product Images */
.product-images {
    margin-bottom: 40px;
}

.main-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.placeholder-main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
}

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail {
    height: 100px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.thumbnail:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thumbnail.active {
    border-color: var(--accent-color);
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

/* Product Details */
.product-details {
    margin-top: 30px;
}

.detail-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-category {
    margin-bottom: 30px;
}

.category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.detail-description {
    color: var(--gray);
    line-height: 1.8;
}

.detail-description h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    margin-top: 0;
}

.detail-description h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.detail-description p {
    margin-bottom: 20px;
}

.features-list,
.spec-list,
.usage-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li,
.spec-list li,
.usage-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.features-list li:last-child,
.spec-list li:last-child,
.usage-list li:last-child {
    border-bottom: none;
}

.spec-list strong {
    color: var(--primary-color);
    min-width: 150px;
    display: inline-block;
}

/* Detail Sidebar */
.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: sticky;
    top: -120px;
}

.widget-order {
    background: linear-gradient(135deg, #1a4a5f 0%, #2c5f7d 100%);
    color: var(--white);
    text-align: center;
}

.widget-order .widget-title {
    color: var(--white);
    border-bottom-color: var(--accent-color);
}

.price-info {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.order-info {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.order-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.order-info p:last-child {
    margin-bottom: 0;
}

/* ==================== Pagination Styles ==================== */
.pagination {
    margin: 60px 0 40px;
    width: 100%;
}

.pagination-list {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pagination-item {
    display: inline-block;
}

.pagination-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    gap: 8px;
}

.pagination-item a:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 74, 95, 0.2);
}

.pagination-item.active a {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--primary-color);
    cursor: default;
    position: relative;
}

.pagination-item.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.pagination-item.active a:hover {
    transform: none;
}

.pagination-item.disabled a {
    background: var(--light-bg);
    color: var(--gray);
    border-color: var(--light-gray);
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-item.disabled a:hover {
    background: var(--light-bg);
    color: var(--gray);
    border-color: var(--light-gray);
    transform: none;
    box-shadow: none;
}

.pagination-item:first-child a,
.pagination-item:last-child a {
    padding: 0 20px;
    font-weight: 600;
}

.pagination-item:first-child i {
    margin-right: 5px;
}

.pagination-item:last-child i {
    margin-left: 5px;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    color: var(--gray);
    font-weight: 600;
    font-size: 1.2rem;
}

.pagination-ellipsis span {
    line-height: 1;
    letter-spacing: 2px;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-list {
        gap: 6px;
    }
    
    .pagination-item a {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 0.9rem;
    }
    
    .pagination-item:first-child a,
    .pagination-item:last-child a {
        padding: 0 15px;
    }
    
    /* Hide some page numbers on mobile */
    .pagination-item:not(:first-child):not(:last-child):not(:nth-child(2)):not(:nth-child(3)):not(:nth-last-child(2)) {
        display: none;
    }
    
    .pagination-ellipsis {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .pagination {
        margin: 40px 0 30px;
    }
    
    .pagination-item a {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 0.85rem;
    }
    
    .pagination-item:first-child span,
    .pagination-item:last-child span {
        display: none;
    }
    
    .pagination-item:first-child i,
    .pagination-item:last-child i {
        margin: 0;
    }
}

.btn-order {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    background: var(--accent-color);
}

.btn-whatsapp {
    display: block;
    width: 100%;
    background: #25D366;
    color: var(--white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-2px);
}

/* Why Choose Us Widget */
.widget-why {
    background: var(--white);
}

.why-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.why-item:last-child {
    margin-bottom: 0;
}

.why-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.why-text strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1rem;
}

.why-text p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Contact Detail Widget */
.widget-contact-detail {
    background: linear-gradient(135deg, #2c5f7d 0%, #1a4a5f 100%);
    color: var(--white);
}

.widget-contact-detail .widget-title {
    color: var(--white);
    border-bottom-color: var(--accent-color);
}

.contact-detail-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-detail-item:last-child {
    margin-bottom: 0;
}

.contact-detail-item strong {
    color: var(--accent-color);
}

/* Related Products */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-gray);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.related-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.related-item h4 {
    padding: 20px;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0;
}

.related-link {
    display: block;
    padding: 12px 25px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.related-link:hover {
    background: #c49b2d;
}

/* Product Detail Page Responsive Design */
@media (max-width: 1024px) {
    .detail-wrapper {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .detail-main {
        padding: 30px;
    }

    .main-image {
        height: 100%;
    }

    .detail-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .product-detail-content {
        padding: 40px 0;
    }

    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .detail-main {
        padding: 25px;
    }

    .main-image {
        height: 100%;
    }

    .image-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .thumbnail {
        height: 80px;
    }

    .detail-title {
        font-size: 1.7rem;
    }

    .detail-description h3 {
        font-size: 1.4rem;
    }

    .detail-description h4 {
        font-size: 1.2rem;
    }

    .detail-sidebar {
        position: static;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.9rem;
    }

    .detail-main {
        padding: 20px;
    }

    .main-image {
        height: 100%;
    }

    .image-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .thumbnail {
        height: 100px;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .placeholder-main {
        font-size: 1.1rem;
    }

    .detail-description h3 {
        font-size: 1.3rem;
    }

    .detail-description h4 {
        font-size: 1.1rem;
    }

    .widget {
        padding: 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
