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

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #90e2d1;
    --dark-color: #2f2f2f;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    background-color: var(--light-bg);
    color: var(--dark-color);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

.hero {
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    margin: 20px auto 40px auto;
    max-width: 900px;
    max-height: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero:hover .hero-img {
    transform: scale(1.1);
}

.hero figcaption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--light-bg);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark-color);

}

.my-smile,
.pisici {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 40px 0;
}

#blog-roll {
    padding: 40px 0;
}

.text-center {
    text-align: center;
    margin-bottom: 20px;
}

.blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.blog-link,
header nav a {
    background: #eee;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: 0.3s;
    border: 1px solid transparent;
}

.blog-link:hover header nav a:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

header {
    background: #fff;
    border-bottom: 3px solid var(--primary-color);
    padding: 1rem 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    margin-top: 10px;
}

header nav ul li {
    display: inline-block;
    padding: 5px 10px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.video {
    width: 100%;
    height: 250px;
    margin-top: 20px;
}

.btn {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.text-center,
a {
    text-align: center;
    margin-bottom: 20px;
}

.blog-link:hover,
a:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

@media (min-width: 768px) {
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .video {
        height: 400px;
    }
}