/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #0a0a0a;
    color: white;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.header {
    background: black;
    border-bottom: 1px solid red;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: red;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover {
    color: red;
}

/* HERO */
.hero {
    height: 100vh;
    background: url("https://via.placeholder.com/1200x800") center/cover no-repeat;
    position: relative;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.hero-content {
    position: relative;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.profile-img {
    border-radius: 50%;
    border: 3px solid red;
    margin-bottom: 15px;
}

.tagline {
    margin: 10px 0;
    color: #ccc;
}

/* BUTTON */
.btn {
    background: red;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: white;
    color: red;
}

/* ABOUT */
.about {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about img {
    width: 100%;
    border-radius: 10px;
}

/* PORTFOLIO */
.portfolio {
    padding: 60px 0;
    background: #111;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background: black;
    padding: 15px;
    border: 1px solid #222;
    transition: 0.3s;
    text-align: center;
}

.card img {
    width: 100%;
    margin-bottom: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card:hover img {
    transform: scale(1.05);
}

/* SKILLS */
.skills {
    padding: 60px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-box {
    background: #111;
    padding: 20px;
    text-align: center;
    border: 1px solid red;
    transition: 0.3s;
}

.skill-box:hover {
    background: red;
}

/* GALLERY */
.gallery {
    padding: 60px 0;
    background: #111;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery img {
    width: 100%;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* CONTACT */
.contact {
    padding: 60px 0;
    text-align: center;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: black;
    border-top: 1px solid red;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-grid,
    .card-grid,
    .skills-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        flex-direction: column;
    }
}