@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');

@font-face {
    font-family: 'Lovelo Black';
    src: url('lovelo-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

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

body {
    font-family: 'Lovelo Black', 'Cinzel', serif;
    font-weight: 900;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    padding: 30px 0;
    width: 100%;
    position: relative; /* For absolute positioning of mobile menu toggle */
}

.header-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    transition: transform 0.2s;
}

.header-image:hover {
    transform: scale(1.05);
}

main {
    max-width: 1400px;
    width: 100%;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
}

.main-image, .home-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 20px auto;
    display: block;
    transition: transform 0.2s;
}

.image-container .main-image,
.image-container .home-image {
    width: 100%;
}

.main-image:hover, .home-image:hover {
    transform: scale(1.05);
}

.download-button {
    position: absolute;
    background-color: #ffffff;
    color: #000000;
    font-family: 'Lovelo Black', serif;
    font-size: 1.2em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    right: 21%;
    top: 50%;
    transform: translateY(-50%);
}

.download-button:hover {
    transform: translateY(-50%) scale(1.05);
    background-color: #e0e0e0;
}

.premium-button {
    position: absolute;
    background-color: #ffffff;
    color: #000000;
    font-family: 'Lovelo Black', serif;
    font-size: 1.2em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    right: 25%;
    top: 75%;
    transform: translateY(-50%);
    text-decoration: none;
}

.premium-button:hover {
    transform: translateY(-50%) scale(1.05);
    background-color: #e0e0e0;
}

.qrkit-button {
    position: absolute;
    background-color: #ffffff;
    color: #000000;
    font-family: 'Lovelo Black', serif;
    font-size: 1.2em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    right: 42%;
    top: 95%;
    transform: translateY(-50%);
    text-decoration: none;
}

.qrkit-button:hover {
    transform: translateY(-50%) scale(1.05);
    background-color: #e0e0e0;
}

.button-container {
    position: absolute;
    display: flex;
    justify-content: center;
    gap: 20px;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.store-button {
    width: 200px;
    height: auto;
    transition: transform 0.2s;
}

.store-button:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.8em;
    margin: 20px 0 10px;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.last-updated {
    font-size: 0.9em;
    color: #cccccc;
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    margin: 10px 0 20px 20px;
    font-size: 1.1em;
}

ul li {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 15px 0;
    width: 100%;
    background-color: #111111;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #727272;
}

form {
    max-width: 600px;
    width: 100%;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 5px;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Lovelo Black', serif;
    font-size: 1em;
    background-color: #111111;
    color: #ffffff;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #777777;
}

button[type="submit"] {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Lovelo Black', serif;
    font-size: 1.2em;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
    align-self: center;
}

button[type="submit"]:hover {
    transform: scale(1.05);
    background-color: #e0e0e0;
}

.alert {
    color: #00ff00;
    text-align: center;
    margin-top: 10px;
}

/* Header Container for Flex Layout */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* For mobile menu toggle positioning */
}

/* Logo Container */
.logo-container {
    display: flex;
    justify-content: center;
    flex-grow: 1; /* Allows logo to take available space for centering */
}

/* Desktop Menu Styles */
.desktop-menu {
    display: flex;
}

.desktop-menu ul {
    display: flex;
    list-style: none;
    gap: 70px;
}

.desktop-menu a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Lovelo Black', serif;
    font-size: 1.2em;
    transition: color 0.2s;
}

.desktop-menu a:hover {
    color: #777777;
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 5px;
    right: -10px;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-icon {
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* Mobile Side Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background-color: #111111;
    padding: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 60px;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Lovelo Black', serif;
    font-size: 1.5em;
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: #656565;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2em;
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding-bottom: 15px;
}

.social-button {
    width: 40px;
    height: auto;
    transition: transform 0.2s;
}

.social-button:hover {
    transform: scale(1.05);
}

@media (max-width: 600px) {
    main {
        padding: 10px;
    }

    .image-container {
        position: relative;
    }

    .main-image, .home-image {
        max-width: 100%;
        max-height: 500px;
        margin: 15px 0;
    }

    .download-button {
        font-size: 0.9em;
        padding: 6px 12px;
        right: 15%;
        top: 50%;
        transform: translateY(-50%);
    }

    .premium-button {
        font-size: 0.9em;
        padding: 6px 12px;
        right: 15%;
        top: 75%;
        transform: translateY(-50%);
    }

    .qrkit-button {
        font-size: 0.9em;
        padding: 6px 12px;
        right: 40%;
        top: 95%;
        transform: translateY(-50%);
    }

    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        left: 7%;
        top: 70%;
        transform: translateY(-50%);
    }

    .store-button {
        width: 150px;
    }

    .header-image {
        max-width: 120px;
        height: auto;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    p, ul li {
        font-size: 1em;
    }

    .desktop-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        justify-content: center; /* Center the logo container */
    }
}