/* =========================================
   RIMAS AL-SHUAIBI
   PERSONAL PORTFOLIO
   Main Stylesheet
========================================= */


/* =========================================
   01. ROOT & GLOBAL VARIABLES
========================================= */

:root {
    --shell: #F9E8E0;
    --coral: #E78790;
    --fuchsia: #F06490;
    --burgundy: #833830;

    --white: #FFFFFF;
    --black: #241C1C;
    --dark: #332625;
    --gray: #786D6A;
    --light-gray: #E8DCD7;

    --background: #FFFAF7;
    --surface: #FFFFFF;

    --font-arabic: "Tajawal", sans-serif;
    --font-english: "DM Sans", sans-serif;
    --font-display: "Playfair Display", serif;

    --transition: all 0.35s ease;

    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 28px;

    --container-width: 1200px;
}


/* =========================================
   02. RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--background);
    color: var(--dark);
    font-family: var(--font-arabic);
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

body,
button,
input,
textarea {
    font-family: var(--font-arabic);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--coral);
    color: var(--white);
}

.container {
    width: min(90%, var(--container-width));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
    position: relative;
}


/* =========================================
   03. TYPOGRAPHY
========================================= */

h1,
h2,
h3,
h4 {
    line-height: 1.35;
    font-weight: 700;
}

h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--burgundy);
}

p {
    color: var(--gray);
}


/* =========================================
   04. NAVIGATION BAR
========================================= */

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 250, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(131, 56, 48, 0.08);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 700;
    color: var(--burgundy);
    direction: ltr;
}

.logo span,
.footer-logo span {
    color: var(--fuchsia);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -7px;
    inset-inline-start: 0;
    width: 0;
    height: 2px;
    background: var(--fuchsia);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-links a:hover::after {
    width: 100%;
}

.language-toggle {
    background: var(--shell);
    color: var(--burgundy);
    padding: 9px 17px;
    border-radius: 30px;
    font-family: var(--font-english);
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.language-toggle:hover {
    background: var(--burgundy);
    color: var(--white);
}

.menu-toggle {
    display: none;
    background: transparent;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 5px;
}


/* =========================================
   05. HERO SECTION
========================================= */

.hero {
    min-height: 760px;
    background: var(--shell);
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
    flex: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    padding: 7px 18px;
    border: 1px solid rgba(131, 56, 48, 0.25);
    border-radius: 30px;
    color: var(--burgundy);
    font-size: 14px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(48px, 6.5vw, 82px);
    line-height: 1.25;
    color: var(--burgundy);
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.highlight-text {
    display: block;
    color: var(--fuchsia);
}

.hero-description {
    max-width: 530px;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 25px;
    color: #6E5550;
}

.hero-name {
    font-family: var(--font-display);
    font-size: 23px;
    color: var(--burgundy);
    direction: ltr;
    text-align: start;
    margin-bottom: 4px;
}

.hero-role {
    font-family: var(--font-english);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--gray);
    direction: ltr;
    text-align: start;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--fuchsia);
    transform: translateY(-4px);
}

.btn-outline {
    border: 1px solid var(--burgundy);
    color: var(--burgundy);
    background: transparent;
}

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
}

.hero-social {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 35px;
    font-family: var(--font-english);
    font-size: 13px;
    color: var(--burgundy);
    direction: ltr;
    justify-content: flex-start;
}

.hero-social a {
    transition: var(--transition);
}

.hero-social a:hover {
    color: var(--fuchsia);
}

.social-divider {
    color: var(--coral);
}


/* Hero Artwork */

.hero-artwork {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin-inline: auto;
    direction: ltr;
}

.hero-artwork-frame {
    height: 480px;
    background: var(--coral);
    border-radius: 48% 48% 8px 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.artwork-circle {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: var(--burgundy);
    position: absolute;
    opacity: 0.9;
    transition: transform 0.7s ease;
}

.hero-artwork-frame:hover .artwork-circle {
    transform: scale(1.12) rotate(15deg);
}

.artwork-text {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 2px;
    text-align: center;
}

.artwork-number {
    position: absolute;
    bottom: 25px;
    right: 25px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 20px;
}

.artwork-caption {
    display: block;
    text-align: center;
    margin-top: 17px;
    color: var(--burgundy);
    font-family: var(--font-english);
    font-size: 11px;
    letter-spacing: 4px;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    color: var(--burgundy);
    font-size: 12px;
}

.scroll-indicator {
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: var(--fuchsia);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decoration-one {
    width: 140px;
    height: 140px;
    background: rgba(240, 100, 144, 0.12);
    top: 5%;
    left: -50px;
}

.decoration-two {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(131, 56, 48, 0.2);
    bottom: 15%;
    right: 5%;
}


/* =========================================
   06. SECTION HEADINGS
========================================= */

.section-heading {
    margin-bottom: 55px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-english);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--fuchsia);
    margin-bottom: 14px;
    direction: ltr;
}

.section-heading h2 {
    margin-bottom: 15px;
}

