:root {
    --primary: #ffbd59;
    /* Orangish accent */
    --secondary: #7e6b54;
    /* Brown accent */
    --tertiary: #c5de8e;
    /* Green accent */
    --background: #fef6e8;
    /* Warm cream */
    --text: #3a2f28;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Domine", sans-serif;
    font-weight: 700;
}

body {
    /* background: linear-gradient(45deg, var(--background) 60%, #fffcf6 100%); */

    --s: 40px;
    /* control the size*/
    --c1: #fff3d6;
    --c2: #ffffff;

    --_g: #0000 83%, var(--c1) 85% 99%, #0000 101%;
    background: radial-gradient(27% 29% at right, var(--_g)) calc(var(--s) / 2) var(--s),
        radial-gradient(27% 29% at left, var(--_g)) calc(var(--s) / -2) var(--s),
        radial-gradient(29% 27% at top, var(--_g)) 0 calc(var(--s) / 2),
        radial-gradient(29% 27% at bottom, var(--_g)) 0 calc(var(--s) / -2) var(--c2);
    background-size: calc(2 * var(--s)) calc(2 * var(--s));

    color: var(--text);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary);
    padding: 0.7rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar img {
    height: 100%;
    max-height: 80px;
    /* Adjust this value based on your navbar height */
    width: auto;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    color: var(--primary);
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 5%;
    flex-wrap: wrap;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffbd5944" d="M45,-58C56.7,-49.2,63.4,-33.4,68.3,-15.4C73.1,2.6,76.1,22.8,68.2,37.4C60.3,52,41.5,61,22.7,67.8C3.9,74.7,-15,79.4,-29.7,73.9C-44.4,68.3,-54.9,52.6,-63.9,36.8C-72.9,21,-80.4,5.2,-77.8,-8.9C-75.2,-23,-62.5,-35.3,-49.7,-44.1C-36.9,-52.9,-24.1,-58.2,-8.5,-55C7.1,-51.8,14.2,-40.1,25.8,-32.3C37.4,-24.5,53.5,-20.6,63.7,-10.9C73.9,-1.3,78.3,13.2,72.4,22.1C66.6,31,50.5,34.4,35.9,41.1C21.3,47.8,8.2,57.9,-5.7,66.6C-19.6,75.3,-39.2,82.7,-50.8,76.5C-62.3,70.3,-65.7,50.6,-68.9,33.6C-72.1,16.5,-75.1,2.1,-73.5,-13.1C-71.9,-28.3,-65.6,-44.3,-54.4,-53.7C-43.2,-63.1,-27,-65.8,-10.7,-60.9C5.6,-56,11.2,-43.5,21.6,-35.4C32,-27.3,47.2,-23.6,56.4,-16.3C65.7,-9,68.9,1.9,68.3,13.3C67.7,24.7,63.3,36.6,55.1,46.6C46.9,56.6,34.8,64.8,21.5,68.2C8.2,71.6,-6.4,70.3,-20.9,67.1C-35.3,64,-49.6,59,-57.1,49.1C-64.6,39.2,-65.3,24.5,-65.7,10.8C-66.1,-3,-66.3,-16.7,-61.9,-29.6C-57.5,-42.5,-48.6,-54.6,-37.1,-63.3C-25.6,-72.1,-11.8,-77.5,2.2,-81.2C16.2,-84.9,32.3,-86.9,45,-58Z"/></svg>');
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.description {
    font-size: 1.2rem;
}

/* Floating Hero Image */
.hero-image {
    flex: 1;
    max-width: 500px;
    height: 500px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 5rem;
    position: relative;
    border: 6px solid var(--secondary);
    box-shadow: 0 0 0 12px var(--tertiary), 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Section */
.products {
    padding: 4rem 5%;
    /* background: linear-gradient(45deg, var(--background) 60%, var(--secondary) 140%); */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Product Cards */
.product-card {
    background: linear-gradient(135deg, #ffffff 0%, var(--background) 100%);
    border: 2px solid var(--tertiary);
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(126, 107, 84, 0.08);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card h3 {
    color: var(--text);
    margin-bottom: 1rem;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card i {
    font-size: 2.5rem;
    color: #4a8717;
    margin-bottom: 1rem;
}

/* Scroll Down Animation */
.scroll-prompt {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: none;
}

.scroll-arrow {
    animation: bounce 2s infinite;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@media (min-width: 768px) {
    .scroll-prompt {
        display: block;
    }
}

/* Contact Section */
.contact {
    text-align: center;
    position: relative;
    background: var(--secondary);
    padding: 4rem 5%;
    color: white;
    overflow: hidden;
    font-size: 1.1rem;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./leaf-bg-footer.svg);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.contact > * {
    position: relative;
    z-index: 2;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info a {
    display: block;
    color: white;
    text-decoration: none;
}

/* Social Icons Section */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    background: var(--secondary);
    color: var(--primary);
    padding: 12px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-image {
        height: 300px;
        width: 100%;
        margin-left: 0;
    }

    .teaser::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.tagline {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(255, 189, 89, 0.433);
}

.teaser {
    font-size: 2.2rem;
    color: var(--primary);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: var(--text);
    margin: 2rem 0;
    position: relative;
}

.teaser::after {
    content: "";
    position: absolute;
    left: 0;
    transform: none;
    width: 100px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 4px;
    bottom: -20px;
    border-radius: 2px;
}

.cta-button {
    background: var(--primary);
    color: var(--text);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 189, 89, 0.3);
    font-weight: 600;
    margin-top: 2rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 189, 89, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    z-index: 1000;
}

.modal h3 {
    font-family: "Playfair Display", serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-group {
    position: relative;
    margin: 1.5rem 0;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.modal input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modal input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 167, 87, 0.2);
    outline: none;
}

/* modal for popup */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    color: var(--text);
}

.alert-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1001;
    max-width: 400px;
}

.alert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success {
    color: #4caf50;
}

.error {
    color: #f44336;
}

.alert-message {
    margin: 1rem 0;
}

.fa-smile-beam {
    animation: gentleBounce 1s infinite;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary);
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}