/* Blessed Form Statues - Minimal Luxury Design System */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --black: #111111;
    --dark-grey: #333333;
    --gold: #D4AF37; /* 2% Gold accent */
    --light-gold: rgba(212, 175, 55, 0.1);
    
    --font-primary: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
    --katayam-border: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20L20 0ZM20 2.828L2.828 20L20 37.172L37.172 20L20 2.828Z' fill='%23D4AF37' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Utility */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

/* Header & Nav */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #EEEEEE;
    padding: 15px 0;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gold);
    color: var(--white);
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-nav-links .nav-link {
    font-size: 20px;
}

/* Katayam Decorations */
.katayam-divider {
    height: 20px;
    background-image: var(--katayam-border);
    background-size: 20px 20px;
    background-repeat: repeat-x;
    margin: 40px 0;
    opacity: 0.7;
}

.katayam-border {
    border: 2px solid var(--gold);
    padding: 5px;
    position: relative;
}
.katayam-border::before {
    content: '';
    position: absolute;
    top: -6px; left: -6px; right: -6px; bottom: -6px;
    border: 1px solid var(--gold);
    opacity: 0.5;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--black);
    color: var(--white);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--black);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-gold {
    display: inline-block;
    background-color: var(--gold);
    color: var(--white);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold:hover {
    background-color: var(--white);
    color: var(--gold);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('../images/Hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(17, 17, 17, 0.5); /* Black overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    text-align: center;
    background: var(--off-white);
    padding: 20px;
    transition: var(--transition);
    border: 1px solid #EEE;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.product-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 16px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 14px;
    color: var(--dark-grey);
    margin-bottom: 15px;
    font-weight: 600;
}

.btn-add-cart {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-add-cart:hover {
    background: var(--gold);
    color: var(--white);
}

/* Highlights & Mission */
.highlights {
    background: var(--off-white);
    padding: 60px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.highlight-item iconify-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 15px;
}

.mission-section {
    padding: 80px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-text {
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    color: var(--dark-grey);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-socials a {
    font-size: 24px;
    color: var(--gold);
}

.footer-socials a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 12px;
    color: #888;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 300;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-modal.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 20px;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--gold);
}

.cart-item-remove {
    background: none;
    border: none;
    color: red;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #EEE;
    background: var(--off-white);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 250;
    display: none;
}

.cart-overlay.show {
    display: block;
}

/* Bill Template (Hidden from view) */
#bill-container {
    display: none;
}
#bill-template {
    padding: 40px;
    background: #FFF;
    color: #000;
    width: 800px;
    font-family: 'Raleway', sans-serif;
}
.bill-header { text-align: center; margin-bottom: 30px; }
.bill-logo { max-width: 150px; margin: 0 auto 10px; }
.bill-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.bill-table th, .bill-table td { border: 1px solid #EEE; padding: 10px; text-align: left; }
.bill-table th { background: #F5F5F5; }
.bill-item-img { width: 50px; height: 50px; object-fit: cover; }

/* Responsive adjustments (Mobile optimized) */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    
    .highlights-grid { grid-template-columns: 1fr; }
    
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .product-title { font-size: 14px; }
    .product-card { padding: 10px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* About Page Specific Styles */
.about-page {
    position: relative;
    overflow-x: hidden;
}

.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    filter: grayscale(100%);
    pointer-events: none;
}

.about-content-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--black);
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 20px 20px 0px var(--gold);
}

.about-title {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-content-card {
        padding: 30px;
        box-shadow: 10px 10px 0px var(--gold);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}
