
/* =====================================================
   EBYFEL PAP PRODUCTION
   LUXURY CREAM, PURPLE, CORAL & GOLD DESIGN
===================================================== */


/* =====================================================
   1. COLOUR SYSTEM AND GENERAL SETTINGS
===================================================== */

:root {
    --cream: #fff8ef;
    --white: #ffffff;
    --purple: #54245f;
    --deep-purple: #32143d;
    --wine: #812d55;
    --coral: #ff6b61;
    --orange: #f5a623;
    --gold: #ffd166;
    --text: #382b3c;
    --muted: #786d7a;
    --soft-pink: #fff0ee;
    --soft-purple: #f3eafa;
    --shadow: 0 12px 35px rgba(54, 24, 65, 0.12);
    --big-radius: 25px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =====================================================
   2. HEADER
===================================================== */

.header {
    width: 100%;
    padding: 18px 6%;
    background: linear-gradient(
        120deg,
        var(--deep-purple),
        var(--purple),
        var(--wine)
    );

    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 5px 25px rgba(50, 20, 61, 0.25);
}

/* Business name */

.header__title {
    color: var(--gold);
    font-size: clamp(21px, 3vw, 30px);
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: 0.4s ease;
}

.header__title:hover {
    color: var(--white);
    transform: scale(1.04);
}

/* Navigation */

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.navbar a {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Different navigation colours */

.navbar a:nth-child(1) {
    border: 1px solid rgba(255, 209, 102, 0.5);
}

.navbar a:nth-child(2) {
    border: 1px solid rgba(255, 107, 97, 0.6);
}

.navbar a:nth-child(3) {
    border: 1px solid rgba(255, 209, 102, 0.6);
}

.navbar a:nth-child(4) {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar a:nth-child(5) {
    border: 1px solid rgba(255, 107, 97, 0.6);
}

.navbar a:hover {
    background: var(--gold);
    color: var(--deep-purple);
    transform: translateY(-5px);
    box-shadow: 0 7px 18px rgba(255, 209, 102, 0.3);
}


/* =====================================================
   3. HERO SECTION
===================================================== */

.hero {
    min-height: 620px;
    padding: 100px 7%;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(255, 209, 102, 0.5),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 107, 97, 0.3),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fff0d9,
            #f9dce7,
            #eadcf6
        );
}

/* Decorative background circles */

.hero::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 107, 97, 0.13);
    border-radius: 50%;
    top: -100px;
    right: -70px;
    animation: floatCircle 7s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(245, 166, 35, 0.2);
    border-radius: 50%;
    bottom: -80px;
    left: -40px;
    animation: floatCircle 6s ease-in-out infinite reverse;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    animation: heroAppear 1.2s ease both;
}

