/* =====================================================
   SOFT COQUETTE PORTFOLIO
   Amira Elhaq
===================================================== */

:root {
    --pink-soft: #f8e4eb;
    --pink-light: #fff5f8;
    --pink-pale: #fff9fb;
    --pink-medium: #e5b6c6;
    --pink-dark: #b96f89;
    --rose: #9d5b72;

    --cream: #fffaf7;
    --white: #ffffff;

    --text-dark: #49383e;
    --text-medium: #715d64;
    --text-light: #9a828a;

    --border: #ecd5dd;

    --shadow: rgba(163, 93, 119, 0.12);
}


/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   COQUETTE DECORATION
===================================================== */

body::before {
    content: "♡ ୨୧ ♡ ୨୧ ♡";
    position: fixed;

    top: 120px;
    left: -35px;

    font-family: "Playfair Display", serif;
    font-size: 18px;

    letter-spacing: 8px;

    color: var(--pink-medium);

    opacity: 0.35;

    transform: rotate(-90deg);

    z-index: -1;

    pointer-events: none;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: rgba(255, 250, 247, 0.90);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(229, 182, 198, 0.45);
}

.nav-container {
    width: min(1150px, 90%);

    margin: auto;

    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* Logo */

.logo {
    position: relative;

    font-family: "Playfair Display", serif;

    font-size: 25px;
    font-weight: 700;

    letter-spacing: 1px;
}

.logo::before {
    content: "୨୧";

    position: absolute;

    top: -17px;
    right: -18px;

    font-size: 12px;

    color: var(--pink-dark);
}

.logo span {
    color: var(--pink-dark);
}


/* Navigation */

.nav-menu {
    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-menu a {
    position: relative;

    font-size: 13px;
    font-weight: 500;

    color: var(--text-medium);

    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "♡";

    position: absolute;

    left: 50%;
    bottom: -17px;

    transform: translateX(-50%);

    font-size: 9px;

    color: var(--pink-dark);

    opacity: 0;

    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    color: var(--pink-dark);
}

.nav-menu a:hover::after {
    opacity: 1;
}


/* Mobile button */

.menu-toggle {
    display: none;

    border: none;

    background: none;

    font-size: 24px;

    color: var(--text-dark);

    cursor: pointer;
}


/* =====================================================
   HERO
===================================================== */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 130px 0 90px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(236, 192, 205, 0.40),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffaf7 0%,
            #fff1f5 55%,
            #fbe9ef 100%
        );
}


/* Large soft circle */

.hero::before {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    right: -150px;
    top: 100px;

    border-radius: 50%;

    background: rgba(224, 169, 184, 0.16);

    filter: blur(3px);
}


/* Sparkles */

.hero::after {
    content: "✦  ♡";

    position: absolute;

    right: 13%;
    top: 22%;

    font-family: "Playfair Display", serif;

    font-size: 28px;

    letter-spacing: 12px;

    color: var(--pink-dark);

    opacity: 0.65;
}


.hero-container {
    width: min(1150px, 90%);

    margin: auto;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 80px;

    align-items: center;

    position: relative;

    z-index: 2;
}


/* =====================================================
   HERO TEXT
===================================================== */

.small-title {
    position: relative;

    display: inline-block;

    margin-bottom: 18px;

    font-size: 11px;

    letter-spacing: 4px;

    color: var(--pink-dark);

    font-weight: 700;
}

.small-title::after {
    content: " ୨୧";

    font-size: 13px;

    letter-spacing: 0;

    color: var(--pink-medium);
}


.hero h1 {
    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 6vw, 76px);

    line-height: 1.05;

    font-weight: 600;

    color: var(--text-dark);

    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--pink-dark);
}


/* Small bow under name */

.hero h1::after {
    content: "──── ୨୧ ────";

    display: block;

    margin-top: 18px;

    font-family: "DM Sans", sans-serif;

    font-size: 11px;

    letter-spacing: 2px;

    color: var(--pink-medium);
}


.hero-class {
    font-size: 14px;

    color: var(--text-light);

    margin-bottom: 20px;
}

