/* Globals & White Theme Colors */
:root {
    --primary-color: #d84315; /* Brand Orange/Red */
    --text-dark: #222222;
    --text-muted: #666666;
    --bg-pure-white: #ffffff;
    --bg-off-white: #fafafa;
    --wa-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Mallanna', sans-serif;
    background-color: var(--bg-off-white);
    color: var(--text-dark);
    line-height: 1.5;
}

/* =========================================
   TOP HEADER & NAVIGATION (MOBILE FIRST)
   ========================================= */

/* 1. Very First Top: Title */
.top-title-bar {
    background-color: var(--bg-pure-white);
    text-align: center;
    padding: 15px 0 5px 0;
}

.top-title-bar h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-family: sans-serif; /* Keeps English title sharp */
    letter-spacing: 1px;
}

/* 2. Second Top: Navigation */
.top-nav-bar {
    background-color: var(--bg-pure-white);
    text-align: center;
    padding: 5px 0 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav-bar a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s;
}

.top-nav-bar a:hover {
    color: var(--primary-color);
}

.nav-separator {
    color: #ccc;
    margin: 0 8px;
    font-size: 1.1rem;
}

/* =========================================
   HERO SECTION (WHITE MODE)
   ========================================= */

.hero-white-mode {
    background-color: var(--bg-pure-white);
    text-align: center;
    padding: 30px 20px 40px 20px;
    border-bottom: 1px solid #eee;
}

/* 3. Third Top: Logo */
.hero-logo {
    width: 130px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* 4. Fourth Top: Text & Button */
.hero-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--bg-pure-white);
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(216, 67, 21, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.cta-button:hover {
    background: #bf360c;
    transform: scale(1.05);
}

/* =========================================
   PRODUCT SECTIONS
   ========================================= */

.product-section {
    padding: 40px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 5px;
}

/* Grid & Cards (Mobile default: 1 column) */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.card {
    background: var(--bg-pure-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    padding-bottom: 15px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid var(--primary-color);
}

.card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 12px 0 5px;
    padding: 0 10px;
}

.card .price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 12px;
}

.card button {
    background: var(--wa-green);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s;
}

.card button:hover {
    background: #1da851;
}

/* =========================================
   FOOTER (DECREASED FONT SIZE)
   ========================================= */

footer {
    background: var(--text-dark);
    color: var(--bg-pure-white);
    text-align: center;
    padding: 20px;
}

footer p { 
    font-size: 0.85rem; /* Decreased size */
    margin-bottom: 5px;
}

.developer { 
    font-size: 0.7rem;  /* Significantly decreased size */
    color: #999; 
    font-family: sans-serif; 
}

/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */

.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--wa-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

/* =========================================
   DESKTOP ENHANCEMENTS
   ========================================= */
@media (min-width: 768px) {
    .top-title-bar h1 { font-size: 2rem; }
    .top-nav-bar a { font-size: 1.3rem; }
    .hero-logo { width: 150px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
    .floating-wa { bottom: 30px; right: 30px; width: 60px; height: 60px; }
}