body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom right, #f5f5f5, #e8e8e8);
    color: #333;
}

.container {
    max-width: 950px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    animation: fadeIn 0.7s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

nav {
    background-color: #222;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: 0.25s ease;
}

nav ul li a:hover {
    color: #00c8ff;
    text-shadow: 0 0 8px rgba(0,200,255,0.8);
}

.home-title {
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
}

.home-text {
    text-align: center;
    font-size: 20px;
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}

.profile-img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 25px auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: 0.3s ease;
}

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

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

.gallery-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    border: 3px solid #00cfd1;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    transition: 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 28px rgba(0,0,0,0.28);
    border-color: #00e6e8;
}

.gallery-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #222;
    color: white;
}

body.dark {
    background: #1a1a1a;
    color: #eee;
}

body.dark .container {
    background: #2b2b2b;
}

body.dark nav {
    background: #000;
}

body.dark footer {
    background: #000;
}

body.dark .gallery-card {
    background: #222;
    border-color: #009c9e;
}

@media(max-width: 480px) {
    .home-title { font-size: 32px; }
    .home-text { font-size: 18px; padding: 0 10px; }
    nav ul { gap: 12px; }
    nav ul li a { font-size: 15px; }
}