.motto {
    max-width: 570px;

    font-family: "Playfair Display", serif;

    font-size: 18px;

    font-style: italic;

    line-height: 1.7;

    color: var(--text-medium);

    margin-bottom: 35px;
}


/* Button */

.main-button {
    position: relative;

    display: inline-flex;

    align-items: center;

    padding: 13px 24px;

    border-radius: 30px;

    background: var(--pink-dark);

    color: white;

    font-size: 13px;
    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(185, 111, 137, 0.18);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.main-button::before {
    content: "♡";

    margin-right: 8px;

    font-size: 12px;
}

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

    box-shadow:
        0 15px 30px rgba(185, 111, 137, 0.28);
}


/* =====================================================
   HERO IMAGE
===================================================== */

.hero-image {
    position: relative;

    display: flex;

    justify-content: center;
}

.image-frame {
    position: relative;

    width: min(390px, 100%);

    aspect-ratio: 4 / 5;

    padding: 12px;

    background: white;

    border: 1px solid var(--border);

    box-shadow:
        0 25px 50px var(--shadow);

    transform: rotate(2deg);

    z-index: 2;
}

.image-frame::before {
    content: "♡";

    position: absolute;

    top: -18px;
    left: -18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff;

    border: 1px solid var(--pink-medium);

    color: var(--pink-dark);

    font-size: 16px;

    z-index: 4;
}

.image-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* Decorative frame */

.image-decoration {
    position: absolute;

    width: min(390px, 100%);

    aspect-ratio: 4 / 5;

    border: 1px solid var(--pink-medium);

    transform: rotate(-5deg);

    top: 15px;
    right: 0;

    z-index: 1;
}

.image-decoration::after {
    content: "୨୧";

    position: absolute;

    right: -15px;
    bottom: 20px;

    font-size: 27px;

    color: var(--pink-dark);
}


/* =====================================================
   GENERAL SECTION
===================================================== */

.section {
    position: relative;

    padding: 120px 0;

    overflow: hidden;
}

.section-container {
    width: min(1100px, 90%);

    margin: auto;
}


/* Heading */

.section-heading {
    margin-bottom: 60px;
}

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

.section-number {
    margin-bottom: 8px;

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 700;

    color: var(--pink-dark);
}

.section-number::before {
    content: "୨୧ ";

    letter-spacing: 0;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;

    font-size: clamp(34px, 4vw, 50px);

    line-height: 1.2;

    font-weight: 600;

    color: var(--text-dark);
}

.section-heading h2::after {
    content: " ♡";

    color: var(--pink-medium);

    font-size: 25px;
}

.section-description {
    max-width: 500px;

    margin: 15px auto 0;

    font-size: 14px;

    color: var(--text-light);
}


/* =====================================================
   ABOUT
===================================================== */

.about-content {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: start;
}

.about-intro {
    position: relative;

    padding: 35px;

    background: var(--pink-light);

    border: 1px solid var(--border);

    border-radius: 4px 25px 25px 25px;

    box-shadow:
        8px 8px 0 rgba(229, 182, 198, 0.22);
}

.about-intro::before {
    content: "🎀";

    position: absolute;

    top: -18px;
    right: 20px;

    font-size: 30px;
}

.about-intro p {
    font-family: "Playfair Display", serif;

    font-size: 22px;

    line-height: 1.7;

    color: var(--text-dark);
}

.about-highlight {
    margin-top: 25px;

    font-size: 17px !important;

    font-style: italic;

    color: var(--pink-dark) !important;
}

.about-text p {
    margin-bottom: 22px;

    font-size: 15px;

    line-height: 1.9;

    color: var(--text-medium);
}


/* =====================================================
   SKILLS
===================================================== */

.skills-section {
    background:
        linear-gradient(
            180deg,
            #fff2f6,
            #fff8fa
        );
}

.skills-grid {
    display: grid;

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

    gap: 22px;
}

