/* ===========================
   General styles
   =========================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

h2,
h3,
h4 {
    color: #1e3a8a;
}

/* ===========================
   Header & Logo compact
   =========================== */
header {
    background: #1e3a8a;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2em;
    text-align: center;
}

header img.logo {
    max-width: 150px;
    height: auto;
}

@media(max-width:768px) {
    header {
        padding: 0.8em;
    }

    header img.logo {
        max-width: 120px;
    }
}

@media(max-width:480px) {
    header {
        padding: 0.6em;
    }

    header img.logo {
        max-width: 100px;
    }
}

/* ===========================
   Navigation Dropdown + Sticky
   =========================== */
nav {
    background: #2c499d;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav input[type=checkbox] {
    display: none;
}

nav .menu-icon {
    display: none;
    color: white;
    font-size: 2em;
    padding: 0.5em 1em;
    cursor: pointer;
}

nav ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul.menu li {
    margin: 0.5em;
    position: relative;
}

nav ul.menu li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    padding: 0.8em 1em;
    display: block;
}

nav ul.menu li a:hover {
    background: #1e3a8a;
    border-radius: 5px;
}

nav ul.menu li ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2c499d;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    min-width: 160px;
    z-index: 1000;
}

nav ul.menu li:hover ul.submenu {
    display: block;
}

nav ul.menu li ul.submenu li a {
    display: block;
    padding: 0.8em 1em;
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

nav ul.menu li ul.submenu li a:hover {
    background: #1e3a8a;
}

@media(max-width:768px) {
    nav .menu-icon {
        display: block;
    }

    nav ul.menu {
        display: none;
        flex-direction: column;
        background: #2c499d;
    }

    nav input[type=checkbox]:checked~ul.menu {
        display: flex;
    }

    nav ul.menu li {
        margin: 0;
    }

    nav ul.menu li a {
        padding: 0.8em;
        font-size: 1em;
    }

    nav ul.menu li ul.submenu {
        position: static;
        background: #1e3a8a;
    }

    nav ul.menu li ul.submenu li a {
        padding-left: 2em;
    }
}

/* ===========================
   Sections & General boxes
   =========================== */
nav+section {
    margin-top: 30px;
}

section {
    padding: 2em 1em;
    max-width: 1000px;
    margin: auto;
}

.service,
.package,
.portfolio,
.contact,
.social {
    background: #f9fafb;
    padding: 1.2em;
    border-radius: 8px;
    margin-bottom: 2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Packages
   =========================== */
.package {
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.package:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.package ul {
    list-style: disc inside;
    margin: 0.5em 0 1.5em 0;
}

/* ===========================
   Articles
   =========================== */
.article {
    background: #f9fafb;
    padding: 1.2em;
    border-radius: 8px;
    margin-bottom: 2em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ===========================
   CTA Button
   =========================== */
.cta-button {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 1em 2.5em;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2em;
    display: inline-block;
    margin-top: 1em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background: #2c499d;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

a.cta-button {
    text-decoration: none;
}

/* ===========================
   Branduri
   =========================== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    text-align: center;
    margin-bottom: 2em;
}

.brands-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 180px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brands-grid div:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.brands-grid img {
    max-width: 100px;
    margin-bottom: 10px;
}

/* ===========================
   Social & Contact
   =========================== */
.social,
.contact {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact p,
.contact button {
    text-align: center;
    margin: 0.5em 0;
}

.contact button {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 0.8em 2em;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    display: inline-block;
    margin-top: 1em;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.contact button:hover {
    background: #2c499d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Social icons hover
   =========================== */
.social-links a {
    margin: 0 10px;
    color: #1e3a8a;
    font-size: 1.8em;
    display: inline-block;
    transition: transform .3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* ===========================
   Footer
   =========================== */
footer {
    background: #f3f4f6;
    text-align: center;
    padding: 2em;
}

footer a {
    color: #1e3a8a;
    text-decoration: none;
}

.contact-hours {
    background: #f9fafb;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 1em auto;
    text-align: center;
}

.contact-hours h3 {
    color: #1e3a8a;
    margin-bottom: 0.5em;
}

.contact-hours p {
    margin: 0.3em 0;
    font-size: 1.1em;
}

/* ===========================
   Responsive branduri
   =========================== */
@media(max-width:1024px) {
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
}