.hero-content h2 {
    color: var(--deep-purple);
    font-size: clamp(35px, 6vw, 65px);
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-content h3 {
    color: var(--wine);
    font-size: clamp(18px, 3vw, 25px);
    margin-bottom: 22px;
    font-weight: 700;
}

.hero-content p {
    color: #514153;
    font-size: 17px;
    max-width: 780px;
    margin: 0 auto 20px;
    line-height: 1.9;
}

.hero-content p strong {
    color: var(--wine);
    font-size: 19px;
}


/* =====================================================
   4. BUTTONS
===================================================== */

.btn {
    display: inline-block;
    padding: 14px 28px;
    margin-top: 15px;

    border: none;
    border-radius: 50px;

    font-size: 15px;
    font-weight: 800;
    text-align: center;

    cursor: pointer;
    transition: all 0.4s cubic-bezier(.2,.8,.2,1);
}

/* Main button */

.primary-btn {
    color: var(--white);
    background: linear-gradient(
        120deg,
        var(--wine),
        var(--coral),
        var(--orange)
    );

    background-size: 200% auto;

    box-shadow: 0 8px 22px rgba(129, 45, 85, 0.25);
}

.primary-btn:hover {
    background-position: right center;
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 15px 30px rgba(129, 45, 85, 0.3);
}

.primary-btn:active {
    transform: scale(0.96);
}


/* =====================================================
   5. ABOUT SECTION
===================================================== */

.about-section {
    padding: 85px 7%;
    text-align: center;
    background: var(--white);
}

.about-section > h2,
.order-section > h2,
.contact-section > h2 {
    color: var(--deep-purple);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

/* Decorative line below headings */

.about-section > h2::after,
.order-section > h2::after,
.contact-section > h2::after {
    content: "";
    display: block;
    width: 65px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 10px;
    background: linear-gradient(
        to right,
        var(--coral),
        var(--orange)
    );
}

.about-section > p {
    max-width: 800px;
    margin: 15px auto 40px;
    color: var(--muted);
    font-size: 17px;
}


/* =====================================================
   6. CARD GRID
===================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );

    gap: 25px;
    max-width: 1200px;
    margin: 35px auto 0;
}


/* =====================================================
   7. ABOUT AND CONTACT CARDS
===================================================== */

.card {
    background: var(--white);
    padding: 30px 24px;

    border: 1px solid #eee1ee;
    border-radius: var(--big-radius);

    box-shadow: var(--shadow);

    position: relative;
    overflow: hidden;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

/* Colourful top edge */

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;

    background: linear-gradient(
        to right,
        var(--coral),
        var(--orange),
        var(--gold)
    );

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-12px) scale(1.025);
    box-shadow: 0 22px 45px rgba(84, 36, 95, 0.18);
    border-color: #f3b4bb;
}

.card:nth-child(even) {
    background: #fff9f5;
}

.card h3 {
    color: var(--wine);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}


/* =====================================================
   8. ORDER SECTION
===================================================== */

.order-section {
    padding: 85px 6%;
    text-align: center;

    background:
        radial-gradient(
            circle at top right,
            rgba(255, 209, 102, 0.25),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #f7e8f2,
            #fff1e5
        );
}

.order-section > p {
    color: var(--muted);
    margin: 10px auto 30px;
    font-size: 16px;
}


/* =====================================================
   9. ORDER FORM
===================================================== */

.contact-form {
    width: 100%;
    max-width: 650px;
    margin: 35px auto 0;

    padding: 40px;

    text-align: left;
    background: var(--white);

    border: 1px solid #f1dce9;
    border-radius: 28px;

    box-shadow: 0 20px 55px rgba(84, 36, 95, 0.13);

    transition: box-shadow 0.4s ease;
}

.contact-form:hover {
    box-shadow: 0 25px 65px rgba(84, 36, 95, 0.19);
}

.contact-form label {
    display: block;
    color: var(--deep-purple);
    font-size: 15px;
    font-weight: 800;
    margin: 18px 0 7px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    display: block;
    width: 100%;

    padding: 14px 16px;

    border: 2px solid #eadfea;
    border-radius: 12px;

    background: #fffafc;
    color: var(--text);

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;
}

/* Input focus effect */

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--coral);
    background: var(--white);
    box-shadow: 0 0 0 5px rgba(255, 107, 97, 0.13);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #ad9eae;
}

/* Submit button */

.contact-form button {
    width: 100%;
    margin-top: 28px;
    padding: 16px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(
        110deg,
        var(--deep-purple),
        var(--wine),
        var(--coral)
    );

    color: var(--white);
    font-size: 17px;
    font-weight: 900;

    cursor: pointer;

    transition: all 0.4s ease;
}

.contact-form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(129, 45, 85, 0.3);
    letter-spacing: 1px;
}

#order-result {
    color: var(--wine);
    font-weight: 700;
    margin-top: 20px;
}


/* =====================================================
   10. CONTACT SECTION
===================================================== */

.contact-section {
    padding: 85px 7%;
    text-align: center;
    background: var(--white);
}

.contact-section > p {
    max-width: 750px;
    margin: 15px auto 35px;
    color: var(--muted);
    font-size: 17px;
}

/* Contact card headings */

.contact-section .card h3 {
    color: var(--purple);
}

/* WhatsApp area */

.whatsapp-contact {
    max-width: 750px;
    margin: 55px auto 0;
    padding: 40px 25px;

    border-radius: 28px;

    background: linear-gradient(
        130deg,
        var(--deep-purple),
        var(--wine),
        #a23c69
    );

    color: var(--white);

    box-shadow: 0 15px 35px rgba(84, 36, 95, 0.2);

    transition: transform 0.4s ease;
}

.whatsapp-contact:hover {
    transform: translateY(-7px);
}

.whatsapp-contact h3 {
    font-size: 25px;
    margin-bottom: 10px;
    color: var(--gold);
}

.whatsapp-contact p {
    color: #fff0f0;
    margin-bottom: 15px;
}

.whatsapp-btn {
    display: inline-block;
    background: #ffffff;
    color: #54245f;
    padding: 13px 25px;
    border-radius: 50px;
    font-weight: 900;
    transition: all 0.35s ease;
}

