/* ===== CSS Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset specific nav elements */
nav ul, nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Ensure no global styles affect nav */
body {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== Container ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Header ===== */
header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 10px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 70px;
}

.logo-img {
    width: 85px;
    height: auto;
}

/* Desktop Navigation */
#mainNav {
    height: 100%;
}

#mainNav ul {
    display: flex;
    gap: 15px;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

#mainNav ul li {
    height: 100%;
    display: flex;
    align-items: center;
}

#mainNav ul li a {
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    transition: 0.3s;
    border-radius: 5px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#mainNav ul li a:hover,
#mainNav ul li a.active {
    color: #000000;
    background: #f9f9f9;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 30px;
    height: 24px;

    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}


/* Active state for toggle */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== Hero Sections ===== */
.page-hero, .hero {
    background: url('../images/bujwaMode_GroupPhoto_II.jpeg') no-repeat center center;
    background-size: cover; 
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 60px;
    color: white; 
    position: relative;
}

.page-hero::before, .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.page-hero .container, .hero .container {
    position: relative;
    z-index: 2; /* Bring text above overlay */
}
/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #050505;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #060505;
    transform: translateY(-2px);
}

.order-btn i {
    margin-right: 8px;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    background: #fff;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 5;   /* change to your photo ratio */
    object-fit: contain;
    background: #f5f5f5;   /* optional */
}


.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #111;
    font-weight: 600;
}

.product-price {
    color: #090808;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
    line-height: 1.5;
}

.view-btn {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
    padding: 8px 0;
    border-top: 1px solid #eee;
    margin-top: 10px;
}

.sold-out {
    pointer-events: none;
    background-color: #ccc;
    color: #666;
    text-decoration: none;
}

#imageViewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#imageViewer img {
  max-width: 90%;
  max-height: 90%;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

#imageViewer img.zoomed {
  transform: scale(2);
  cursor: zoom-out;
}

#imageViewerClose {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}



/* ===== About Section ===== */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}



/* Contact Detail */
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-detail:last-child {
    border-bottom: none;
}

.contact-detail i {
    font-size: 1.5rem;
    color: #080707;
    margin-top: 5px;
    min-width: 24px;
}

.contact-detail h4 {
    margin-bottom: 5px;
    color: #111;
    font-size: 1.1rem;
}

.contact-detail p {
    color: #555;
    margin: 2px 0;
}

/* ===== Footer ===== */
footer {
    background: #111;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

footer a {
    color: #fff;
    transition: 0.3s;
}

footer a:hover {
    color: #010000;
}

.footer-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.3rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(8, 1, 1, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #0e0d0d;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    padding-top: 20px;
    border-top: 1px solid rgba(6, 6, 6, 0.1);
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 900px) {
    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }
    
    #mainNav ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        gap: 0;
        overflow-y: auto;
        z-index: 998;
    }
    
    #mainNav ul.show {
        display: flex;
    }
    
    #mainNav ul li {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #eee;
    }
    
    #mainNav ul li:last-child {
        border-bottom: none;
    }
    
    #mainNav ul li a {
        display: block;
        padding: 15px;
        font-size: 16px;
        text-align: center;
        width: 100%;
    }
    
    /* Header adjustments */
    .header-content {
        height: 60px;
    }
    
    .logo-img {
        width: 85px;
    }
    
    /* Hero adjustments */
    .page-hero, .hero {
        padding: 80px 0 40px;
        margin-top: 60px;
    }
    
    .hero h1, .page-hero h1 {
        font-size: 2rem;
    }
    
    .hero p, .page-hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Content adjustments */
    .about-content, .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info, .contact-form {
        width: 100%;
    }
    
    /* Footer adjustments */
    .footer-content {
        gap: 30px;
    }
    
    .footer-section {
        min-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1, .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}
/* ===== Mobile Footer Styles ===== */
@media screen and (max-width: 768px) {
    /* Footer adjustments for mobile */
    footer {
        padding: 30px 0 20px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-section {
        width: 100%;
        min-width: 100%;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        position: relative;
        padding-bottom: 10px;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 2px;
        background: #0a0a0a;
    }
    
    /* Footer links styling */
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links ul {
        gap: 12px;
    }
    
    .footer-links li {
        margin: 5px 0;
    }
    
    .footer-links a {
        display: inline-block;
        padding: 8px 15px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 25px;
        transition: all 0.3s;
        font-size: 14px;
        width: auto;
        min-width: 180px;
    }
    
    .footer-links a:hover {
        background: #070707;
        transform: translateY(-2px);
    }
    
    /* Social icons in one line */
    .social-icons {
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    /* Contact info styling */
    .footer-section p {
        margin: 8px 0;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .footer-section p i {
        font-size: 1rem;
    }
    
    /* Copyright styling */
    .copyright {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .copyright p {
        font-size: 12px;
        line-height: 1.5;
        opacity: 0.7;
    }
    
    /* WhatsApp button styling */
    .order-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 20px;
        margin-top: 15px;
        width: auto;
        min-width: 200px;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .footer-links a {
        min-width: 160px;
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .order-btn {
        min-width: 180px;
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .social-icons a {
        width: 32px;
        height: 32px;
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    display: block;
    margin: 5% auto;
    max-width: 80%;
    max-height: 80%;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#modalCaption {
    text-align: center;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.2rem;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Make product images clickable */
.product-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-img:hover {
    transform: scale(1.02);
}
/* Features Section */
.features-section {
    background-color: #f9f9f9;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-card {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #080808; /* Gold color - adjust to match your brand */
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
}
/* Alternative Features Section - Horizontal */
.features-section.compact {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-section.compact .features-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.features-section.compact .feature-card {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.features-section.compact .feature-icon {
    font-size: 2rem;
    margin-right: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.features-section.compact .feature-content {
    flex-grow: 1;
}

.features-section.compact .feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.features-section.compact .feature-card p {
    font-size: 0.9rem;
    color: #120e0e;
}

@media (max-width: 768px) {
    .features-section.compact .features-grid {
        flex-direction: column;
    }
    
    .features-section.compact .feature-card {
        width: 100%;
        min-width: auto;
    }
}

.product-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.product-modal-content {
    background: #fff;
    max-width: 400px;
    width: 90%;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    animation: scaleIn 0.25s ease;
}

.product-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
