:root {
    --primary-color: #2d3436;
    --accent-color: #0984e3;
    --text-light: #f5f6fa;
    --text-dark: #2d3436;
    --bg-light: #f1f2f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
}

header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
                url('IMG_2035.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: white;
    display: flex;
    flex-direction: column;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 10%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: background 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; }
.hero p { font-size: 1.5rem; margin-bottom: 2rem; }

.btn {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover { background: #0773c5; }

.container { padding: 5rem 10%; }

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text { flex: 3; }
.about-image { flex: 1; min-width: 200px; max-width: 280px; }
.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.bg-light { background: var(--bg-light); text-align: center; }

.hobby-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.hobby-card {
    width: calc(33.333% - 1.34rem);
    min-width: 280px;
}

.hobby-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.hobby-card:hover { transform: translateY(-10px); }

.photo-stack {
    position: relative;
    height: 200px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.photo-stack a {
    position: absolute;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.photo-stack a:first-child {
    top: 0;
    left: 10px;
    right: 10px;
    z-index: 3;
}

.photo-stack a:nth-child(2) {
    top: 8px;
    left: 0;
    right: 20px;
    z-index: 2;
    transform: rotate(-3deg);
}

.photo-stack a:nth-child(3) {
    top: 12px;
    left: 20px;
    right: 0;
    z-index: 1;
    transform: rotate(2deg);
}

.photo-stack img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hobby-card:hover .photo-stack a:nth-child(2) {
    transform: rotate(-5deg) translateX(-5px);
}

.hobby-card:hover .photo-stack a:nth-child(3) {
    transform: rotate(4deg) translateX(5px);
}

.hobby-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.hobby-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.2rem;
    background: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.3s;
}

.hobby-link:hover { background: #cc0000; }
.hobby-link i { font-size: 1rem; color: white; margin-bottom: 0; margin-right: 4px; }

.section-subtitle {
    color: #636e72;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
}

.skill-category {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: calc(33.333% - 1.34rem);
    min-width: 280px;
}

.skill-category i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.skill-category h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dfe6e9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row input {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.form-status.success { color: #00b894; }
.form-status.error { color: #d63031; }

footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem;
    text-align: center;
}

.socials { margin-top: 1rem; font-size: 1.5rem; }
.socials a { color: white; margin: 0 10px; }

@media (max-width: 768px) {
    .about-content { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
    .form-row { flex-direction: column; gap: 0; }
}