
/* =========================================
   KOZVANE WEBSITE
   THEME: ESPRESSO BROWN & SAND BEIGE
========================================= */

/* ---------- BASIC SETTINGS ---------- */
:root {
  --cream: #F8F5EF;
  --light-cream: #EFE5D6;
  --warm-white: #FCFAF6;

  --brown: #C5AD96;
  --dark-brown: #967B64;
  --coffee: #967B64;
  --gold-light: #D8C2A8;

  --text: #78695D;
  --muted: #96887B;
  --border: #E2D6C8;

  --green: var(--dark-brown);
  --dark-green: var(--dark-brown);
  --gold: var(--gold-light);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--text);
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button, input, textarea, select {
    font: inherit;
}

button {
    cursor: pointer;
}

.section {
    padding: 90px 8%;
}


/* =========================================
   NAVIGATION BAR
========================================= */

.navbar {
    background: var(--dark-green);
    color: white;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 6%;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    font-size: 45px;
    color: var(--gold);
}

.logo h2,
.footer-logo h2 {
    letter-spacing: 3px;
    font-size: 25px;
}

.logo small,
.footer-logo small {
    font-size: 10px;
    letter-spacing: 2px;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar nav a {
    color: #f4eddf;
    font-size: 14px;
    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--gold);
}

.nav-button {
    border: 1px solid var(--gold);
    padding: 12px 20px;
    border-radius: 4px;
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 25px;
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    min-height: 680px;

    background-image:
        url("https://images.unsplash.com/photo-1497250681960-ef046c08a56e?auto=format&fit=crop&w=2000&q=85");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(36, 25, 18, 0.96) 0%,
            rgba(36, 25, 18, 0.84) 45%,
            rgba(36, 25, 18, 0.12) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
    padding: 80px 8%;

    color: white;
}

.eyebrow {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;

    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--gold-light);
    font-style: italic;
}

.hero-description {
    max-width: 550px;
    line-height: 1.8;
    font-size: 18px;
    color: #e9e4d8;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-button {
    background: var(--gold);
    color: var(--dark-green);

    padding: 15px 24px;
    border-radius: 4px;
    font-weight: 700;

    transition: 0.3s;
}

.primary-button:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid #e4d5b3;
    color: white;

    padding: 15px 24px;
    border-radius: 4px;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading h2,
.contact-heading h2 {
    font-size: clamp(35px, 4vw, 52px);
    color: var(--green);
    margin-bottom: 15px;
}

.section-heading > p:not(.eyebrow) {
    color: var(--muted);
}


/* =========================================
   ABOUT SECTION
========================================= */

