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

:root {
    --primary-black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #4d4d4d;
    --gold: #D4AF37;
    --gold-light: #e5c158;
    --gold-dark: #b8960c;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --text-dark: #333333;
    --text-light: #cccccc;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* ====================
   GLOBAL STYLES
   ==================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-xl) 0;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
}

.gold-text {
    color: var(--gold);
}

/* ====================
   LOADER
   ==================== */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--medium-gray);
    border-top: 5px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ====================
   NAVBAR
   ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gold);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--gold);
    color: var(--primary-black);
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    margin: 3px 0;
    transition: var(--transition);
}

/* ====================
   BUTTONS
   ==================== */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* ====================
   HERO SECTION
   ==================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d95?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: var(--spacing-sm);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--off-white);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* ====================
   ABOUT SECTION
   ==================== */
.about {
    background: var(--dark-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.feature span {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
}

.image-placeholder {
    background: var(--medium-gray);
    height: 400px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--gold);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--gold);
}

/* ====================
   SERVICES SECTION
   ==================== */
.services {
    background: var(--primary-black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.service-card {
    background: var(--dark-gray);
    padding: var(--spacing-md);
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-gray);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--gold);
}

.service-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.services-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.services-note i {
    margin-right: var(--spacing-xs);
}

/* ====================
   TEAM SECTION
   ==================== */
.team {
    background: var(--dark-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.team-member {
    background: var(--medium-gray);
    padding: var(--spacing-md);
    text-align: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.team-member:nth-child(2) {
    animation-delay: 0.2s;
}

.team-member:nth-child(3) {
    animation-delay: 0.4s;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    border: 3px solid var(--gold);
}

.member-photo span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
}

.team-member h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
}

.team-member .member-role {
    color: var(--white);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.team-member .member-experience {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.team-member .member-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================
   LOCATION SECTION
   ==================== */
.location {
    background: var(--primary-black);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.info-card {
    background: var(--dark-gray);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--medium-gray);
}

.info-card h3 {
    color: var(--gold);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.info-card h3:first-of-type {
    margin-top: 0;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.info-card a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--gold);
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--text-light);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list span {
    font-weight: 500;
    color: var(--white);
}

.hours-list .closed {
    color: #ff6b6b;
}

.payment-methods {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    font-size: 2rem;
    color: var(--text-light);
}

.location-map iframe {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    height: 450px;
}

/* ====================
   SHOP SECTION
   ==================== */
.page-hero {
    background: var(--dark-gray);
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    text-align: center;
    border-bottom: 1px solid var(--gold);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-xs);
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: var(--dark-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--medium-gray);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 200px;
    background: var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: var(--spacing-sm);
}

.product-info h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.add-to-cart {
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--gold);
    color: var(--primary-black);
}

/* ====================
   CART SECTION
   ==================== */
.cart-section,
.checkout-section {
    min-height: 60vh;
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
}

.page-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 2.5rem;
}

.cart-container {
    background: var(--dark-gray);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    border: 1px solid var(--medium-gray);
}

.cart-items {
    margin-bottom: var(--spacing-md);
}

.cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--medium-gray);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h3 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.cart-item-price {
    color: var(--white);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--medium-gray);
    border: none;
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

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

.quantity-value {
    color: var(--white);
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.remove-item {
    background: transparent;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.remove-item:hover {
    color: #ff0000;
    transform: scale(1.1);
}

.cart-summary {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--gold);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.total-amount {
    color: var(--gold);
}

.cart-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

.empty-cart {
    text-align: center;
    padding: var(--spacing-lg);
}

.empty-cart i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
}

.empty-cart h3 {
    margin-bottom: var(--spacing-sm);
}

/* ====================
   CHECKOUT PROCESSING
   ==================== */
.checkout-processing {
    text-align: center;
    padding: var(--spacing-xl);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--medium-gray);
    border-top: 5px solid var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

/* ====================
   PAYMENT RESULT PAGES
   ==================== */
.payment-result {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-black);
}

.result-card {
    background: var(--dark-gray);
    max-width: 500px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--gold);
}

.result-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
}

.result-icon.success {
    color: #4CAF50;
}

.result-icon.cancelled {
    color: #ff6b6b;
}

.result-card h1 {
    margin-bottom: var(--spacing-sm);
}

.result-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.order-details {
    background: var(--medium-gray);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    text-align: left;
}

.result-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* ====================
   CHATBOT WIDGET
   ==================== */
.chatbot-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--gold-light);
}

.chatbot-toggle i {
    font-size: 1.5rem;
    color: var(--primary-black);
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--dark-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow);
    border: 1px solid var(--gold);
}

.chatbot-container.active {
    display: flex;
}

.chatbot-header {
    background: var(--primary-black);
    padding: var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gold);
}

.chatbot-header h3 {
    color: var(--white);
    font-size: 1rem;
}

.chatbot-header button {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.chatbot-header button:hover {
    color: var(--gold);
}

.chatbot-messages {
    flex: 1;
    padding: var(--spacing-sm);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.message {
    max-width: 80%;
    margin-bottom: var(--spacing-xs);
}

.message.user {
    align-self: flex-end;
}

.message.bot {
    align-self: flex-start;
}

.message-content {
    padding: 0.8rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.user .message-content {
    background: var(--gold);
    color: var(--primary-black);
}

.message.bot .message-content {
    background: var(--medium-gray);
    color: var(--white);
}

.chatbot-input {
    padding: var(--spacing-sm);
    background: var(--primary-black);
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--gold);
}

.chatbot-input input {
    flex: 1;
    padding: 0.8rem;
    background: var(--medium-gray);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: inherit;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--gold);
}

.chatbot-input button {
    background: var(--gold);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    background: var(--gold-light);
    transform: scale(1.05);
}

.chatbot-input button i {
    color: var(--primary-black);
}

/* ====================
   FOOTER
   ==================== */
.footer {
    background: var(--dark-gray);
    border-top: 1px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.footer-section p,
.footer-section ul {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--medium-gray);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ====================
   ANIMATIONS
   ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ====================
   RESPONSIVE DESIGN
   ==================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: var(--spacing-md) 0;
        border-top: 1px solid var(--gold);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .chatbot-container {
        width: 300px;
        right: -20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .result-actions {
        flex-direction: column;
    }
}