* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
    background-color: #121212;
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s ease;
}

/* HEADER (копирани стилове за съвпадение) */
.head {
    background: linear-gradient(90deg, #2e2e2e, #3c3c3c);
    color: white;
    display: flex;
    padding: 20px 20px;
    justify-content: space-around;
    font-size: 0.95rem;
}

.head i {
    color: #c7b26a;
    margin-right: 10px;
}

.head a:hover {
    color: #d6c07e;
}

.head {
    border-bottom: 10px solid black;
}

.phone-head {
    font-size: 20px;
}

.main-head {
    background: #1e1e1e;
    color: white;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
    border-bottom: 1px solid #3a3a3a;
}

.logo-head img {
    width: 100px;
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.6));
}

.nav-menu nav {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: center;
}

.nav-menu nav a {
    position: relative;
    color: #dcdcdc;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-menu nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #c7b26a;
    transition: width 0.3s ease;
}

.nav-menu nav a:hover {
    color: #c7b26a;
}

.nav-menu nav a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #2b2b2b;
    min-width: 220px;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.5);
    z-index: 10;
    flex-direction: column;
    border-radius: 12px;
    top: 100%;
    text-align: center;
}

.dropdown-content a {
    color: white;
    padding: 14px;
    border-bottom: 1px solid #3a3a3a;
}

.dropdown-content a:hover {
    background: #383838;
    color: #c7b26a;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

/* --- ГАЛЕРИЯ --- */

.gallery-section {
    padding: 60px 30px;
    text-align: center;
}

.gallery-section h1 {
    color: #c7b26a;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.gallery-intro {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e4e4e4;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(199, 178, 106, 0.3);
    transition: 0.3s ease
}

.gallery-item:hover {
    transform: scale(1.06);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-item img:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* --- FOOTER --- */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding-top: 40px;
    text-align: center;
    border-top: 1px solid #333;
}

.nav-menu-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    padding-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-menu-footer nav a {
    color: #aaa;
}

.nav-menu-footer nav a:hover {
    color: #c7b26a;
}

.footer-facebook i {
    font-size: 1.8rem;
    color: #c7b26a;
    transition: 0.3s;
}

.footer-facebook i:hover {
    color: #d9c47f;
    transform: scale(1.1);
}

.rights {
    font-size: 0.85rem;
    padding: 20px;
    color: #777;
}

/* --- RESPONSIVE DESIGN FOR GALLERY PAGE --- */

/* TABLETS & SMALL LAPTOPS (max-width: 1285px) */
@media (max-width: 1285px) {
    .main-head {
        padding: 15px 30px;
    }

    .nav-menu nav a {
        font-size: 1rem;
    }

    .gallery-section h1 {
        font-size: 2.2rem;
    }

    .gallery-intro {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .gallery-container {
        gap: 20px;
    }
}

/* MOBILE & SMALL LAPTOPS (max-width: 1170px) */
@media (max-width: 1170px) {

    /* ---- HEADER ---- */
    .head {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        font-size: 0.85rem;
        padding: 10px 5px;
    }

    .phone-head {
        font-size: 1rem;
    }

    .main-head {
        flex-direction: column;
        padding: 10px 20px;
        gap: 10px;
    }

    .logo-head img {
        width: 85px;
    }

    /* ---- NAVIGATION ---- */
    .nav-menu nav {
        flex-direction: column;
        gap: 20px;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        min-width: unset;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown:active .dropdown-content,
    .dropdown.open .dropdown-content {
        display: flex;
    }

    /* GALLERY */
    .gallery-section {
        padding: 40px 20px;
    }

    .gallery-section h1 {
        font-size: 2rem;
    }

    .gallery-intro {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .gallery-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

     /* ---- FOOTER ---- */
    .main-footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-menu-footer nav {
        flex-direction: column;
        gap: 8px;
    }
}

/* SMALL MOBILE (max-width: 480px) */
@media (max-width: 480px) {

    .logo-head img {
        width: 70px;
    }

    .gallery-section h1 {
        font-size: 1.6rem;
    }

    .gallery-intro {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-item img {
        height: auto;
    }

    .head, .main-head {
        font-size: 0.8rem;
    }

    .phone-head {
        font-size: 0.95rem;
    }
}