.about {
    background: var(--light-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    align-items: center;

    max-width: 1200px;
    margin: auto;
}

.about-image {
    min-height: 440px;

    background-image:
        url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=1000&q=85");

    background-size: cover;
    background-position: center;

    border-radius: 8px;
}

.about-text h3 {
    color: var(--green);
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 18px;
}

.text-link {
    display: inline-block;
    margin-top: 12px;

    color: var(--green);
    font-weight: 700;

    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}


/* =========================================
   PRODUCTS SECTION
========================================= */

.products {
    background: var(--cream);
}

.product-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.product-card {
    background: var(--light-cream);

    border: 1px solid var(--border);
    border-radius: 8px;

    overflow: hidden;

    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(20, 50, 35, 0.1);
}

.product-image {
    height: 350px;
    position: relative;

    background-size: cover;
    background-position: center;
}

.pineapple-image {
    background-image: url("./images/pineapple.jpg");
    background-size: cover;
    background-position: center;
}

.banana-image {
    background-image: url("./images/banana.jpg");
    background-size: cover;
    background-position: center;
}

.product-tag {
    position: absolute;
    top: 20px;
    left: 20px;

    background: var(--cream);
    color: var(--green);

    padding: 8px 14px;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    font-size: 28px;
    color: var(--green);
    margin-bottom: 10px;
}

.product-subtitle {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-content > p:not(.product-subtitle) {
    color: var(--muted);
    line-height: 1.7;
}

.product-button {
    margin-top: 22px;

    background: var(--green);
    color: white;

    border: none;
    padding: 13px 20px;

    border-radius: 4px;
}

.product-button:hover {
    background: var(--gold);
    color: var(--dark-green);
}


/* PRODUCT DETAILS */

.product-details {
    display: none;

    margin: 50px auto 0;
    max-width: 1200px;

    background: var(--light-cream);

    border: 1px solid var(--gold);
    border-radius: 8px;

    padding: 40px;

    position: relative;
}

.product-details.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

.close-details {
    position: absolute;
    top: 20px;
    right: 20px;

    border: none;
    background: var(--green);
    color: white;

    width: 35px;
    height: 35px;

    border-radius: 50%;
}

.details-title {
    color: var(--green);
    font-size: 36px;
    margin-bottom: 20px;
}

.details-description {
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 25px;
}

.details-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.details-list div {
    background: var(--cream);
    padding: 18px;
    border-radius: 5px;
}

.details-list h4 {
    color: var(--green);
    margin-bottom: 8px;
}

.details-list p {
    color: var(--muted);
    line-height: 1.6;
}


/* =========================================
   WHY KOZVANE
========================================= */

.why {
    background: var(--dark-green);
    color: white;
}

.why .section-heading h2 {
    color: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    max-width: 1200px;
    margin: auto;

    gap: 25px;
}

.feature {
    text-align: center;
    padding: 25px;
}

.feature-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 50%;
    background: rgba(201, 164, 92, 0.12);

    font-size: 30px;
}

.feature h3 {
    color: var(--gold-light);
    margin-bottom: 12px;
    font-size: 23px;
}

.feature p {
    color: #d4dbd2;
    line-height: 1.7;
}


/* =========================================
   PROCESS
========================================= */

.process {
    background: var(--light-cream);
}

.process-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.process-item {
    background: var(--cream);

    padding: 30px 20px;
    text-align: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    position: relative;
}

.process-number {
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
}

.process-icon {
    font-size: 40px;
    margin: 20px 0;
}

.process-item h3 {
    color: var(--green);
    margin-bottom: 12px;
    font-size: 23px;
}

.process-item p {
    color: var(--muted);
    line-height: 1.7;
}


/* =========================================
   CONTACT SECTION
========================================= */

.contact {
    background: var(--cream);
}

.contact-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-heading > p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.8;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 50px;

    max-width: 1100px;
    margin: auto;
}

#enquiryForm {
    background: var(--light-cream);

    border: 1px solid var(--border);
    border-radius: 8px;

    padding: 35px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;

    color: var(--green);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    background: transparent;

    border: 1px solid #bdbba9;
    border-radius: 4px;

    outline: none;

    color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 2px rgba(24, 61, 46, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;

    padding: 16px;

    border: none;
    border-radius: 4px;

    background: var(--gold);
    color: var(--dark-green);

    font-weight: 700;

    transition: 0.3s;
}

.submit-button:hover {
    background: var(--green);
    color: white;
}

.form-note {
    text-align: center;
    margin-top: 15px;

    color: var(--muted);
    font-size: 12px;
}

.contact-info {
    padding: 30px 10px;
}

.contact-info h3 {
    color: var(--green);
    font-size: 30px;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;

    margin-bottom: 25px;
}

.contact-item > span {
    background: var(--green);
    color: var(--gold);

    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item small {
    display: block;
    color: var(--muted);
    margin-bottom: 5px;
}

.contact-item a,
.contact-item p {
    color: var(--green);
    font-weight: 600;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: var(--dark-green);
    color: var(--cream);

    text-align: center;

    padding: 50px 8%;
}

.footer-logo {
    justify-content: center;
    margin-bottom: 20px;
}

.footer > p {
    color: var(--gold-light);
    margin-bottom: 25px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;

    margin-bottom: 30px;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    font-size: 12px;
    color: #bfc8bd !important;
    margin-bottom: 0 !important;
}


/* =========================================
   ANIMATION
========================================= */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .navbar {
        padding: 18px 5%;
    }

    .navbar nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        background: var(--dark-green);

        padding: 25px;

        flex-direction: column;
        align-items: flex-start;
    }

    .navbar nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 600px;
    }

}


@media (max-width: 550px) {

    .section {
        padding: 65px 6%;
    }

    .hero-content {
        padding: 60px 6%;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-image {
        height: 250px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .details-list {
        grid-template-columns: 1fr;
    }

    .product-details {
        padding: 25px;
    }

    #enquiryForm {
        padding: 22px;
    }

    .logo h2 {
        font-size: 20px;
    }

    .logo small {
        font-size: 8px;
    }

}
