:root {
    --bg-light: #fcfaf8;
    --card-bg: #FFFFFF;
    --primary-text: #3D2B1F; 
    --secondary-text: #6B5E54;
    --accent-color: #B8860B; 
    --highlight: #E6D5C3; 
    --soft-rose: #F2E3DB; 
    --shadow: 0 20px 40px rgba(61, 43, 31, 0.08);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--bg-light);
    color: var(--primary-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
}

.reveal.active {
    animation: fadeInUp 1s ease-out forwards;
}

/* Header */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #fff;
    padding: 80px 0;
}

header::after {
    content: "";
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    background: var(--soft-rose);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

header .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 10;
}

@media (min-width: 992px) {
    header .container {
        flex-direction: row;
        align-items: center;
    }
}

.hero-content {
    flex: 1.2;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-content { text-align: left; }
}

.pre-title {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 10vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 500px;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .hero-subtitle { margin-left: 0; }
}

.hero-image-wrapper {
    flex: 1;
    width: 100%;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 200px 200px 20px 20px;
    box-shadow: 20px 20px 80px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-label {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 4rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .skills-grid { grid-template-columns: repeat(3, 1fr); }
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--soft-rose);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(61,43,31,0.9), transparent);
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Buttons */
.btn-primary {
    padding: 18px 40px;
    background: var(--primary-text);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid var(--primary-text);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-text);
}

footer {
    padding: 80px 0;
    text-align: center;
    background: #fff;
    color: var(--secondary-text);
}