.skill-card {
    position: relative;

    padding: 35px;

    background: rgba(255, 255, 255, 0.88);

    border: 1px solid var(--border);

    border-radius: 5px 22px 22px 22px;

    box-shadow:
        5px 5px 0 rgba(229, 182, 198, 0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.skill-card::before {
    content: "♡";

    position: absolute;

    top: 15px;
    right: 20px;

    color: var(--pink-medium);

    font-size: 14px;
}

.skill-card:hover {
    transform: translateY(-7px);

    box-shadow:
        8px 12px 30px var(--shadow);
}

.skill-icon {
    font-size: 30px;

    margin-bottom: 20px;
}

.skill-card h3 {
    font-family: "Playfair Display", serif;

    font-size: 23px;

    margin-bottom: 12px;

    color: var(--text-dark);
}

.skill-card p {
    font-size: 14px;

    line-height: 1.8;

    color: var(--text-medium);
}


/* =====================================================
   EXPERIENCE
===================================================== */

.timeline {
    position: relative;

    max-width: 850px;

    margin: auto;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 8px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: var(--pink-medium);
}

.timeline-item {
    position: relative;

    padding-left: 55px;

    margin-bottom: 55px;
}

.timeline-dot {
    position: absolute;

    left: -1px;
    top: 4px;

    width: 19px;
    height: 19px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: white;

    border: 1px solid var(--pink-dark);

    box-shadow:
        0 0 0 5px #fff4f7;
}

.timeline-dot::after {
    content: "♡";

    font-size: 8px;

    color: var(--pink-dark);
}

.timeline-content {
    position: relative;

    padding: 30px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 5px 20px 20px 20px;

    box-shadow:
        0 10px 30px rgba(140, 82, 103, 0.05);
}

.timeline-content::before {
    content: "୨୧";

    position: absolute;

    top: 15px;
    right: 20px;

    color: var(--pink-medium);

    font-size: 15px;
}

.timeline-content span {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;

    color: var(--pink-dark);
}

.timeline-content h3 {
    font-family: "Playfair Display", serif;

    font-size: 24px;

    margin-bottom: 12px;

    color: var(--text-dark);
}

.timeline-content p {
    font-size: 14px;

    line-height: 1.8;

    color: var(--text-medium);
}


/* =====================================================
   FUTURE
===================================================== */

.future-section {
    background:
        linear-gradient(
            135deg,
            #fff8fa 0%,
            #fceef3 50%,
            #fff9fb 100%
        );
}

.future-intro {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: 0 auto 55px;
}

.future-intro p {
    color: var(--text-medium);

    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 18px;
}


/* =====================================================
   UNIVERSITY
===================================================== */

.university-card {
    position: relative;

    z-index: 2;

    max-width: 1050px;

    margin: 0 auto 65px;

    background: white;

    border: 1px solid var(--border);

    box-shadow:
        0 20px 50px rgba(153, 91, 113, 0.10);

    border-radius: 5px 25px 25px 25px;

    overflow: hidden;
}


/* Small bow */

.university-card::before {
    content: "🎀";

    position: absolute;

    z-index: 5;

    top: 20px;
    right: 25px;

    font-size: 28px;

    filter: drop-shadow(
        0 3px 5px rgba(0, 0, 0, 0.10)
    );
}


/* Image */

.university-image {
    position: relative;

    height: 420px;

    overflow: hidden;
}

.university-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.university-card:hover .university-image img {
    transform: scale(1.04);
}


/* Overlay */

.image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(78, 42, 55, 0.68),
            rgba(78, 42, 55, 0.04)
        );
}


/* Label */

.university-label {
    position: absolute;

    left: 40px;
    bottom: 35px;

    color: white;
}

.university-label span {
    font-size: 10px;

    letter-spacing: 3px;

    opacity: 0.85;
}

.university-label h3 {
    margin: 8px 0 3px;

    font-family: "Playfair Display", serif;

    font-size: 34px;

    font-weight: 600;
}

.university-label p {
    font-size: 14px;

    letter-spacing: 1px;
}


/* Note */

.university-note {
    display: flex;

    align-items: center;

    gap: 25px;

    padding: 25px 35px;

    background: #fffafb;
}

