/* SEE SHOP FOR BACKGROUND COLOR */
/* Basic Reset & Typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@300;400;700&display=swap');

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #ffffff; /* Light creamy background */
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: #4a2c2c; /* Deep rich brown */
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: #7a5f4f; /* Muted brown */
    transition: color 0.3s ease;
}

a:hover {
    color: #a07a61; /* Lighter brown on hover */
}

/* Container for Centering Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header & Navigation */
.header {
    background-color: #ffffff;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #4a2c2c;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #a07a61;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(74,44,44), rgba(74,44,44)), url('https://submits.unsplash.com/photo-1591147712399-52c6f131a90f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 100px 20px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3em;
    max-width: 700px;
    margin-bottom: 30px;
    color: #ffffff;
}

.btn {
    display: inline-block;
    background-color: #7a5f4f; /* Muted brown */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #a07a61; /* Lighter brown */
    transform: translateY(-2px);
}

/* Section Styling */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #a07a61;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Product/Article Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 78px 25px rgba(0, 0, 0, 0.12);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 15px;
}

.card-content .price {
    font-weight: 700;
    color: #4a2c2c;
    font-size: 1.2em;
    margin-top: 10px;
}

/* Call to Action */
.cta-section {
    background-color: rgb(122, 95, 79); /* Muted brown */
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background-color: #4a2c2c; /* Deep rich brown */
    color: #f8f5f2; /* Creamy color */
    padding: 40px 20px;
    text-align: center;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: #f8f5f2;
    margin: 0 15px;
    font-size: 0.95em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .section h2 {
        font-size: 2em;
    }

    .grid {
        grid-template-columns: 1fr;
    }
    }p.dotted {border-style: dotted;}
     p.dashed {border-style: dashed;}
    card
     p.double {border-style: double;}
     p.groove {border-style: groove;}
     p.ridge {border-style: ridge;}
     p.inset {border-style: inset;}
     p.outset {border-style: outset;}
     p.none {border-style: none;}
     p.hidden {border-style: hidden;}
     p.mix {border-style: dotted dashed solid double;}

     /* --- Global Styles & Resets --- */
:root {
    --color-primary: #000000;
    --color-secondary: #99796b;
    --color-accent: #f0f0f0;
    --color-text: #333333;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-main);
    margin: 0;
    background-color: var(--color-secondary);
    color: var(--color-text);
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

/* --- Header --- */
.site-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-size: 1.5em;
    font-weight: bold;
}

.header-nav a {
    margin: 0 15px;
    font-weight: 500;
}

.header-icons svg {
    width: 24px;
    height: 24px;
    margin-left: 20px;
}

/* --- Product Page Layout --- */
.product-page {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

/* --- Product Gallery (Left Column) --- */
.product-gallery {
    display: flex;
    flex-direction: column;
}

.main-image img {
    width: 100%;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-gallery img {
    border: 2px solid var(--color-accent);
    border-radius: 5px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumbnail-gallery img:hover {
    border-color: var(--color-primary);
}

.thumbnail-gallery img.active {
    border-color: var(--color-primary);
}

/* --- Product Details (Right Column) --- */
.product-details h1 {
    font-size: 2.5em;
    margin: 0;
    font-weight: 600;
    line-height: 1.1;
}

.product-details .subtitle {
    font-size: 1.1em;
    color: #666;
    margin: 5px 0 15px 0;
}

.product-price {
    font-size: 1.8em;
    font-weight: 500;
    margin-bottom: 10px;
}

.tax-shipping-info {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 25px;
}

.variant-selector {
    margin-bottom: 20px;
}

.variant-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.variant-selector select, .quantity-selector input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: var(--color-secondary);
}

.quantity-selector {
    margin-bottom: 25px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 150px;
}

.quantity-wrapper button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 15px;
    line-height: 48px;
}

.quantity-wrapper input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background: none;
}

/* --- Action Buttons --- */
.action-buttons button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: opacity 0.3s;
}

.action-buttons button:hover {
    opacity: 0.85;
}

.btn-add-to-cart {
    background-color: #7a5f4f; /* Brownish accent color */
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.btn-buy-now {
    background-color: var(--color-primary);
    color: var(--color-secondary);
}

/* --- Product Description --- */
.product-description {
    margin-top: 40px;
    line-height: 1.6;
}

.product-description h3 {
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.product-description ul {
    padding-left: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .product-page {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-details h1 {
        font-size: 2em;
    }
    .header-nav {
        display: none; /* Hide nav on mobile for simplicity */
    }
}


/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Use CSS variables for easy theme management */
:root {
    --primary-color: #0d6efd; /* A slightly more modern blue */
    --primary-hover-color: #0b5ed7;
    --background-color: #f8f9fa;
    --form-background: #ffffff;
    --text-color: #333;
    --label-color: #555;
    --border-color: #ced4da;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-family: 'Poppins', sans-serif;
}

/* General Body Styles */
body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

/* Main Content Wrapper */
.main-content {
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px); /* Adjust based on header/footer height */
}

/* Contact Form Container */
.contact-container {
    max-width: 600px;
    width: 100%;
    background-color: var(--form-background);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease-in-out;
}

.contact-container:hover {
    transform: translateY(-5px);
}

/* Form Header */
.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--label-color);
}


/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Creates space between form elements */
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--label-color);
}

input[type="text"],
input[type="email"],
textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Crucial for accessibility and user feedback */
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

textarea {
    resize: vertical; /* Allow users to resize vertically */
}

/* Submit Button */
.submit-btn {
    padding: 15px;
    background-color: rgba(138, 61, 16, 0.644);
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-2px);
}

/* Simple Footer Style (assuming it's not in your main style.css) */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #e9ecef;
    color: #b7bbbe;
}