/* Gupta Bartan Bhandar - Custom Styles
   Color palette for crockery business:
   - Deep Navy (#1e3a5f) : Trust & professionalism
   - Warm Copper (#c45c26) : Warmth of kitchen & terracotta
   - Soft Cream (#fdf8f3) : Clean ceramic feel
   - Gold accent (#d4a017)
*/

:root {
    --primary: #1e3a5f;
    --primary-dark: #152a45;
    --accent: #c45c26;
    --accent-hover: #a34a1e;
    --gold: #d4a017;
    --cream: #fdf8f3;
    --light-bg: #f7f3ee;
    --text: #2c2c2c;
    --text-muted: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, .brand-name {
    font-family: 'Playfair Display', serif;
}

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
}

.top-bar a:hover {
    color: var(--gold) !important;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0.6rem 0;
}

.navbar-brand .brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.nav-link {
    font-weight: 500;
    color: var(--text) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

.btn-accent {
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    transition: all 0.2s;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-1px);
}

.btn-primary-custom {
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 500;
    padding: 0.65rem 1.5rem;
    border-radius: 50px;
    transition: all 0.2s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(196,92,38,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 540px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: 4.5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* Cards */
.feature-card, .product-card, .blog-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: none;
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
    overflow: hidden;
}

.feature-card:hover, .product-card:hover, .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(30, 58, 95, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.product-card img, .blog-card img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-card .card-body, .blog-card .card-body {
    padding: 1.25rem;
}

.category-badge {
    background: var(--light-bg);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* About */
.about-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 360px;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-box .number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #e0dcd5;
    padding: 0.7rem 1rem;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(196, 92, 38, 0.15);
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: white;
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Blog */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.blog-content iframe {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

.blog-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Admin styles */
.admin-sidebar {
    min-height: 100vh;
    background: var(--primary-dark);
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8) !important;
}

.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    .section {
        padding: 3rem 0;
    }
    .hero {
        padding: 3.5rem 0 3rem;
    }
}

/* Utility */
.text-accent {
    color: var(--accent) !important;
}

.bg-cream {
    background: var(--cream);
}

.bg-light-custom {
    background: var(--light-bg);
}
