/* Film Photography Store Inspired Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #666666;
    --gray-500: #808080;
    --gray-400: #999999;
    --gray-300: #cccccc;
    --gray-200: #e6e6e6;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --font-system: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Base Styles */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-system);
    font-size: 16px;
    line-height: 1.5;
    color: var(--black);
    background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--black);
    margin: 0;
}

h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; font-weight: 500; }

p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

a {
    color: var(--black);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 18px;
}

.logo {
    width: 24px;
    height: 24px;
    background: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    position: relative;
    border: 2px solid var(--black);
}

.logo::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid var(--white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--black);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 64px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.hero-stats span {
    font-size: 14px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Categories */
.categories {
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.category-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.category-btn:hover,
.category-btn.active {
    color: var(--black);
    border-bottom-color: var(--black);
}

/* Product Grid */
.products {
    padding: 48px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
    margin-bottom: 16px;
}

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

.product-content h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.product-format {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.product-details {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.product-details span {
    font-size: 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 2px 6px;
    border-radius: 2px;
}

.product-condition {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.product-price {
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
}

.inquire-btn {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.inquire-btn:hover {
    opacity: 0.8;
}

/* Info Section */
.info {
    padding: 48px 0;
    background: var(--gray-100);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.info-block h3 {
    margin-bottom: 16px;
}

.info-block p {
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 48px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 16px;
}

.contact-details {
    margin-top: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-item h4 {
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 0;
    font-family: inherit;
    font-size: 14px;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--black);
}

.submit-button {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-button:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 48px 0 24px;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-section p {
    color: var(--gray-400);
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-section a {
    color: var(--gray-400);
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--gray-200);
        gap: 16px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .category-nav {
        gap: 16px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .info-grid {
        gap: 32px;
    }
}
/* =====================================
   SHOPPING CART STYLES
   ===================================== */

/* Cart Button (Fixed Position) */
.cart-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    font-family: inherit;
}

.cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cart-button.pulse {
    animation: pulse 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.cart-count {
    background: white;
    color: #667eea;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.cart-total {
    font-weight: 600;
    font-size: 16px;
}

/* Cart Panel (Slide-out) */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

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

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.cart-overlay.visible {
    opacity: 1;
    visibility: visible;
}

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

.cart-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
}

.close-cart-btn:hover {
    color: #333;
}

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

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    text-align: center;
}

.cart-empty svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.cart-empty p {
    font-size: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 12px;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

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

.cart-item-details h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.cart-item-price {
    font-size: 13px;
    color: #666;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.cart-item-total {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cart-item-remove {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #ff4444;
}

.cart-footer {
    border-top: 1px solid #e0e0e0;
    padding: 24px;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-note {
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
    text-align: center;
}

.cart-actions {
    display: flex;
    gap: 8px;
}

.cart-actions .btn-primary,
.cart-actions .btn-secondary {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.cart-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cart-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.cart-actions .btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.cart-actions .btn-secondary:hover {
    background: #e0e0e0;
}

/* Product Card Updates */
.add-to-cart-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.add-to-cart-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.reservation-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 152, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-button {
        bottom: 16px;
        right: 16px;
        padding: 12px 16px;
        font-size: 14px;
    }

    .cart-panel {
        width: 100%;
        right: -100%;
    }

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

    .cart-total {
        display: none;
    }
}
