
/* GENERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #fff9f5;
    color: #563a32;
}

a {
    text-decoration: none;
}

::selection {
    background: #d88c9b;
    color: white;
}


/* HEADER */

.header {
    width: 100%;
    min-height: 85px;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fffaf7;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 20px #58372b12;
}

.logo {
    font-family: Georgia, serif;
    font-size: 32px;
    font-weight: bold;
    color: #704338;
}

.logo span {
    color: #d78398;
}

.navbar {
    display: flex;
    gap: 32px;
}

.navbar a {
    color: #70554b;
    font-size: 14px;
    transition: .3s;
}

.navbar a:hover {
    color: #d78398;
}

.header-btn {
    background: #704338;
    color: white;
    padding: 11px 23px;
    border-radius: 30px;
    font-size: 13px;
    transition: .3s;
}

.header-btn:hover {
    background: #d78398;
}


/* HERO */

.hero {
    min-height: 590px;

    background:
        linear-gradient(90deg, #59352c88, #59352c22),
        url(images/flower-background.jpg.jpeg);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    padding: 70px 10%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    color: white;
    max-width: 550px;
    animation: appear 1.2s ease;
}

.hero-small {
    font-size: 12px;
    letter-spacing: 4px;
    color: #ffe1e5;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.8;
    margin: 18px 0;
}

.hero p {
    max-width: 420px;
    font-size: 15px;
    line-height: 2.4;
    color: #fff3ee;
}

.main-btn {
    display: inline-block;
    background: #d78398;
    color: white;
    padding: 13px 28px;
    border-radius: 30px;
    margin-top: 25px;
    font-size: 14px;
    transition: .3s;
}

.main-btn:hover {
    background: #704338;
    transform: translateY(-4px);
}

.hero-decoration {
    position: absolute;
    left: 10%;
    bottom: 30px;
    color: #ffffff55;
    font-size: 100px;
    animation: rotate 12s linear infinite;
}


/* INTRO */

.intro {
    text-align: center;
    padding: 75px 20px 45px;
}

.intro span,
.section-title span,
.about-content span,
.contact > span {
    color: #cf8192;
    letter-spacing: 3px;
    font-size: 12px;
}

.intro h2 {
    font-size: 29px;
    margin: 15px 0;
}

.intro p {
    color: #a28b80;
    font-size: 14px;
    line-height: 2;
}


/* FLOWERS */

.flowers {
    padding: 50px 8% 100px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin: 12px 0;
}

.section-title p {
    color: #a28b80;
    font-size: 14px;
}

.flower-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 23px;
}

.flower-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 25px #563a3212;
    transition: .4s;
}

.flower-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px #563a3225;
}

.flower-image {
    position: relative;
    overflow: hidden;
}

.flower-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: .5s;
}

.flower-card:hover img {
    transform: scale(1.08);
}

.flower-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff9f0dd;
    color: #704338;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.flower-info {
    padding: 23px 18px;
}

.flower-info h3 {
    font-size: 20px;
    margin-bottom: 9px;
}

.flower-info > p {
    color: #a18a80;
    font-size: 12px;
    line-height: 2;
}

.meaning {
    background: #faefeb;
    color: #805e52;
    padding: 12px;
    border-radius: 10px;
    margin: 17px 0;
    font-size: 12px;
    line-height: 2;
}

.meaning span {
    display: block;
    color: #cf8192;
    font-weight: bold;
}

