/* Color Palette & Global Variables */
:root {
    --dark-green: #023020;
    --off-white: #fffef0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--off-white);
    color: var(--dark-green);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: var(--dark-green);
    color: var(--off-white);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Tab Logic */
.tab-content {
    display: none;
    padding: 4rem 5%;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 10vh 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Buttons */
.btn-primary {
    background-color: var(--dark-green);
    color: var(--off-white);
    border: 1px solid var(--dark-green);
    padding: 12px 24px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--dark-green);
}

/* Grids & Cards */
.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    border: 1px solid rgba(2, 48, 32, 0.2);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

/* Admin Form */
.lux-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lux-form input {
    padding: 12px;
    border: 1px solid var(--dark-green);
    background: transparent;
    color: var(--dark-green);
    font-family: var(--font-body);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* --- NEW: About Collections Section --- */
.about-collections {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(2, 48, 32, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #2a4d3e; /* A slightly softer green for readable paragraphs */
}

/* Secondary Button Style */
.btn-outline {
    background-color: transparent;
    color: var(--dark-green);
    border: 1px solid var(--dark-green);
    padding: 12px 24px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--dark-green);
    color: var(--off-white);
}

.about-image {
    flex: 1;
}

/* Placeholder for your actual jewelry photography */
.image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e8e6d9; /* Slightly darker than off-white for contrast */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: rgba(2, 48, 32, 0.5);
    border-radius: 4px;
}

/* --- NEW: Footer Section --- */
.site-footer {
    background-color: var(--dark-green);
    color: var(--off-white);
    padding: 4rem 5% 1rem 5%;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-contact a {
    color: var(--off-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover, .footer-contact a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 254, 240, 0.2);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Update Mobile Responsiveness for new elements */
@media (max-width: 768px) {
    .about-collections {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .image-placeholder {
        height: 300px;
    }
}

/* Fix for Product Cards and Images */
.card {
    border: 1px solid rgba(2, 48, 32, 0.2);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    
    /* NEW: Force everything inside the card to stack vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; 
}

/* Style the product image so it looks uniform and luxurious */
.card img {
    width: 100%;
    max-width: 250px; /* Prevents the image from getting too massive */
    aspect-ratio: 1 / 1; /* Makes the image a perfect square */
    object-fit: cover; /* Ensures the image fills the square without stretching */
    border-radius: 8px; /* Soft corners for a premium feel */
    margin: 1.5rem 0; /* Adds breathing room above and below the image */
}

/* Make the price stand out a bit more */
.card p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem !important;
}