.note-number {
    font-family: "Playfair Display", serif;

    font-size: 22px;

    color: var(--pink-dark);
}

.note-number::before {
    content: "♡ ";

    font-size: 15px;
}

.university-note p {
    max-width: 650px;

    font-family: "Playfair Display", serif;

    font-style: italic;

    font-size: 17px;

    color: var(--text-medium);
}


/* =====================================================
   FUTURE CARDS
===================================================== */

.future-grid {
    position: relative;

    z-index: 2;

    max-width: 1050px;

    margin: 0 auto;

    display: grid;

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

    gap: 22px;
}

.future-card {
    position: relative;

    padding: 35px 30px;

    min-height: 240px;

    background: rgba(255, 255, 255, 0.88);

    border: 1px solid var(--border);

    border-radius: 5px 22px 22px 22px;

    box-shadow:
        5px 5px 0 rgba(229, 182, 198, 0.10);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.future-card::after {
    content: "♡";

    position: absolute;

    right: 20px;
    bottom: 15px;

    color: var(--pink-medium);

    font-size: 13px;
}

.future-card:hover {
    transform: translateY(-8px);

    box-shadow:
        8px 15px 35px rgba(153, 91, 113, 0.12);
}

.future-card.featured {
    background: #f9e7ed;

    border-color: #e3c2cd;
}


/* Number */

.future-label {
    position: absolute;

    top: 20px;
    right: 25px;

    font-size: 11px;

    letter-spacing: 1px;

    color: var(--pink-dark);
}


/* Icon */

.future-icon {
    margin-bottom: 25px;

    font-size: 28px;
}


/* Title */

.future-card h3 {
    margin-bottom: 15px;

    font-family: "Playfair Display", serif;

    font-size: 22px;

    font-weight: 600;

    color: #815465;
}


/* Description */

.future-card p {
    color: var(--text-medium);

    font-size: 14px;

    line-height: 1.8;
}


/* =====================================================
   FUTURE DECORATIONS
===================================================== */

.future-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.decoration-one {
    width: 280px;
    height: 280px;

    top: 80px;
    right: -100px;

    background: rgba(224, 169, 184, 0.18);
}

.decoration-two {
    width: 180px;
    height: 180px;

    bottom: 100px;
    left: -70px;

    background: rgba(244, 201, 214, 0.30);
}

.future-sparkle {
    position: absolute;

    color: var(--pink-dark);

    font-family: "Playfair Display", serif;

    pointer-events: none;
}

.sparkle-one {
    top: 170px;
    right: 12%;

    font-size: 28px;

    transform: rotate(15deg);
}

.sparkle-two {
    bottom: 180px;
    left: 10%;

    font-size: 22px;

    transform: rotate(-15deg);
}


/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    background: #fff3f6;
}

.contact-box {
    position: relative;

    max-width: 850px;

    margin: auto;

    padding: 70px 50px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #fffafa,
            #fceaf0
        );

    border: 1px solid var(--border);

    border-radius: 5px 30px 30px 30px;

    overflow: hidden;

    box-shadow:
        0 20px 50px var(--shadow);
}

.contact-box::before {
    content: "🎀";

    position: absolute;

    top: 25px;
    right: 35px;

    font-size: 25px;
}

.contact-box::after {
    content: "♡ ୨୧ ♡";

    position: absolute;

    bottom: 15px;
    left: 30px;

    color: var(--pink-medium);

    letter-spacing: 6px;

    font-size: 12px;
}

.contact-box h2 {
    font-family: "Playfair Display", serif;

    font-size: 45px;

    margin-bottom: 15px;
}

.contact-box > p:not(.section-number) {
    max-width: 600px;

    margin: 0 auto 35px;

    color: var(--text-medium);

    font-size: 14px;
}


/* Contact Links */

.contact-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}

