@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #5c3a21;
    --primary-light: #845231;
    --accent-color: #d4a373;
    --light-bg: #faf7f2;
    --white: #ffffff;
    --dark: #2d1c12;
    --danger: #dc3545;
    --success: #198754;
    --whatsapp-color: #25d366;
}

body {
    font-family: 'Poppins', 'AdorshoLipi', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    overflow-x: hidden;
}

.bg-primary-theme {
    background-color: var(--primary-color) !important;
}

.text-primary-theme {
    color: var(--primary-color) !important;
}

.text-accent-theme {
    color: var(--accent-color) !important;
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(92, 58, 33, 0.08);
}

.navbar-brand img {
    height: 50px;
    object-fit: contain;
}

.hero-section {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 28, 18, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.product-card {
    background: var(--white);
    border: 1px solid rgba(92, 58, 33, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(92, 58, 33, 0.12);
}

.product-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.btn-theme-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-theme-primary:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.btn-theme-accent {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-theme-accent:hover {
    background-color: #c59262;
    color: var(--white);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-control button {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-control button:hover {
    background: rgba(212, 163, 115, 0.2);
}

.quantity-control input {
    width: 50px;
    text-align: center;
    border: none;
    font-weight: 600;
    background: transparent;
}

.quantity-control input:focus {
    outline: none;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.order-form-container {
    background-color: var(--white);
    border-radius: 15px;
    border: 1px solid rgba(92, 58, 33, 0.1);
}

.table-invoice th {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
}

@media print {
    body * {
        visibility: hidden;
    }
    #invoice-print-area, #invoice-print-area * {
        visibility: visible;
    }
    #invoice-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}