.section-heading > p {
    max-width: 600px;
    font-size: 16px;
    line-height: 2;
}


/* =========================================
   07. ABOUT SECTION
========================================= */

.about {
    background: var(--background);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 90px;
    align-items: start;
}

.about-intro h3 {
    color: var(--burgundy);
    font-size: 29px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-intro p {
    font-size: 16px;
    line-height: 2.2;
    white-space: pre-line;
}

.about-details {
    border-top: 1px solid var(--light-gray);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item span {
    font-size: 12px;
    color: var(--fuchsia);
    font-weight: 600;
}

.detail-item strong {
    font-size: 15px;
    color: var(--dark);
    overflow-wrap: anywhere;
}

.detail-item:nth-child(2) strong,
.detail-item:nth-child(4) strong {
    font-family: var(--font-english);
    direction: ltr;
    text-align: start;
    font-size: 13px;
}


/* =========================================
   08. JOURNEY SECTION
========================================= */

.journey {
    background: var(--shell);
}

.journey-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.journey-card {
    background: var(--surface);
    padding: 35px 30px;
    border-radius: var(--radius-medium);
    border-top: 4px solid var(--coral);
    transition: var(--transition);
}

.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(131, 56, 48, 0.08);
    border-top-color: var(--fuchsia);
}

.journey-period {
    display: inline-block;
    color: var(--fuchsia);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.journey-card h3 {
    font-size: 23px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.journey-card p {
    font-size: 14px;
    line-height: 2.1;
}


/* =========================================
   09. EDUCATION SECTION
========================================= */

.education {
    background: var(--background);
}

.education-card {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 40px;
    background: var(--surface);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-large);
    transition: var(--transition);
}

.education-card:hover {
    border-color: var(--coral);
    transform: translateY(-4px);
}

.education-icon {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background: var(--shell);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-family: var(--font-english);
    font-weight: 700;
    font-size: 19px;
}

.education-info > span:first-child {
    font-size: 13px;
    color: var(--fuchsia);
    font-weight: 700;
}

.education-info h3 {
    color: var(--burgundy);
    font-size: 25px;
    margin: 8px 0;
}

.education-info p {
    font-size: 15px;
    margin-bottom: 12px;
}

.graduation-date {
    display: inline-block;
    padding: 5px 13px;
    background: var(--shell);
    color: var(--burgundy);
    border-radius: 30px;
    font-size: 12px;
}


/* =========================================
   10. SKILLS SECTION
========================================= */

.skills {
    background: var(--shell);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.skill-category {
    background: var(--surface);
    padding: 30px;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(131, 56, 48, 0.08);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(131, 56, 48, 0.06);
}

.skill-category h3 {
    color: var(--burgundy);
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-english);
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    direction: ltr;
}

.skill-level {
    font-family: var(--font-arabic);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 30px;
    white-space: nowrap;
}

.advanced {
    color: #713B35;
    background: #F9E8E0;
}

.intermediate {
    color: #A24A63;
    background: #FCE4EC;
}

.beginner {
    color: #A65C54;
    background: #F5E7E3;
}


/* =========================================
   11. PROJECTS SECTION
========================================= */

.projects {
    background: var(--background);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(131, 56, 48, 0.08);
}

.project-image {
    height: 280px;
    background: var(--shell);
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-number {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    background: var(--burgundy);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-english);
    font-size: 12px;
}

.project-info {
    padding: 30px;
}

.project-type {
    font-family: var(--font-english);
    font-size: 11px;
    letter-spacing: 1px;
    color: var(--fuchsia);
    text-transform: uppercase;
}

.project-info h3 {
    font-size: 27px;
    color: var(--burgundy);
    margin: 10px 0;
}

.project-info p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    direction: ltr;
    justify-content: flex-end;
}

.project-tags span {
    background: var(--shell);
    color: var(--burgundy);
    padding: 5px 12px;
    border-radius: 20px;
    font-family: var(--font-english);
    font-size: 11px;
}

.project-link {
    display: inline-block;
    color: var(--burgundy);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid var(--coral);
    padding-bottom: 4px;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--fuchsia);
    border-color: var(--fuchsia);
}

.project-status {
    display: inline-block;
    color: var(--burgundy);
    background: var(--shell);
    padding: 6px 13px;
    border-radius: 20px;
    font-size: 12px;
}


/* =========================================
   12. BRANDS SECTION
========================================= */

.brands {
    background: var(--shell);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.brand-card {
    background: var(--surface);
    border-radius: var(--radius-large);
    overflow: hidden;
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(131, 56, 48, 0.09);
}

.brand-cover {
    height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--coral);
}

.moudar-card .brand-cover {
    background: #EBC7B8;
}

.rimiko-card .brand-cover {
    background: #DDE5D0;
}

.brand-cover img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.brand-index {
    position: absolute;
    top: 20px;
    inset-inline-start: 20px;
    font-family: var(--font-display);
    color: rgba(131, 56, 48, 0.65);
    font-size: 25px;
}