.whatsapp-btn:hover {
    background: var(--gold);
    color: var(--deep-purple);
    transform: scale(1.07);
}


/* =====================================================
   11. PRODUCT CARDS
   USE THESE ON YOUR LEARN-MORE.HTML PAGE
===================================================== */

.products-section {
    padding: 85px 6%;
    text-align: center;
    background: linear-gradient(
        135deg,
        #fff8ef,
        #f5e5f3
    );
}

.products-section h2 {
    color: var(--deep-purple);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    margin-bottom: 35px;
}

.products-container,
.product-grid {
    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(230px, 1fr)
    );

    gap: 28px;
    max-width: 1250px;
    margin: 35px auto;
}

/* Individual product card */

.product-card {
    background: var(--white);
    border-radius: 25px;
    padding: 18px;

    border: 1px solid #f0dce8;

    box-shadow: 0 10px 30px rgba(84, 36, 95, 0.11);

    overflow: hidden;
    position: relative;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.025);
    box-shadow: 0 22px 45px rgba(84, 36, 95, 0.2);
}

/* Product image */

.product-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;

    border-radius: 18px;

    transition: transform 0.65s ease;
}

.product-card:hover img {
    transform: scale(1.08);
}

/* Image wrapper */

.product-image {
    overflow: hidden;
    border-radius: 18px;
}

/* Product name */

.product-card h3 {
    color: var(--wine);
    font-size: 22px;
    font-weight: 900;
    margin: 18px 0 10px;
}

/* Product details */

.product-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Product price */

.product-card .price {
    color: var(--coral);
    font-size: 22px;
    font-weight: 900;
    margin: 12px 0;
}

/* Product order button */

.product-card .btn,
.product-card button {
    display: inline-block;
    background: linear-gradient(
        120deg,
        var(--wine),
        var(--coral),
        var(--orange)
    );

    color: var(--white);
    padding: 12px 23px;
    border: none;
    border-radius: 30px;

    font-weight: 800;
    cursor: pointer;

    transition: all 0.4s ease;
}

.product-card .btn:hover,
.product-card button:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 10px 22px rgba(129, 45, 85, 0.25);
}


/* =====================================================
   12. FOOTER
===================================================== */

.footer {
    padding: 55px 6%;
    text-align: center;

    background: linear-gradient(
        120deg,
        var(--deep-purple),
        var(--purple),
        var(--wine)
    );

    color: var(--white);
}

.footer h3 {
    color: var(--gold);
    font-size: 27px;
    font-weight: 900;
    margin-bottom: 12px;
}

.footer p {
    color: #f8e9f4;
    font-size: 14px;
    margin: 8px 0;
}


/* =====================================================
   13. ANIMATIONS
===================================================== */

@keyframes heroAppear {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-25px) rotate(15deg);
    }
}


/* =====================================================
   14. TABLET RESPONSIVENESS
===================================================== */

@media (max-width: 900px) {

    .header {
        justify-content: center;
        text-align: center;
    }

    .navbar {
        width: 100%;
        gap: 8px;
    }

    .hero {
        min-height: 550px;
        padding: 80px 5%;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =====================================================
   15. PHONE RESPONSIVENESS
===================================================== */

@media (max-width: 600px) {

    html {
        scroll-padding-top: 150px;
    }

    .header {
        padding: 15px 10px;
        gap: 12px;
    }

    .header__title {
        font-size: 23px;
    }

    .navbar {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px;
    }

    .navbar a {
        padding: 8px 11px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
        padding: 75px 20px;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content h3 {
        font-size: 18px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .about-section,
    .order-section,
    .contact-section,
    .products-section {
        padding: 60px 17px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .card {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 23px 17px;
        border-radius: 20px;
    }

    .whatsapp-contact {
        padding: 30px 18px;
    }

    .whatsapp-contact h3 {
        font-size: 21px;
    }

    .products-container,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        padding: 10px;
        border-radius: 17px;
    }

    .product-card img {
        height: 125px;
        border-radius: 12px;
    }

    .product-card h3 {
        font-size: 16px;
    }

    .product-card p {
        font-size: 12px;
    }

    .product-card .price {
        font-size: 17px;
    }

    .product-card .btn,
    .product-card button {
        padding: 9px 11px;
        font-size: 12px;
    }

    .footer {
        padding: 40px 18px;
    }
}


/* =====================================================
   16. ACCESSIBILITY: REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}
