/* Header stílusok már a header.css-ben vannak definiálva */

/* Logo styles - már a header.css-ben vannak definiálva */

/* Search Bar styles */
#search-bar .header-search form {
    display: flex;
    width: 100%;
}

#search-bar .input {
    flex-grow: 1;
    max-width: 450px;
    width: 100%;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}

.search-btn {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}

@media (max-width: 991px) {
    #search-bar .input {
        max-width: 100%;
    }
}

#search-results {
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    max-height: 450px;
    overflow-y: auto;
    z-index: 1000;
    position: absolute;
    top: 100%;
    left: 0;
}

/* Dropdown menu styles */
.dropdown-menu {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px;
    border: none;
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu .dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f8f8f8;
}

.balance {
    font-weight: bold;
}

/* Modern dropdown menu styles for navigation */
#navigation .main-nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: -200px;
    transform: none;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    border-radius: 0 15px 15px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#navigation .main-nav .dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    visibility: visible;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-column {
    flex: 1;
    padding: 0 15px;
    position: relative;
}

.menu-column:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.1), transparent);
}

.menu-header {
    font-size: 1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e6001a;
    display: block;
    transition: all 0.3s ease;
}

.menu-header:hover {
    color: #e6001a;
    transform: translateX(5px);
}

.sub-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-menu a {
    color: #555;
    text-decoration: none;
    padding: 6px 0;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.sub-menu a::before {
    content: "→";
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    color: #e6001a;
    transform: translateX(5px);
    padding-left: 20px;
}

.sub-menu a:hover::before {
    opacity: 1;
}

/* Responsive adjustments for navigation */
@media (max-width: 991px) {
    #navigation .main-nav .dropdown-content {
        min-width: 100%;
        left: 0;
        transform: none;
        padding: 15px;
    }

    .menu-column {
        padding: 8px;
    }

    .menu-column:not(:last-child)::after {
        display: none;
    }
}

/* Header cart visibility styles - már a header.css-ben vannak definiálva */

/* Rainbow text animation */
.rainbow-text a {
    background: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet, red);
    background-size: 400%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-animation 10s linear infinite;
}

@keyframes rainbow-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Data Declaration Card styles */
#uniqueAdatBody {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 20px;
    color: #444;
    line-height: 1.6;
}

#uniqueAdatDeclaration {
    background-color: #fff;
    max-width: 700px;
    margin: 40px auto;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#uniqueAdatDeclaration p {
    margin: 15px 0;
    font-size: 16px;
}

#uniqueAdatDeclaration a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px dashed #007bff;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

#uniqueAdatDeclaration a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

/* Footer payments styles */
.footer-payments {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-payments li {
    margin: 0 10px;
}

.footer-payments li a img {
    width: 80px;
    height: 50px;
    object-fit: contain;
    display: block;
}

