/* ==========================================================================
   EMPIRE STATIONERY HUB - OFFICIAL STYLES
   Color Palette derived directly from Official Logo:
   - Deep Imperial Navy: #0B1E36
   - Regal Gold: #C59B27
   - Soft Cream Accent: #FBF8F1
   ========================================================================== */
:root {
    --navy-dark: #05101E;
    --navy-primary: #0B1E36;
    --navy-light: #162E4D;
    --gold-primary: #C59B27;
    --gold-light: #D4AD38;
    --gold-soft: #F9F3E3;
    --bg-light: #F8F9FA;
    --bg-alt: #F1F5F9;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 6px 12px rgba(11, 30, 54, 0.08);
    --shadow-lg: 0 12px 24px rgba(11, 30, 54, 0.12);
    --transition: all 0.25s ease-in-out;
}

/* BASE & RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, .brand-font {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-alt {
    background-color: var(--bg-alt);
}

/* NAVIGATION HEADER */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold-primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-primary);
    line-height: 1.1;
}

.logo-text .subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--navy-primary);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--navy-primary);
    transition: var(--transition);
    padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--navy-primary);
    cursor: pointer;
}

/* BUTTONS */
.btn-gold {
    background-color: var(--gold-primary);
    color: var(--navy-primary);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-gold:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.3);
}

.btn-outline {
    border: 2px solid var(--gold-primary);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--gold-primary);
    color: var(--navy-primary);
}

.btn-sm-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-sm-whatsapp:hover {
    background-color: #1EBE57;
}

.btn-whatsapp-order {
    display: block;
    width: 100%;
    background-color: #25D366;
    color: var(--white);
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-whatsapp-order:hover {
    background-color: #1EBE57;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-contact-wa {
    display: inline-block;
    margin-top: 12px;
    background-color: var(--navy-primary);
    color: var(--gold-primary);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--gold-primary);
}

.btn-contact-wa:hover {
    background-color: var(--gold-primary);
    color: var(--navy-primary);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
    color: var(--white);
    padding: 90px 0;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--gold-primary);
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(197, 155, 39, 0.18);
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero h1 span {
    color: var(--gold-primary);
}

.hero p {
    font-size: 1.15rem;
    color: #CBD5E1;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* SHOP HERO */
.shop-hero {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
    border-bottom: 3px solid var(--gold-primary);
}

.shop-hero h1 {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.shop-hero p {
    color: #E2E8F0;
    font-size: 1.05rem;
}

/* SECTION HEADINGS */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--navy-primary);
    margin-bottom: 10px;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold-primary);
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* CARDS & GRIDS */
.cards-section {
    padding: 70px 0;
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197, 155, 39, 0.4);
}

.card-media {
    height: 160px;
    background-color: var(--navy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 3.5rem;
    position: relative;
}

.card-media-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--navy-dark);
    color: var(--gold-primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--gold-primary);
}

.card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.25rem;
    color: var(--navy-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    border-top: 1px solid #F1F5F9;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.card-link {
    color: var(--navy-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.card-link:hover {
    color: var(--gold-primary);
}

/* FEATURE & SERVE CARDS */
.card-feature {
    background-color: var(--white);
    padding: 28px;
    border-radius: 12px;
    border-top: 4px solid var(--gold-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background-color: var(--gold-soft);
}

.card-feature .icon {
    width: 50px;
    height: 50px;
    background-color: var(--navy-primary);
    color: var(--gold-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.card-feature h3 {
    color: var(--navy-primary);
    margin-bottom: 8px;
}

.card-feature p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.serve-card {
    border-top-color: var(--navy-primary);
}

/* BANNER CARD */
.card-banner {
    background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-light) 100%);
    color: var(--white);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid var(--gold-primary);
    box-shadow: var(--shadow-lg);
    margin-top: 50px;
}

.card-banner h3 {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.card-banner p {
    color: #E2E8F0;
    max-width: 600px;
}

/* CONTACT CARDS */
.card-contact {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-sm);
}

.card-contact .contact-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.card-contact h3 {
    color: var(--navy-primary);
    margin-bottom: 8px;
}

.card-contact p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* SHOP PRODUCT CARDS */
.shop-container {
    padding-top: 40px;
    padding-bottom: 70px;
}


.category-filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--white);
    border: 1px solid #CBD5E1;
    color: var(--navy-primary);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--navy-primary);
    color: var(--gold-primary);
    border-color: var(--navy-primary);
}

.product-card {
    position: relative;
}

.product-media-placeholder {
    height: 170px;
    background-color: fff ;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-media-placeholder .p-icon {
    font-size: 4rem;
}

.product-image {
    width: 120px;   /* adjust to your preferred size */
    height: auto;   /* keeps the aspect ratio */
    border: ; /* optional styling */
    border-radius: ;     /* optional rounded corners */
}


.price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--gold-primary);
    color: var(--navy-dark);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.product-cat-badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 6px;
    display: block;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border: 1px solid var(--gold-primary);
}

.floating-whatsapp:hover .wa-tooltip {
    opacity: 1;
}

/* FOOTER */
footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 20px 0;
    border-top: 4px solid var(--gold-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #94A3B8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-light);
}

.footer-logo {
    margin-bottom: 15px;
}

.title.light { color: var(--white); }
.subtitle.gold { color: var(--gold-primary); }

.footer-text {
    color: #94A3B8;
    font-size: 0.88rem;
    margin-bottom: 12px;
}

footer input[type="email"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--navy-light);
    margin-bottom: 10px;
    outline: none;
}

.full-width {
    width: 100%;
}

.form-feedback {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--gold-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--navy-light);
    color: #64748B;
    font-size: 0.85rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        gap: 15px;
        text-align: center;
        border-bottom: 2px solid var(--gold-primary);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .card-banner {
        flex-direction: column;
        text-align: center;
    }

    .category-filter-bar {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .filter-btn {
        white-space: nowrap;
    }
}
