
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --cream: #F7F5EF;
    --white: #FFFFFF;
    --sage: #E8EBDD;
    --green: #526B55;
    --dark-green: #243B30;
    --gold: #B89A62;
    --gold-light: #D8C59E;
    --text: #35483A;
    --muted: #7C8278;
}

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

body {
    background: var(--cream);
    color: var(--text);
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* NAVBAR */

.navbar {
    height: 85px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid #B89A6230;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
}

.logo {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--dark-green);
}

.logo-icon {
    color: var(--gold);
    font-size: 30px;
}

.logo-dot,
.footer-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 12px;
    color: var(--text);
    transition: .3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-button {
    border: 1px solid var(--gold);
    color: var(--green);
    padding: 12px 20px;
    font-size: 11px;
    transition: .3s;
}

.nav-button:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 25px;
    color: var(--green);
}

/* HERO */

.hero {
    min-height: 690px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 9%;
    background: #F1F0E8;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(247,245,239,.96),
            rgba(247,245,239,.88),
            rgba(247,245,239,.65)
        ),
        url('images/mosque.jpg') center/cover no-repeat;
}

.hero-container {
    max-width: 1250px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.eyebrow {
    color: #9B8050;
    font-size: 10px;
    letter-spacing: 3px;
}

.arabic-title {
    font-family: 'Amiri', serif;
    color: var(--green);
    font-size: 44px;
    margin-top: 22px;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(58px, 7vw, 88px);
    font-weight: 500;
    line-height: 1;
    color: var(--dark-green);
    margin-top: 12px;
}

.hero h1 span {
    color: var(--gold);
    font-style: italic;
}

.hero-description {
    max-width: 480px;
    color: var(--muted);
    font-size: 13px;
    line-height: 2.1;
    margin: 27px 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.primary-button {
    background: var(--green);
    color: white;
    padding: 15px 25px;
    border: 1px solid var(--green);
    font-size: 12px;
    transition: .3s;
}

.primary-button:hover {
    background: var(--dark-green);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px #526B5530;
}

.secondary-button {
    color: var(--green);
    font-size: 12px;
    border-bottom: 1px solid var(--gold);
    padding: 12px 0;
}

.hero-footer {
    margin-top: 65px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
}

.hero-footer span {
    color: var(--gold);
}

.line {
    width: 55px;
    height: 1px;
    background: var(--gold);
}

/* HERO DECORATIVE CARD */

.hero-card {
    width: 340px;
    height: 430px;
    margin: auto;
    padding: 12px;
    border: 1px solid var(--gold);
    background: #B89A6210;
    transform: rotate(2deg);
    transition: .5s;
}

.hero-card:hover {
    transform: rotate(0deg) translateY(-8px);
}

.card-border {
    height: 100%;
    border: 1px solid #B89A6260;
    background: linear-gradient(145deg, #E8EBDD, #FAF8F1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    text-align: center;
}

.crescent {
    font-size: 65px;
    color: var(--gold);
    margin-bottom: 20px;
    animation: float 4s infinite ease-in-out;
}

.card-arabic {
    font-family: 'Amiri', serif;
    color: var(--green);
    font-size: 23px;
}

.gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 20px;
}

.card-border h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 46px;
    line-height: 1.05;
    font-weight: 500;
    color: var(--dark-green);
}

.card-border h2 span {
    color: var(--gold);
    font-style: italic;
}

.card-caption {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--muted);
    margin-top: 25px;
}

.card-decoration {
    position: absolute;
    bottom: 20px;
    color: var(--gold);
}

/* GENERAL SECTIONS */

.section {
    padding: 105px 9%;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5vw, 55px);
    color: var(--dark-green);
    font-weight: 500;
    margin: 13px 0;
}

.section-heading h2 span {
    color: var(--gold);
    font-style: italic;
}

.section-heading p {
    color: var(--muted);
    font-size: 12px;
}

/* REMINDERS */

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

.reminder-card {
    position: relative;
    background: var(--white);
    padding: 38px 30px;
    min-height: 260px;
    border: 1px solid #B89A6235;
    transition: .4s;
    box-shadow: 0 8px 25px #243B3008;
}

.reminder-card:hover {
    transform: translateY(-9px);
    border-color: var(--gold);
    box-shadow: 0 15px 35px #243B3015;
}

.card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sage);
    color: var(--green);
    font-size: 27px;
    margin-bottom: 25px;
}

.card-label {
    color: var(--gold);
    font-size: 9px;
    letter-spacing: 3px;
}

.reminder-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    color: var(--dark-green);
    margin: 13px 0;
}

.reminder-card p {
    font-size: 11px;
    color: var(--muted);
    line-height: 2;
}

.card-star {
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: var(--gold);
    font-size: 25px;
}

/* DUAS */

