* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #2a2a2a;
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

header {
    text-align: center;
    padding: 40px 20px;
    background-color: #1e1e1e;
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
}

h1 {
    color: #d4d4d4;
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
}

.tagline {
    color: #a5a5a5;
    font-size: 1.2rem;
    font-style: italic;
}

.content-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;
}

.about-box {
    flex: 1;
    min-width: 300px;
    background-color: #333;
    padding: 25px;
    border: 1px solid #444;
}

h2 {
    color: #d4d4d4;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
    text-align: center;
}

.motto {
    font-style: italic;
    color: #a5a5a5;
    text-align: center;
    margin-top: 10px;
    font-size: 1.1rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #c2c2c2;
    margin-bottom: 15px;
}

.highlight {
    color: #fff;
    font-weight: 500;
}

.hobbies-section {
    flex: 1;
    min-width: 300px;
}

.hobby-card {
    background-color: #333;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #444;
}

.hobby-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hobby-title i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #a5a5a5;
}

.hobby-title h3 {
    font-size: 1.3rem;
    color: #d0d0d0;
}

.hobby-text {
    font-size: 1rem;
    color: #b0b0b0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    position: relative;
    border: 1px solid #444;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background-color: #3a3a3a;
    color: #d0d0d0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #555;
}

.custom-button:hover {
    background-color: #4a4a4a;
    color: #fff;
}

.custom-button i {
    margin-right: 10px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1e1e1e;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #888;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: #aaa;
    font-size: 1.3rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ddd;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .content-section {
        flex-direction: column;
    }
    
    .about-box, .hobbies-section {
        min-width: 100%;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}