/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* --- CSS Variables (Theme) --- */
:root {
    --primary-color: #0d9488; /* Teal Green */
    --secondary-color: #f0fdfa; /* Very light teal for backgrounds */
    --accent-color: #c4a484; /* A warm, complementary beige/brown */
    --text-color: #0f172a;
    --light-text-color: #f8fafc;
    --border-color: #ccfbf1;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
}

/* --- General Resets & Body --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff; /* Default background */
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #0f766e;
    transform: translateY(-2px);
}

/* --- Header & Navbar --- */
header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-logo {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s ease;
}
.nav-link:hover {
    color: var(--primary-color);
}


/* --- Content & Carousel Styling --- */
.page-content {
    background-color: rgba(240, 253, 250, 0.75);
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.background-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}
.bg-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.bg-slide.active {
    opacity: 0.8;
}


/* --- Page Specific Sections --- */
h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Homepage */
.hero {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
    padding: 2rem 0;
}
.hero-content h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
.featured-products {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Catalogue Page */
.catalogue-title {
    text-align: center;
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}
.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.filter-controls input,
.filter-controls select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--body-font);
    font-size: 1rem;
}

/* About Page */
.about-page-container {
    text-align: center;
    max-width: 800px;
}
.about-logo {
    max-width: 150px;
    margin-bottom: 2rem;
}
.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* --- Product Grid & Cards (Used on Home & Catalogue) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.product-card-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-card-info h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.product-card-info .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 4rem 0;
    text-align: center;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    border-top: 4px solid var(--primary-color);
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #334155;
}
.testimonial-card h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--text-color);
}

/* --- Blog Styles --- */
.blog-subtitle {
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: -1rem auto 3rem;
    color: #334155;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-content h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.blog-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}
.blog-card-content span {
    font-weight: 600;
    color: var(--primary-color);
}
.blog-post {
    max-width: 800px;
    background: #fff;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 8px;
}
.blog-post h1 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.blog-post-banner {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.blog-post h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.blog-post p, .blog-post li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.blog-post ul, .blog-post ol {
    padding-left: 2rem;
}
.blog-post .btn {
    margin-top: 2rem;
}

/* --- Product Detail Page (No Carousel) --- */
.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}
.product-detail-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.product-detail-info h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 1rem;
}
.product-detail-info .price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.product-detail-info .description {
    margin-bottom: 1.5rem;
}
.product-detail-info .details-list {
    list-style: none;
    margin-bottom: 2rem;
}
.product-detail-info .details-list li {
    margin-bottom: 0.5rem;
}
.product-detail-info .details-list strong {
    color: var(--primary-color);
}
.buy-btn {
    background-color: var(--accent-color);
}
.buy-btn:hover {
    background-color: #a98b6f;
}

/* --- Footer Styles --- */
.site-footer {
    background-color: #0f172a; /* Dark Slate background */
    color: #cbd5e1; /* Lighter text color for contrast */
    padding-top: 3rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-column h4 {
    font-family: var(--heading-font);
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    .filter-controls {
        flex-direction: column;
    }
    .product-detail-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-grid {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}