.dua-section {
    background: var(--sage);
    border-top: 1px solid #B89A6225;
    border-bottom: 1px solid #B89A6225;
}

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

.dua-card {
    background: #FFFDF9;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid #B89A6240;
    transition: .4s;
    box-shadow: 0 8px 25px #243B3008;
}

.dua-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.dua-icon {
    color: var(--gold);
    font-size: 27px;
}

.dua-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 27px;
    margin: 15px 0 20px;
    color: var(--dark-green);
}

.dua-arabic {
    font-family: 'Amiri', serif;
    font-size: 24px;
    color: var(--green);
    line-height: 2;
    margin-bottom: 15px;
}

.dua-meaning {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
    min-height: 65px;
}

.dua-reference {
    display: block;
    font-size: 9px;
    letter-spacing: 1px;
    color: #9B8050;
    margin: 18px 0;
}

.copy-button {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--green);
    padding: 11px 22px;
    font-size: 11px;
    transition: .3s;
}

.copy-button:hover {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

/* QURAN QUOTE */

.quran-quote {
    text-align: center;
    max-width: 850px;
    margin: 85px auto 0;
    padding: 50px 20px;
    border-top: 1px solid #B89A6260;
    border-bottom: 1px solid #B89A6260;
}

.quote-arabic {
    font-family: 'Amiri', serif;
    font-size: 42px;
    color: var(--green);
    margin: 25px 0;
}

.quran-quote h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 500;
    color: var(--dark-green);
}

.quran-quote > p:last-child {
    color: #9B8050;
    font-size: 11px;
    margin-top: 18px;
}

/* TASBEEH */

.tasbeeh-section {
    text-align: center;
}

.tasbeeh-box {
    max-width: 480px;
    margin: auto;
    padding: 45px 25px;
    background: white;
    border: 1px solid #B89A6260;
    box-shadow: 0 12px 35px #243B3010;
}

.tasbeeh-title {
    font-size: 10px;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.tasbeeh-circle {
    width: 220px;
    height: 220px;
    margin: auto;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px #B89A6218;
}

.tasbeeh-circle span {
    font-size: 55px;
    color: var(--green);
    font-weight: 500;
}

.tasbeeh-circle p {
    font-size: 12px;
    color: var(--muted);
}

.tasbeeh-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 35px 0;
}

.small-button,
.count-button {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

.small-button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    background: white;
    color: var(--green);
    font-size: 25px;
}

.count-button {
    width: 75px;
    height: 75px;
    background: var(--green);
    color: white;
    border: none;
    font-size: 35px;
}

.small-button:hover,
.count-button:hover {
    transform: scale(1.1);
}

.tasbeeh-note {
    font-size: 11px;
    color: var(--muted);
}

/* FOOTER */

.footer {
    background: var(--dark-green);
    color: white;
    padding: 70px 20px 30px;
    text-align: center;
}

.footer-logo {
    font-size: 26px;
    letter-spacing: 4px;
    font-weight: 600;
}

.footer-logo span {
    color: var(--gold-light);
}

.footer > p {
    max-width: 440px;
    margin: 22px auto;
    color: #D0D7CC;
    font-size: 12px;
    line-height: 2;
}

.footer h3 {
    font-family: 'Amiri', serif;
    font-size: 33px;
    color: var(--gold-light);
    margin: 25px 0;
}

.footer-line {
    width: 75px;
    height: 1px;
    background: var(--gold);
    margin: 25px auto;
}

.footer-credit {
    color: #D8C59E !important;
}

.footer small {
    color: #C1CBBF;
    font-size: 10px;
}

/* TOAST */

.toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--dark-green);
    color: white;
    padding: 15px 24px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .3s;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ANIMATION */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* RESPONSIVE */

@media(max-width: 950px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        gap: 18px;
    }

    .hero-container {
        gap: 25px;
    }

    .hero-card {
        width: 290px;
        height: 390px;
    }

    .hero h1 {
        font-size: 65px;
    }

    .reminder-grid,
    .dua-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 700px) {

    .navbar {
        height: 75px;
        padding: 0 5%;
    }

    .menu-toggle {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        padding: 25px;
        background: white;
        flex-direction: column;
        border-bottom: 1px solid #B89A6230;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 65px 6%;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: auto;
    }

    .hero h1 {
        font-size: 58px;
    }

    .hero-description {
        margin: 25px auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-footer {
        justify-content: center;
        margin-top: 40px;
    }

    .hero-card {
        margin-top: 25px;
    }

    .section {
        padding: 75px 6%;
    }

    .reminder-grid,
    .dua-grid {
        grid-template-columns: 1fr;
    }

    .quote-arabic {
        font-size: 34px;
    }

    .quran-quote h3 {
        font-size: 24px;
    }
}

@media(prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}