.brand-content {
    padding: 30px;
}

.brand-category {
    font-family: var(--font-english);
    font-size: 11px;
    color: var(--fuchsia);
    letter-spacing: 1px;
}

.brand-content h3 {
    color: var(--burgundy);
    font-size: 27px;
    margin: 10px 0;
}

.brand-content > p {
    font-size: 14px;
    line-height: 2.1;
    margin-bottom: 25px;
}

.brand-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.brand-gallery img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: var(--radius-small);
    background: var(--shell);
    transition: var(--transition);
}

.brand-gallery img:hover {
    transform: scale(1.03);
}

.brand-gallery-three {
    grid-template-columns: repeat(3, 1fr);
}

.brand-gallery-three img {
    height: 125px;
}

.brand-socials {
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-family: var(--font-english);
    font-size: 12px;
    color: var(--gray);
}

.social-handle {
    color: var(--burgundy);
    font-size: 16px;
    font-weight: 700;
}


/* =========================================
   13. VOLUNTEERING SECTION
========================================= */

.volunteering {
    background: var(--background);
}

.volunteer-card {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 45px;
    background: var(--surface);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-large);
}

.volunteer-mark {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--shell);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--burgundy);
    font-family: var(--font-english);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
}

.volunteer-info h3 {
    font-size: 25px;
    color: var(--burgundy);
    margin-bottom: 15px;
}

.volunteer-info p {
    font-size: 15px;
    line-height: 2.1;
    margin-bottom: 15px;
}

.volunteer-location {
    color: var(--fuchsia);
    font-size: 12px;
    font-weight: 600;
}


/* =========================================
   14. INTERESTS SECTION
========================================= */

.interests {
    background: var(--burgundy);
    overflow: hidden;
}

.interests .section-label {
    color: var(--coral);
}

.interests .section-heading h2 {
    color: var(--white);
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.interests-list span {
    padding: 13px 25px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    border-radius: 50px;
    font-size: 15px;
    transition: var(--transition);
}

.interests-list span:hover {
    background: var(--fuchsia);
    border-color: var(--fuchsia);
    transform: translateY(-4px);
}


/* =========================================
   15. CONTACT SECTION
========================================= */

.contact {
    background: var(--shell);
    text-align: center;
}

.contact-content {
    max-width: 850px;
    margin: auto;
}

.contact-content h2 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.5;
    margin-bottom: 20px;
}

.contact-content > p {
    font-size: 16px;
    margin-bottom: 45px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-link {
    background: var(--surface);
    padding: 20px 25px;
    border-radius: var(--radius-medium);
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
    transition: var(--transition);
}

.contact-link:hover {
    background: var(--burgundy);
    transform: translateY(-5px);
}

.contact-link > span:last-child {
    font-family: var(--font-english);
    font-size: 13px;
    color: var(--burgundy);
    direction: ltr;
}

.contact-link:hover > span {
    color: var(--white);
}

.contact-label {
    font-size: 12px;
    color: var(--fuchsia);
    font-weight: 700;
}


/* =========================================
   16. FOOTER
========================================= */

.site-footer {
    background: var(--background);
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--burgundy);
}

.footer-content p {
    font-family: var(--font-english);
    font-size: 12px;
    color: var(--gray);
    direction: ltr;
}

.back-to-top {
    font-size: 13px;
    color: var(--burgundy);
    font-weight: 600;
    transition: var(--transition);
}

.back-to-top:hover {
    color: var(--fuchsia);
}


/* =========================================
   17. ENGLISH LANGUAGE SUPPORT
========================================= */

html[lang="en"] body {
    font-family: var(--font-english);
    direction: ltr;
}

html[lang="en"] .hero-title,
html[lang="en"] .about-intro h3,
html[lang="en"] .journey-card h3,
html[lang="en"] .education-info h3,
html[lang="en"] .skill-category h3,
html[lang="en"] .project-info h3,
html[lang="en"] .brand-content h3,
html[lang="en"] .volunteer-info h3 {
    font-family: var(--font-display);
}

html[lang="en"] .hero-description,
html[lang="en"] .about-intro p,
html[lang="en"] .journey-card p,
html[lang="en"] .project-info p,
html[lang="en"] .brand-content > p,
html[lang="en"] .volunteer-info p {
    font-family: var(--font-english);
}

html[lang="en"] .hero-title {
    letter-spacing: -2px;
}

html[lang="en"] .hero-name {
    text-align: left;
}

html[lang="en"] .hero-role {
    text-align: left;
}

html[lang="en"] .hero-social {
    justify-content: flex-start;
}

html[lang="en"] .project-tags {
    justify-content: flex-start;
}

html[lang="en"] .hero-bottom {
    direction: ltr;
}

html[lang="en"] .section-label {
    text-align: left;
}


/* =========================================
   18. ACCESSIBILITY & FOCUS
========================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--fuchsia);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* =========================================
   END OF MAIN STYLESHEET
========================================= */