
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Poppins:wght@300;400;500;600&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;

    background:
        linear-gradient(rgba(0, 0, 0, .75), rgba(0, 0, 0, .75)),
        url("background.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: #fff;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(0, 0, 0, .7);
}

.logo {
    color: #d62839;
    font-family: 'Cinzel', serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a:hover {
    color: #d62839;
}

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 10%;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 55px;
    color: #d62839;
    font-family: 'Cinzel', serif;
}

.hero-text h2 {
    margin: 15px 0;
}

.hero-text p {
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #d62839;
    border-radius: 5px;
}

.btn:hover {
    background: #a4161a;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #d62839;
}

section {
    padding: 80px 10%;
}

.title {
    text-align: center;
    margin-bottom: 40px;
    color: #d62839;
    font-family: 'Cinzel', serif;
}

.about {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about img {
    width: 250px;
    border-radius: 10px;
    border: 3px solid #d62839;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(20, 20, 20, .8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #444;
}

.card h3 {
    color: #d62839;
    margin-bottom: 10px;
}

.card:hover {
    border-color: #d62839;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.tech-tags span {
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid #d62839;
    border-radius: 20px;
    color: #d62839;
}

body.light .tech-tags span {
    color: #b00020;
    border-color: #b00020;
}

.intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery img {
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #d62839;
    transition: .3s;
}

.gallery img:hover {
    transform: scale(1.03);
}

.contact {
    max-width: 600px;
    margin: auto;
    background: rgba(20, 20, 20, .8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.contact p {
    margin: 10px 0;
}

footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, .8);
}

body.light {
    background:
        linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)),
        url("background.jpg");
    background-size: cover;
    background-position: center;
    color: #111;
}

body.light .navbar {
    background: rgba(255, 255, 255, .85);
}

body.light .nav-links a {
    color: #111;
}

body.light .card,
body.light .contact {
    background: rgba(255, 255, 255, .9);
    color: #111;
}

body.light .card h3,
body.light .title,
body.light .logo,
body.light .hero-text h1 {
    color: #b00020;
}

body.light .btn {
    background: #b00020;
}

body.light .btn:hover {
    background: #8b0018;
}