.product-bottom {
    border-top: 1px solid #f0e5df;
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.product-bottom strong {
    color: #a95f6d;
    font-size: 13px;
}

.product-bottom a {
    background: #704338;
    color: white;
    padding: 9px 13px;
    border-radius: 20px;
    font-size: 11px;
    transition: .3s;
}

.product-bottom a:hover {
    background: #d78398;
}


/* BANNER */

.banner {
    margin: 20px 8% 90px;
    min-height: 320px;
    border-radius: 22px;

    background:
        linear-gradient(90deg, #59352caa, #59352c44),
        url("images/flower-background.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
    padding: 50px 8%;
    color: white;
    overflow: hidden;
}

.banner-content span {
    font-size: 11px;
    letter-spacing: 3px;
    color: #ffd6dc;
}

.banner-content h2 {
    font-size: 30px;
    margin: 15px 0;
}

.banner-content p {
    font-size: 14px;
    color: #fff0eb;
}

.banner-btn {
    display: inline-block;
    margin-top: 25px;
    background: #f3c2c9;
    color: #704338;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 13px;
    transition: .3s;
}

.banner-btn:hover {
    background: white;
    transform: translateY(-3px);
}


/* ABOUT */

.about {
    display: flex;
    align-items: center;
    gap: 70px;
    padding: 70px 10% 100px;
    background: #f8eae5;
}

.about-image {
    width: 45%;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 15px 15px 0 #d9a5a5;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 30px;
    margin: 20px 0;
    line-height: 1.8;
}

.about-content p {
    color: #8f7469;
    font-size: 14px;
    line-height: 2.8;
}


/* QUOTE */

.quote {
    background: #704338;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.quote-icon {
    color: #e7a4b2;
    font-size: 45px;
    margin-bottom: 15px;
}

.quote h2 {
    font-size: 24px;
    line-height: 2;
}

.quote p {
    color: #e7b9bd;
    margin-top: 18px;
    font-size: 13px;
}


/* CONTACT */

.contact {
    text-align: center;
    padding: 85px 20px;
}

.contact h2 {
    font-size: 30px;
    margin: 15px 0;
}

.contact p {
    color: #9c8176;
    font-size: 14px;
    line-height: 2;
}


/* FOOTER */

footer {
    background: #fff2ed;
    text-align: center;
    padding: 45px 20px 20px;
}

.footer-logo {
    font-family: Georgia, serif;
    font-size: 34px;
    color: #704338;
    margin-bottom: 12px;
}

footer > p {
    color: #967d72;
    font-size: 13px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 28px 0;
}

.footer-links a {
    color: #704338;
    font-size: 13px;
    transition: .3s;
}

.footer-links a:hover {
    color: #d78398;
}

.copyright {
    border-top: 1px solid #eadbd3;
    padding-top: 20px;
    color: #a38d82;
    font-size: 11px;
}


/* ANIMATIONS */

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* TABLET */

@media (max-width: 950px) {

    .flower-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        gap: 35px;
    }

    .navbar {
        gap: 15px;
    }

}


/* MOBILE */

@media (max-width: 600px) {

    .header {
        padding: 15px 5%;
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo {
        font-size: 25px;
    }

    .navbar {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 17px;
    }

    .navbar a {
        font-size: 11px;
    }

    .header-btn {
        font-size: 11px;
        padding: 9px 13px;
    }

    .hero {
        min-height: 480px;
        padding: 50px 7%;
        background-position: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero-decoration {
        font-size: 65px;
    }

    .intro h2 {
        font-size: 23px;
    }

    .flowers {
        padding: 35px 5% 70px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .flower-grid {
        gap: 13px;
    }

    .flower-image img {
        height: 165px;
    }

    .flower-info {
        padding: 15px 10px;
    }

    .flower-info h3 {
        font-size: 16px;
    }

    .flower-info > p {
        font-size: 11px;
    }

    .meaning {
        font-size: 10px;
        padding: 8px;
    }

    .product-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .product-bottom strong {
        font-size: 12px;
    }

    .product-bottom a {
        text-align: center;
    }

    .banner {
        margin: 10px 5% 60px;
        min-height: 300px;
        padding: 30px 7%;
    }

    .banner-content h2 {
        font-size: 23px;
    }

    .about {
        flex-direction: column;
        padding: 55px 7%;
    }

    .about-image {
        width: 100%;
    }

    .about-image img {
        height: 300px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .quote h2 {
        font-size: 19px;
    }

    .contact h2 {
        font-size: 25px;
    }

    .footer-links {
        gap: 18px;
    }

}
