:root {
    --primary-dark: #1A1412;
    --secondary-dark: #231915;
    --card-dark: #2C201C;
    --gold: #C19A6B;
    --gold-hover: #D4AF7A;
    --text-primary: #D0B49F;
    --text-secondary: #A67B5B;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #D0B49F;
    background: #1A1412;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 20, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(193, 154, 107, 0.1);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, var(--gold), var(--gold-hover));
    -webkit-background-clip: text;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.logo i {
    color: var(--gold);
    font-size: 24px;
    text-shadow: 0 0 10px rgba(193, 154, 107, 0.3);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #A67B5B;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #C19A6B;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 50px 50px;
    background: linear-gradient(rgba(26, 20, 18, 0.8), rgba(26, 20, 18, 0.8)),
                url('background.jpg') center/cover;
    display: block;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(193, 154, 107, 0.2), transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #8B5E34, #A67B5B);
    border: 1px solid rgba(193, 154, 107, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #D0B49F;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(45deg, #A67B5B, #C19A6B);
    box-shadow: 0 6px 20px rgba(193, 154, 107, 0.3);
    transform: translateY(-3px) scale(1.02);
}

/* Collection Section */
.collection {
    padding: 4rem 2rem;
    background: var(--secondary-dark);
}

.collection h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.item {
    background: var(--card-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid rgba(193, 154, 107, 0.1);
}

.item:hover {
    transform: translateY(-5px);
    border-color: rgba(193, 154, 107, 0.3);
}

.item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 20, 18, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item:hover .item-overlay {
    opacity: 1;
}

.view-details {
    padding: 10px 20px;
    background: var(--gold);
    border: none;
    border-radius: 25px;
    color: var(--primary-dark);
    font-weight: 500;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.view-details:hover {
    background: var(--gold-hover);
    transform: translateY(0) scale(1.05);
}

.item-info {
    padding: 1.5rem;
}

.item-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(193, 154, 107, 0.1);
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
}

.availability {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Animation for fade-in effect */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 30px;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* About Section */
.about {
    padding: 100px 50px;
    background: #1A1412;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 2rem;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold), 
        transparent
    );
}

.about-content h2 {
    color: #C19A6B;
}

.about-content p {
    color: #A67B5B;
}

/* Contact Section */
.contact {
    padding: 100px 50px;
    background: #231915;
    text-align: center;
}

.contact h2 {
    color: #C19A6B;
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
    color: #A67B5B;
}

.contact-info p {
    margin: 20px 0;
}

.contact-info i {
    margin-right: 10px;
    color: #C19A6B;
    transition: transform 0.3s ease;
}

.contact-info p:hover i {
    transform: scale(1.2);
    color: var(--gold-hover);
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background: #120D0B;
    color: #8B5E34;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 20px;
        flex-direction: column;
    }

    .nav-links {
        margin-top: 20px;
    }

    .nav-links li {
        margin: 0 15px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Add a subtle text selection color */
::selection {
    background: #8B5E34;
    color: #D0B49F;
}

/* Modify scrollbar for dark theme */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1A1412;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8B5E34, #A67B5B);
    border: 3px solid var(--primary-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B4423;
}

/* Add these new hover effects for links */
.nav-links a:hover {
    color: var(--gold-hover);
    text-shadow: 0 0 10px rgba(193, 154, 107, 0.3);
}

/* Add decorative elements */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(193, 154, 107, 0.3), 
        transparent
    );
    margin: 2rem auto;
    width: 80%;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.login-form {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(193, 154, 107, 0.2);
    margin: 100px auto;
}

.login-form h2 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.login-form .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--card-dark);
    border: 1px solid rgba(193, 154, 107, 0.3);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(193, 154, 107, 0.2);
}

.login-form .submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.75rem;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.login-form .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-form .submit-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.login-form .error-message {
    color: #e74c3c;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(231, 76, 60, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.login-form .error-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-link {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.error-message {
    color: #e74c3c;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Add this to your existing styles.css */
.admin-link {
    color: var(--gold) !important;
    border: 1px solid var(--gold);
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background-color: var(--gold);
    color: var(--primary-dark) !important;
}

/* Modify the existing nav-links styles to accommodate the new button */
.nav-links li:last-child {
    margin-left: 20px;
}

.admin-login-hidden {
    position: fixed;
    top: -100px; /* Hide it off-screen */
    right: 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.admin-login-visible {
    top: 20px;
    opacity: 1;
}

#adminLoginBtn {
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Add these styles to your existing styles.css file */

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: var(--primary-dark);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gold);
}

.admin-header h1 {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 0;
}

.logout-btn {
    background: transparent;
    color: var(--gold);
    padding: 10px 20px;
    border: 2px solid var(--gold);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

/* Add Item Form Styles */
.add-item-form {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(193, 154, 107, 0.2);
}

.add-item-form h2 {
    color: var(--gold);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--card-dark);
    border: 1px solid rgba(193, 154, 107, 0.3);
    border-radius: 4px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input[type="file"] {
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(193, 154, 107, 0.3);
}

.submit-btn {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

/* Items Table Styles */
.items-table {
    background: var(--secondary-dark);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(193, 154, 107, 0.2);
}

.items-table h2 {
    color: var(--gold);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(193, 154, 107, 0.2);
    color: var(--text-primary);
}

th {
    background-color: var(--card-dark);
    color: var(--gold);
    font-weight: 600;
}

tr:hover {
    background-color: rgba(193, 154, 107, 0.05);
}

/* Table image styles */
td img {
    border-radius: 4px;
    border: 1px solid rgba(193, 154, 107, 0.2);
}

/* Action Buttons */
.edit-btn, .delete-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 2px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.delete-btn {
    background: #dc3545;
}

.edit-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.delete-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

/* Messages */
.success-message, .error-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #2ecc71;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #e74c3c;
}

.price {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #4a4a4a;
}

/* Login Form Animation and Loading States */
.shake {
    animation: shake 0.65s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-dark);
    animation: spin 0.8s ease infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

/* Update submit button styles */
.login-form .submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.75rem;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.login-form .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Update error message styles */
.login-form .error-message {
    color: #e74c3c;
    text-align: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    padding: 0.75rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(231, 76, 60, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.login-form .error-message.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add these styles to your existing CSS */
.image-preview {
    margin-top: 10px;
}

.image-preview img {
    max-width: 200px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-group input[type="file"] {
    padding: 10px;
    background: var(--card-dark);
    border: 1px solid rgba(193, 154, 107, 0.3);
    border-radius: 4px;
    color: var(--text-primary);
    width: 100%;
    cursor: pointer;
}

.form-group input[type="file"]::-webkit-file-upload-button {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
    background: var(--gold-hover);
}

/* Contact Form Styles */
.sendmessage {
    padding: 100px 50px;
    background: var(--secondary-dark);
}

.sendmessage-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--card-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(193, 154, 107, 0.2);
}

.sendmessage h2 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--primary-dark);
    border: 1px solid rgba(193, 154, 107, 0.3);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(193, 154, 107, 0.2);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-form button:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-form button i {
    font-size: 1.1rem;
}

#form-status {
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 500;
}

#form-status .text-red-500 {
    color: #e74c3c;
    padding: 0.75rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

#form-status .text-green-500 {
    color: #2ecc71;
    padding: 0.75rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

/* Add animation for form elements */
.contact-form .form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.contact-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.contact-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.contact-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.contact-form button { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sendmessage {
        padding: 50px 20px;
    }
    
    .sendmessage-content {
        padding: 1.5rem;
    }
    
    .sendmessage h2 {
        font-size: 2rem;
    }
}

/* Add these styles to your existing CSS */
.form-group select {
    width: 100%;
    padding: 12px;
    background: var(--card-dark);
    border: 1px solid rgba(193, 154, 107, 0.3);
    border-radius: 4px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(193, 154, 107, 0.3);
}

.form-group select option {
    background: var(--card-dark);
    color: var(--text-primary);
    padding: 8px;
}

/* Item Type Sections */
.item-type-section {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(193, 154, 107, 0.1);
}

.item-type-section:first-child {
    margin-top: 0;
    border-top: none;
}

.type-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.type-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--gold), 
        transparent
    );
}

