* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #0d0f17;
    color: #ffffff;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 40px;      /* poți modifica mărimea */
    width: auto;
    object-fit: contain;
}

.logo img {
    height: 55px;
}

.logo {
    font-size: 24px;
    font-weight: 600;
}

nav a {
    margin-left: 20px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}
nav a:hover { color: #ffca58; }

/* HERO */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero h1 { font-size: 50px; }
.hero p { margin-top: 10px; opacity: .7; }

.btn {
    padding: 12px 30px;
    background: #ffca58;
    color: #000;
    border-radius: 6px;
    margin-top: 25px;
    text-decoration: none;
    font-weight: 600;
}

/* SERVICES */
.services {
    padding: 60px;
    text-align: center;
}
.service-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
}
.card {
    padding: 25px;
    background: #161b27;
    border-radius: 10px;
    transition: .3s;
}
.card:hover { transform: translateY(-5px); }

/* GALLERY */
.gallery {
    padding: 60px;
}
.gallery h1 {
    text-align: center;
    margin-bottom: 40px;
}
.gallery img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.grid img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

/* ABOUT */
.about {
    padding: 60px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}
.profile {
    width: 300px;
    border-radius: 10px;
}
.about-text {
    max-width: 600px;
}

/* CONTACT */
.contact {
    padding: 60px;
    text-align: center;
}
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #161b27;
    color: #fff;
}
.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #ffca58;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.socials {
    margin-top: 30px;
}
.socials a {
    margin: 0 10px;
    color: #ffca58;
}

/* ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.7s ease;
}
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
.portfolio-section {
    margin-top: 60px;
}

.portfolio-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-grid img,
.portfolio-grid iframe {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-box video {
    width: 100%;
    height: 180px;       /* înalțimea video-ului (poți schimba) */
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.portfolio-footer {
    background: #0f131b;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
    font-family: Arial, sans-serif;
}

.portfolio-footer h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-links, .footer-socials {
    margin: 10px 0;
}

.footer-links a, .footer-socials a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: #fff;
}
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;   /* împinge footerul jos */
}