.contact-links a {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    min-width: 150px;

    padding: 14px 20px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    color: var(--text-dark);

    font-size: 13px;

    box-shadow:
        3px 3px 0 rgba(229, 182, 198, 0.15);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.contact-links a:hover {
    transform: translateY(-4px);

    background: var(--pink-soft);
}

.contact-links span {
    font-size: 11px;

    color: var(--pink-dark);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    position: relative;

    padding: 30px 20px;

    text-align: center;

    background: #4b3940;

    color: #eadde1;

    font-size: 12px;
}

footer::before {
    content: "୨୧  ─────  ♡  ─────  ୨୧";

    display: block;

    margin-bottom: 10px;

    color: var(--pink-medium);

    letter-spacing: 2px;
}


/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 900px) {

    .nav-menu {
        gap: 18px;
    }

    .hero-container {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 60px;
    }

    .hero-text {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero-image {
        order: 2;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .future-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   RESPONSIVE MOBILE
===================================================== */

@media (max-width: 650px) {

    .nav-container {
        height: 68px;
    }

    .nav-menu {
        display: none;

        position: absolute;

        top: 68px;
        left: 5%;

        width: 90%;

        padding: 20px;

        flex-direction: column;

        gap: 18px;

        background: white;

        border: 1px solid var(--border);

        border-radius: 15px;

        box-shadow:
            0 15px 35px var(--shadow);
    }

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

    .menu-toggle {
        display: block;
    }


    /* Hero */

    .hero {
        padding-top: 120px;
    }

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

    .hero h1::after {
        font-size: 9px;

        letter-spacing: 1px;
    }

    .motto {
        font-size: 16px;
    }

    .image-frame,
    .image-decoration {
        width: 280px;
    }


    /* Sections */

    .section {
        padding: 85px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }


    /* About */

    .about-intro {
        padding: 25px;
    }

    .about-intro p {
        font-size: 19px;
    }

    .about-highlight {
        font-size: 16px !important;
    }


    /* Skills */

    .skill-card {
        padding: 28px;
    }


    /* Timeline */

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-content {
        padding: 23px;
    }

    .timeline-content h3 {
        font-size: 21px;
    }


    /* University */

    .university-image {
        height: 270px;
    }

    .university-label {
        left: 25px;
        bottom: 25px;
    }

    .university-label span {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .university-label h3 {
        font-size: 24px;
    }

    .university-note {
        padding: 20px;
        gap: 15px;
    }

    .university-note p {
        font-size: 14px;
    }


    /* Contact */

    .contact-box {
        padding: 50px 25px;
    }

    .contact-box h2 {
        font-size: 36px;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-links a {
        width: 100%;
    }


    /* Decorations */

    .future-decoration {
        opacity: 0.5;
    }
}
/* =====================================================
   FLOATING COQUETTE DECORATIONS
===================================================== */

.floating-bow {
    position: fixed;

    z-index: 5;

    pointer-events: none;

    user-select: none;

    opacity: 0.55;

    animation:
        floatBow 6s ease-in-out infinite;
}


/* Bow 1 */

.bow-one {
    top: 18%;

    left: 5%;

    font-size: 22px;

    animation-delay: 0s;
}


/* Bow 2 */

.bow-two {
    top: 65%;

    right: 5%;

    font-size: 20px;

    animation-delay: 2s;
}


/* Ribbon */

.bow-three {
    top: 38%;

    right: 8%;

    font-family: "Playfair Display", serif;

    font-size: 22px;

    color: var(--pink-dark);

    animation-delay: 1s;
}


/* Heart */

.bow-four {
    bottom: 15%;

    left: 8%;

    font-family: "Playfair Display", serif;

    font-size: 20px;

    color: var(--pink-dark);

    animation-delay: 3s;
}


/* Floating animation */

@keyframes floatBow {

    0% {
        transform:
            translateY(0)
            rotate(-5deg);
    }

    50% {
        transform:
            translateY(-15px)
            rotate(5deg);
    }

    100% {
        transform:
            translateY(0)
            rotate(-5deg);
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .floating-bow {
        opacity: 0.3;
    }

    .bow-one {
        left: 3%;
        font-size: 17px;
    }

    .bow-two {
        right: 3%;
        font-size: 16px;
    }

    .bow-three {
        right: 4%;
        font-size: 17px;
    }

    .bow-four {
        left: 4%;
        font-size: 16px;
    }
}