/* Adjust the existing items-grid for sections */
.item-type-section .items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

/* Add animation for sections */
.item-type-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSection 0.8s ease forwards;
}

@keyframes fadeInSection {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add staggered animation delay for sections */
.item-type-section:nth-child(1) { animation-delay: 0.1s; }
.item-type-section:nth-child(2) { animation-delay: 0.2s; }
.item-type-section:nth-child(3) { animation-delay: 0.3s; }
.item-type-section:nth-child(4) { animation-delay: 0.4s; }
.item-type-section:nth-child(5) { animation-delay: 0.5s; }

/* Timeline Styles */
.timeline-sections {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline-section {
    margin-bottom: 4rem;
}

.timeline-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.timeline-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.timeline-items {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.timeline-item {
    flex: 0 0 300px;
    background: var(--card-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(193, 154, 107, 0.1);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 6px 25px rgba(193, 154, 107, 0.2);
}

.timeline-item .item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.timeline-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.timeline-item:hover .item-image img {
    transform: scale(1.05);
}

.timeline-item .item-info {
    padding: 1.5rem;
}

.timeline-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.timeline-item .item-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.timeline-item .item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(193, 154, 107, 0.1);
}

.timeline-item .price {
    color: var(--gold);
    font-size: 1.25rem;
    font-weight: 600;
}

.timeline-item .availability {
    color: #2ecc71;
    font-size: 0.9rem;
}

/* Customize scrollbar */
.timeline-items::-webkit-scrollbar {
    height: 8px;
}

.timeline-items::-webkit-scrollbar-track {
    background: var(--primary-dark);
    border-radius: 4px;
}

.timeline-items::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

.timeline-items::-webkit-scrollbar-thumb:hover {
    background: var(--gold-hover);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-sections {
        padding: 1rem;
        margin: 0;
    }

    .timeline-section {
        margin-bottom: 2rem;
    }

    .timeline-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .timeline-items {
        gap: 1rem;
        padding: 0.5rem 0;
        margin: 0;
    }

    .timeline-item {
        flex: 0 0 260px;
        margin: 0;
    }

    .timeline-item .item-image {
        height: 180px;
    }

    /* Adjust hero section height */
    .hero {
        min-height: auto;
        padding-top: 80px;
    }

    .hero-content {
        padding: 1rem 0;
    }

    /* Remove any extra margins from grid */
    .items-grid {
        margin: 0;
    }
} 