* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background: #0d0d0d;
    color: #fff;
}

/* NAVBAR */

.navbar {
    width: 100%;
    padding: 22px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #111;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: #e8a4b8;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: .3s;
}

nav a:hover {
    color: #e8a4b8;
}

/* HERO */

.hero {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
    radial-gradient(circle at center,
    #38202c 0%,
    #171116 45%,
    #0d0d0d 100%);
}

.hero-content {
    max-width: 750px;
    padding: 30px;
    z-index: 2;
}

.subtitle,
.section-label {
    color: #e8a4b8;
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 75px);
    font-weight: 800;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #e8a4b8;
}

.hero-text {
    color: #c9c0c5;
    line-height: 2.5;
    margin-bottom: 35px;
}

.main-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #e8a4b8;
    color: #171116;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 700;
    transition: .3s;
}

.main-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px #e8a4b850;
}

.heart {
    position: absolute;
    color: #e8a4b8;
    opacity: .08;
    font-size: 300px;
    left: 10%;
    top: 15%;
}

/* ABOUT */

.about,
.memories,
.letter {
    padding: 110px 8%;
    text-align: center;
}

.about h2,
.memories h2,
.letter h2 {
    font-size: 35px;
    margin-bottom: 50px;
}

.about-card {
    max-width: 950px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 50px;
    background: #171717;
    border: 1px solid #292329;
    padding: 30px;
    border-radius: 25px;
    text-align: right;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 18px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: #e8a4b8;
    margin-bottom: 20px;
}

.about-text p {
    color: #bbb;
    line-height: 2.5;
    margin-bottom: 15px;
}

.about-text span {
    display: inline-block;
    color: #e8a4b8;
    margin-top: 15px;
}

/* MEMORIES */

.memories {
    background: #151115;
}

.description {
    color: #aaa;
    margin-bottom: 45px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.photo {
    background: #202020;
    padding: 12px;
    border-radius: 18px;
    transition: .4s;
}

.photo:hover {
    transform: translateY(-10px);
}

.photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.photo p {
    padding: 15px;
    color: #e8a4b8;
}

/* LETTER */

.letter-box {
    max-width: 750px;
    margin: auto;
    background: linear-gradient(145deg, #251a21, #171317);
    border: 1px solid #49313d;
    padding: 50px;
    border-radius: 25px;
    line-height: 2.8;
    color: #ddd;
}

.letter-box h3 {
    color: #e8a4b8;
    margin-top: 30px;
    font-size: 19px;
}

.letter-box span {
    display: block;
    color: #e8a4b8;
    margin-top: 20px;
}

/* FOOTER */

footer {
    padding: 55px 20px;
    background: #090909;
    text-align: center;
}

footer h2 {
    color: #e8a4b8;
    margin-bottom: 15px;
}

footer p {
    color: #aaa;
    margin-bottom: 20px;
}

footer small {
    color: #666;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-card {
        flex-direction: column;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .about,
    .memories,
    .letter {
        padding: 75px 6%;
    }

    .letter-box {
        padding: 25px;
    }

}