/* styles.css */

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f4;
    color: #090909;
}

header {
    background: linear-gradient(45deg, #ff6b6b, #f94d6d);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5em;
    margin: 0;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 107, 107, 0.2);
    color: #2e73e0;
}

.hamburger {
    display: none;
    font-size: 2em;
    cursor: pointer;
}

section {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.about,
.contact {
    text-align: center;
}

.about p,
.contact form {
    max-width: 600px;
    margin: 20px auto;
}

.gallery .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery .grid-item .item {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, border 0.3s;
}

.gallery .grid-item .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #f9f9f9;
    border: 1px solid #d0d0d0;
}

.gallery .grid-item .item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    cursor: pointer;
}

.gallery .grid-item .item p {
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    transition: all 0.3s ease;
}

.gallery .grid-item .item p:hover {
    color: #ea1616;
    background: #f9f9f9;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact label {
    text-align: left;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
}

.contact button {
    padding: 10px;
    background: #ff6b6b;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.contact button:hover {
    background: #f94d6d;
}

footer {
    background: #ff6b6b;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    position: relative;
}

footer .social-media {
    margin-top: 10px;
}

footer .social-media a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s;
}

footer .social-media a:hover {
    color: #2e73e0;
}

.heart {
    color: red;
    font-size: x-large;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 700px;
    width: 80%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbbbbb;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}
