/*
Theme Name: رسالة الأمل - Landing Page
Theme URI: https://example.com/
Author: Message Alamal
Description: قالب WordPress لصفحة هبوط تيشرت رسالة الأمل.
Version: 1.0.0
Text Domain: message-alamal
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", Arial, sans-serif;
    background: #f7f0e4;
    color: #171411;
    line-height: 1.8;
}

a {
    text-decoration: none;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}


/* TOP BAR */

.top-bar {
    background: #111;
    color: white;
    text-align: center;
    padding: 9px;
    font-size: 13px;
    font-weight: 800;
}


/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 240, 228, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e6d9c4;
}

.nav-content {
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 21px;
    font-weight: 900;
}

.logo span {
    color: #c79622;
}

.nav-button {
    background: #111;
    color: white;
    padding: 9px 19px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 900;
}


/* HERO */

.hero {
    padding: 40px 0 75px;

    background:
    radial-gradient(
        circle at 80% 10%,
        rgba(199,150,34,.18),
        transparent 27%
    ),

    radial-gradient(
        circle at 10% 70%,
        rgba(199,150,34,.12),
        transparent 30%
    );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #fff6df;
    border: 1px solid #dfc889;
    color: #795914;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 65px);
    line-height: 1.12;
    margin: 17px 0;
    font-weight: 900;
}

.hero h1 span {
    color: #c79622;
    display: block;
}

.hero-description {
    color: #554b42;
    font-size: 18px;
    margin-bottom: 22px;
}

.features-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 20px 0;
}

.features-mini div {
    background: white;
    border: 1px solid #e7dac5;
    padding: 10px;
    border-radius: 13px;
    font-size: 13px;
}


.price {
    margin: 18px 0;
}

.new-price {
    color: #c79622;
    font-size: 40px;
    font-weight: 900;
}

.old-price {
    margin-right: 12px;
    color: #918577;
    text-decoration: line-through;
}


.main-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    background: #c79622;
    color: #111;

    padding: 15px 25px;

    border-radius: 14px;

    font-weight: 900;
    font-size: 16px;

    box-shadow: 0 12px 30px rgba(199,150,34,.25);

    transition: .25s;
}

.main-button:hover {
    transform: translateY(-3px);
}

.small-text {
    margin-top: 10px;
    color: #75695d;
    font-size: 11px;
    font-weight: 700;
}


/* HERO IMAGE */

.hero-image-box {
    position: relative;

    background: #fffaf2;

    padding: 15px;

    border: 1px solid #e7dac5;

    border-radius: 32px;

    box-shadow:
        0 20px 60px rgba(49,34,15,.13);
}

.hero-image-box img {
    width: 100%;
    display: block;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 23px;
}

.special-badge {
    position: absolute;

    top: 28px;
    left: 28px;

    width: 82px;
    height: 82px;

    display: grid;
    place-items: center;

    text-align: center;

    background: #111;
    color: white;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;

    line-height: 1.4;

    transform: rotate(-8deg);

    z-index: 2;
}


/* GENERAL SECTION */

.section {
    padding: 80px 0;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 40px;

    text-align: center;
}

.section-title h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.25;
    font-weight: 900;

    margin-bottom: 10px;
}

.section-title p {
    color: #6b5e50;
}


/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    background: white;
    border: 1px solid #e7dac5;

    border-radius: 22px;

    padding: 28px;
}

.card-icon {
    font-size: 30px;
}

.card h3 {
    margin: 9px 0;
    font-size: 20px;
}

.card p {
    color: #6b5e50;
    font-size: 14px;
}


/* STORY */

.story-section {
    padding: 80px 0;

    background: #111;

    color: white;
}

.story-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    align-items: center;
}

.story-image {
    padding: 12px;

    background: #e8d6b5;

    border-radius: 25px;
}

.story-image img {
    width: 100%;

    display: block;

    border-radius: 18px;
}

.story-content {
    padding: 30px;
}

