:root {
    --terra-cotta: #C0583E;
    --terra-cotta-light: #E07D65;
    --terra-cotta-dark: #8F3A25;
    --bg-light: #F9F6F0;
    /* Off-white warm */
    --text-main: #333333;
    --text-muted: #666666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: flex-end;
    /* Logo on the right */
    align-items: center;
    padding: 1rem 5%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container .logo {
    max-height: 80px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    background-color: var(--text-main);
}

.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #E2725B;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-overlay h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-primary {
    background-color: var(--terra-cotta);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--terra-cotta-dark);
}

/* About / Specs */
.about {
    padding: 5rem 5%;
    text-align: center;
    background-color: #ffffff;
}

.about h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--terra-cotta-dark);
    margin-bottom: 3rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.spec-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border-bottom: 4px solid var(--terra-cotta);
    transition: transform 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
}

.spec-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--terra-cotta);
}

.spec-card p {
    color: var(--text-muted);
}

/* Products */
.products {
    padding: 5rem 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.products h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--terra-cotta-dark);
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Product Carousel */
.product-carousel {
    width: 100%;
    height: 300px;
    position: relative;
    background-color: #ededed;
}

.product-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.product-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: #fff;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.product-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--terra-cotta-dark);
    margin-bottom: 0.5rem;
}

.product-info .measurements {
    font-weight: 600;
    color: var(--terra-cotta);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--terra-cotta);
    color: var(--terra-cotta);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background-color: var(--terra-cotta);
    color: #fff;
}

footer {
    background-color: var(--text-main);
    color: #fff;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* Poetry Section */
.poetry-section {
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--terra-cotta);
    color: #fff;
}

.poetry-content {
    max-width: 900px;
    margin: 0 auto;
}

.poetry-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.poetry-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay p {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        justify-content: center;
    }
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--terra-cotta);
    text-decoration: none;
    cursor: pointer;
}

.product-slide {
    cursor: pointer;
    /* To indicate it can be clicked */
}

/* Floating Widget */
.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.partners-btn {
    background-color: var(--terra-cotta);
    color: #fff;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(192, 88, 62, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.partners-btn:hover {
    background-color: var(--terra-cotta-dark);
    transform: translateY(-3px);
}

.partners-popup {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 250px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    flex-direction: column;
    gap: 10px;
    transform-origin: bottom right;
    animation: fadeUp 0.3s ease;
}

.partners-popup.show {
    display: flex;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.partners-popup h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.partners-popup h4:first-child {
    margin-top: 0;
}

.partners-popup hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

.partner-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
}

.partner-link:hover {
    background-color: var(--bg-light);
    color: var(--terra-cotta);
}

.whatsapp-link {
    background-color: #25D366;
    color: #fff;
    font-weight: 600;
}

.whatsapp-link:hover {
    background-color: #1EBE5D;
    color: #fff;
}