/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f0f10;
    color: #ffffff;
    line-height: 1.6;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(15, 15, 16, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #999;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
        url('assets/images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    width: 100%;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 22px;
    color: #cccccc;
    max-width: 800px;
    margin: auto;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}

.btn-primary {
    background: white;
    color: black;
}

.btn-primary:hover {
    background: #dddddd;
}

.btn-secondary {
    border: 1px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

/* SECTIONS */
.section {
    padding: 100px 0;
}

.section-dark {
    background: #151517;
}

.section h2 {
    font-size: 42px;
    margin-bottom: 25px;
    text-align: center;
}

.section p {
    color: #cccccc;
    max-width: 850px;
    margin: auto;
    text-align: center;
    font-size: 18px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* CARD */
.card {
    background: #1d1d20;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 35px;
    border-radius: 20px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.12);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.card p {
    text-align: left;
    margin: 0;
}

/* PORTFOLIO */
.portfolio-item {
    background: #1a1a1d;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.portfolio-item img {
    width: 100%;
    display: block;
}

.portfolio-content {
    padding: 25px;
}

/* CONTACT */
.contact-box {
    background: #1b1b1e;
    padding: 40px;
    border-radius: 24px;
    margin-top: 50px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input,
textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #111;
    color: white;
    font-size: 16px;
}

textarea {
    min-height: 180px;
    resize: vertical;
}

button {
    cursor: pointer;
    border: none;
}

/* FOOTER */
footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 40px 0;
    text-align: center;
    background: #0b0b0c;
}

footer p {
    color: #888;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 12px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* LEGAL PAGES */
.legal-page {
    padding: 120px 0;
}

.legal-page h1 {
    font-size: 48px;
    margin-bottom: 40px;
}

.legal-page h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 28px;
}

.legal-page p,
.legal-page li {
    color: #cccccc;
    margin-bottom: 15px;
}

.legal-page ul {
    padding-left: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
    }

    .section h2 {
        font-size: 34px;
    }
}

.hero-small {
    min-height: 35vh;
    padding: 120px 20px 60px;
}

.hero-small h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero-small p {
    font-size: 18px;
}

.cta-contact-bubble {
    display: inline-flex;
    margin-top: 35px;
    background: white;
    padding: 18px 28px;
    border-radius: 999px;
    box-shadow: 0 0 30px rgba(255,255,255,0.08);
}

.cta-contact-bubble a {
    color: black;
    text-decoration: none;
    font-weight: 600;
}

.portfolio-text {
    padding: 22px;
    background: rgba(255,255,255,0.03);
}

.portfolio-text h3 {
    font-size: 18px;
    line-height: 1.5;
    color: white;
}