Files
Portfolio/style.css
2025-12-12 01:26:44 +01:00

349 lines
6.4 KiB
CSS

/* ============================================
PORTFOLIO — AYA BEN MABROUK
Thème girly professionnel : rose poudré + blanc
============================================ */
:root {
--rose-light: #f8e9ef;
--rose: #e7c4cf;
--rose-gold: #d7a9a3;
--rose-dark: #b07d84;
--white: #ffffff;
--text: #3a3a3a;
--muted: #6b6b6b;
--radius: 16px;
--shadow: 0 8px 24px rgba(0,0,0,0.08);
--shadow-light: 0 4px 16px rgba(0,0,0,0.05);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
/* ============================================
GLOBAL
============================================ */
body {
background: var(--rose-light);
color: var(--text);
line-height: 1.6;
}
h2 {
text-align: center;
margin-bottom: 2rem;
font-size: 2rem;
color: var(--rose-dark);
font-weight: 700;
}
section {
padding: 4rem 8%;
}
/* ============================================
HEADER
============================================ */
.main-header {
background: linear-gradient(135deg, var(--rose), var(--rose-gold));
color: var(--white);
padding: 1.5rem 8%;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: var(--shadow);
}
.logo {
display: flex;
align-items: center;
gap: 1rem;
}
.logo-abm {
background: var(--white);
color: var(--rose-dark);
padding: 0.6rem 1rem;
border-radius: var(--radius);
font-size: 1.4rem;
font-weight: 700;
}
.logo-info {
display: flex;
flex-direction: column;
}
.logo-subtitle {
font-size: 0.85rem;
opacity: 0.9;
}
.main-nav a {
color: var(--white);
text-decoration: none;
font-weight: 600;
margin-left: 1rem;
transition: 0.2s;
}
.main-nav a:hover {
opacity: 0.7;
}
/* ============================================
HERO SECTION
============================================ */
.hero {
display: flex;
justify-content: space-between;
align-items: center;
gap: 3rem;
}
.hero-content h1 {
font-size: 2.4rem;
color: var(--rose-dark);
}
.hero-description {
max-width: 500px;
color: var(--muted);
margin: 1rem 0;
}
.hero-actions {
margin-top: 1rem;
display: flex;
gap: 1rem;
}
.btn {
padding: 0.9rem 1.4rem;
border-radius: var(--radius);
text-decoration: none;
font-weight: 600;
display: inline-block;
}
.btn-project {
background: var(--rose-gold);
color: var(--white);
}
.btn-contact {
background: var(--white);
border: 2px solid var(--rose-gold);
color: var(--rose-dark);
}
.hero-profile-card {
background: var(--white);
width: 220px;
height: 220px;
border-radius: 50%;
box-shadow: var(--shadow);
display: flex;
align-items: center;
justify-content: center;
}
.profile-placeholder {
background: linear-gradient(135deg, var(--rose), var(--rose-gold));
width: 180px;
height: 180px;
border-radius: 50%;
color: var(--white);
font-size: 3rem;
display: flex;
justify-content: center;
align-items: center;
}
/* ============================================
ABOUT
============================================ */
.about-details-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
}
.about-bio {
font-size: 1rem;
color: var(--muted);
}
.social-links a {
font-size: 2rem;
margin-right: 1rem;
}
/* ============================================
SKILLS
============================================ */
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
}
.skill-card {
background: var(--white);
padding: 1.2rem;
border-radius: var(--radius);
box-shadow: var(--shadow-light);
text-align: center;
}
.skill-card i {
font-size: 2.6rem;
margin-bottom: 0.4rem;
}
/* ============================================
PROJECTS
============================================ */
.project-card {
background: var(--white);
padding: 2rem;
border-radius: var(--radius);
box-shadow: var(--shadow);
max-width: 750px;
margin: auto;
}
.project-card h3 {
font-size: 1.6rem;
color: var(--rose-dark);
}
.project-preview {
width: 100%;
border-radius: var(--radius);
margin: 1.2rem 0;
}
.project-card ul {
margin: 1rem 0 1.5rem;
}
.project-actions {
margin-top: 1rem;
}
.project-btn {
background: var(--rose-dark);
color: var(--white);
padding: 0.8rem 1.4rem;
border-radius: var(--radius);
text-decoration: none;
font-weight: 600;
}
/* ============================================
EXPERIENCE
============================================ */
.experience-card {
background: var(--white);
padding: 2rem;
border-radius: var(--radius);
box-shadow: var(--shadow);
max-width: 800px;
margin: auto;
}
.experience-card h3 {
color: var(--rose-dark);
}
/* ============================================
TIMELINE
============================================ */
.timeline {
border-left: 3px solid var(--rose-dark);
padding-left: 2rem;
}
.timeline-item {
position: relative;
margin-bottom: 2rem;
}
.timeline-dot {
width: 14px;
height: 14px;
background: var(--rose-dark);
border-radius: 50%;
position: absolute;
left: -29px;
top: 5px;
}
/* ============================================
CONTACT
============================================ */
.contact-links {
text-align: center;
margin-bottom: 2rem;
}
.contact-btn {
background: var(--rose-dark);
color: var(--white);
padding: 0.8rem 1.4rem;
border-radius: var(--radius);
text-decoration: none;
margin: 0 0.5rem;
}
.form-container {
max-width: 600px;
margin: auto;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 1rem;
border-radius: var(--radius);
border: 1px solid var(--rose);
margin-bottom: 1rem;
}
.submit-btn {
background: var(--rose-gold);
border: none;
color: var(--white);
padding: 0.8rem 1.4rem;
border-radius: var(--radius);
cursor: pointer;
font-weight: 600;
}
/* ============================================
FOOTER
============================================ */
footer {
text-align: center;
padding: 2rem;
background: var(--rose-dark);
color: var(--white);
margin-top: 3rem;
}