.story-content h2 {
    font-size: 36px;
    line-height: 1.35;

    margin-bottom: 18px;
}

.story-content p {
    color: #d0c6ba;

    margin-bottom: 25px;
}


/* BEIGE */

.beige {
    background: #eee2d0;
}


/* REASONS */

.reasons {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.reason {
    background: white;

    border: 1px solid #e7dac5;

    border-radius: 20px;

    padding: 22px;
}

.reason strong {
    display: block;

    font-size: 17px;

    margin-bottom: 5px;
}

.reason span {
    color: #6b5e50;

    font-size: 13px;
}


/* OFFER */

.offer-section {
    padding: 80px 0;
}

.offer {
    background:
        linear-gradient(
            135deg,
            #15130f,
            #342919
        );

    color: white;

    border-radius: 32px;

    padding: 42px;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 30px;

    align-items: center;

    box-shadow:
        0 20px 60px rgba(49,34,15,.13);
}

.offer h2 {
    font-size: 42px;

    line-height: 1.25;

    margin-bottom: 8px;
}

.offer p {
    color: #d8ccbc;
}

.offer-price {
    font-size: 43px;

    color: #e1b64b;

    font-weight: 900;

    margin-bottom: 10px;
}


/* ORDER */

.order-section {
    padding: 80px 0;

    background: #fffaf2;
}

.order-box {
    max-width: 780px;

    margin: auto;

    background: white;

    border: 1px solid #e7dac5;

    border-radius: 28px;

    padding: 30px;

    box-shadow:
        0 20px 60px rgba(49,34,15,.13);
}

.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.form-group label {
    display: block;

    font-size: 12px;

    font-weight: 900;
}

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    margin-top: 5px;

    padding: 13px;

    border: 1px solid #dacdb8;

    border-radius: 12px;

    background: #fffdf8;

    font-family: inherit;

    font-size: 14px;

    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: #c79622;
}

.full {
    grid-column: 1 / -1;
}

.order-summary {

    background: #faf2e3;

    border: 1px dashed #d7bf8d;

    border-radius: 15px;

    padding: 14px;

    margin: 18px 0;

    font-size: 13px;
}

.whatsapp-button {

    width: 100%;

    border: none;

    cursor: pointer;

    background: #20c763;

    color: white;

    padding: 16px;

    border-radius: 14px;

    font-family: inherit;

    font-size: 16px;

    font-weight: 900;

    transition: .25s;
}

.whatsapp-button:hover {
    transform: translateY(-2px);
}

.form-note {
    text-align: center;

    font-size: 11px;

    color: #75695d;

    margin-top: 10px;
}


/* FOOTER */

footer {

    background: #0d0c0b;

    color: #cfc5b8;

    text-align: center;

    padding: 30px;

    font-size: 12px;
}


/* FLOATING BUTTON */

.floating-button {

    position: fixed;

    left: 16px;

    bottom: 17px;

    z-index: 999;

    background: #20c763;

    color: white;

    border-radius: 50px;

    padding: 12px 18px;

    font-size: 13px;

    font-weight: 900;

    box-shadow:
        0 12px 30px rgba(0,0,0,.22);
}


/* MOBILE */

@media (max-width: 850px) {

    .hero-grid,
    .story-grid {

        grid-template-columns: 1fr;

    }

    .cards {

        grid-template-columns: 1fr;

    }

    .reasons {

        grid-template-columns: 1fr 1fr;

    }

    .offer {

        grid-template-columns: 1fr;

        padding: 30px;
    }

}


@media (max-width: 520px) {

    .features-mini {

        grid-template-columns: 1fr;

    }

    .reasons {

        grid-template-columns: 1fr;

    }

    .form-grid {

        grid-template-columns: 1fr;

    }

    .full {

        grid-column: auto;
    }

    .hero {

        padding-top: 25px;
    }

    .hero h1 {

        font-size: 40px;
    }

    .section,
    .story-section,
    .offer-section,
    .order-section {

        padding: 55px 0;
    }

}