/* --- Global Styles & CSS Variables --- */

/* Root variables for consistent theming */
:root {
    --primary-color: #9B59B6; /* Your accent color */
    --secondary-color: #AF7AC5; /* A slightly different purple */
    --dark-bg: #222; /* Your current dark background for navigation and footer */
    --body-bg: #222; /* Main background for the body */
    --light-text: #F5F5F5; /* Light text color for readability */
    --hover-bg-dark: #2f2643; /* Hover background for mobile menu items and dark cards */
    --nav-height: 4rem; /* Desktop navigation height */
    --mobile-nav-height: 3.5rem; /* Mobile header height */
}

.icon {
    height: 1em;
    vertical-align: -.125em;
    display: inline-block;
    color:white
}

.navigationMainMenu a:hover .icon, 
.navigationProfileMenu .secondary-button:hover .icon {
    stroke: var(--primary-color);
    color: var(--primary-color);
    transition: stroke 0.2s;
}

/* Universal box-sizing and reset default margins/paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; /* Consistent font-family */
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    background-color: var(--body-bg); /* Use variable for body background */
    color: var(--light-text); /* Use variable for default text color */
    top: 0;

}

/* Prevent body scrolling when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* --- Navigation --- */

/* DEFAULT NAVIGATION CONTAINER (DESKTOP FIRST) */
.navigationContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: var(--nav-height); /* Desktop height */
    background-color: var(--dark-bg); /* Use variable for nav background */
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Brand Section */
.navigationBrand a {
    font-size: 1.8rem;
    color: var(--light-text);
    margin: 0;
    letter-spacing: 1px;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 600;
}

.navigationBrandColor {
    color: var(--secondary-color);
}

/* Main Navigation Menu Container (Desktop) */
.navigationMainMenuContainer {
    display: flex;
    align-items: center;
    gap: 2.5rem; /* Space between main links group and profile buttons group */
    height: 100%;

    /* Reset mobile overlay properties for desktop */
    position: static;
    top: auto;
    left: auto;
    width: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    overflow-y: visible;
}

/* Main Navigation Links (Desktop) */
.navigationMainMenu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.5rem;
}

.navigationMainMenu li a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.05em;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}

.navigationMainMenu li a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Animated underline effect */
.navigationMainMenu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.navigationMainMenu li a.active::after,
.navigationMainMenu li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.navigationMainMenu li a.active{
    color: var(--secondary-color);
    font-weight: 600;
}
.navigationMainMenu li a.active .icon{
    color: var(--secondary-color);
    font-weight: 600;
}

/* Profile Menu (Desktop) - Adjusted name to match `Container` suffix */
.navigationProfileMenu { /* This was previously named `navigationProfileMenu` */
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

@media (max-width: 400px) {
    .navigationProfileMenu {
        display: flex;
        align-items: center;
        flex-direction: column;
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 1rem;
    }
}

/* Hamburger Button (Hidden by default on desktop) */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 22;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.hamburger:hover,
.hamburger:focus {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

/* --- MOBILE LAYOUT (Applies to screens up to 991px wide) --- */
@media (max-width: 1300px) {

    .navigationProfileMenu {
        display: flex;
        flex-direction: column;
    }
    .navigationContainer {
        height: var(--mobile-nav-height);
        padding: 0 1rem;
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }

    .navigationBrand {
        grid-column: 1 / 2;
        margin: 0;
    }

    .hamburger {
        display: block;
        grid-column: 3 / 4;
        justify-self: end;
    }

    /* Mobile menu overlay properties */
    .navigationMainMenuContainer {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        position: fixed;
        top: var(--mobile-nav-height);
        left: 0;
        width: 100vw;
        height: calc(100vh - var(--mobile-nav-height));
        background: var(--dark-bg);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
        border-radius: 0;
        padding: 1.5rem 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
        overflow-y: auto;
        z-index: 99;
    }

    .navigationMainMenuContainer.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Main Menu links on Mobile */
    .navigationMainMenu {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .navigationMainMenu li {
        width: 100%;
        text-align: center;
    }

    .navigationMainMenu li a {
        padding: 0.8rem 1rem;
        font-size: 1.15rem;
        display: block;
        border-left: none;
        transform: none;
    }

    .navigationMainMenu li a.active,
    .navigationMainMenu li a:hover {
        background: var(--hover-bg-dark);
        color: var(--secondary-color);
        border-left: none;
    }

    .navigationMainMenu li a::after {
        display: none;
    }

    /* Profile Menu on Mobile (Now part of the main menu overlay) */
    .navigationProfileMenuContainer { /* Refined name here */
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 0;
        margin-left: 0;
    }

    .navigationProfileMenuContainer li { /* Target list items within the container */
        width: 100%;
        text-align: center;
    }

    .navigationProfileMenuContainer li button, /* Target buttons/links within list items */
    .navigationProfileMenuContainer li a {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        justify-content: center;
    }
}

/* --- Buttons --- */

.primary-button,
.secondary-button {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--light-text);
    white-space: nowrap;
    justify-content: center;
}

.primary-button {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.primary-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.secondary-button {
    background-color: transparent;
    border: 1px solid var(--light-text);
    color: var(--light-text);
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* --- Cards --- */

.card {
    width: 80%;
    height: 15rem; /* ~160px */
    max-width: 360px; /* vagy amennyi jól mutat */
    margin: 0.625rem; /* ~10px */
    background-color: var(--hover-bg-dark); /* Use variable for card background */
    border-radius: 1.25rem; /* ~20px */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h1 {
    font-size: 1.25rem; /* ~20px */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40%;
    padding: 0 1.25rem; /* ~20px */
    color: var(--light-text); /* Emphasize card titles */
    line-height: 1.3;
}

.card h3 {
    font-size: 1.25rem; /* ~20px */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40%;
    padding: 0 1.25rem; /* ~20px */
    color: var(--light-text); /* Emphasize card titles */
    line-height: 1.3;
}

.card svg {
    color: var(--primary-color); /* Use primary color for icons */
}

.card p {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60%;
    padding: 0 1.25rem; /* ~20px */
    font-size: 0.95rem; /* ~15.2px */
    color: var(--light-text);
    line-height: 1.5;
}


/* --- Generic Section Styling --- */

/* This provides a consistent base for all main page sections */
.mainHeader,
.mainAbout,
.mainServices,
.otherServices,
.moreServices,
.mainContactContainer,
.conceptSection,
.pricingSection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5rem 1.5rem; /* Unified padding */
    min-height: 95vh !important; /* Unified minimum height */
    box-sizing: border-box;
    text-align: center;
    position: relative; /* For potential background overlays */
    overflow: hidden; /* Prevents background images from spilling */
}

/* Special override for the Header to ensure it feels like a hero section */
.mainHeader {
    height: calc(100vh - var(--nav-height));
    padding-top: 0; /* Adjust padding to account for nav bar */
    padding-bottom: 0;
}

/* Unified title style for all sections */
.mainHeaderTitle,
.mainAboutTitle,
.mainServicesTitle,
.otherServicesTitle,
.mainContactTitle,
.conceptTitle,
.pricingTitle {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    color: var(--light-text);
    max-width: 1000px;
}

/* Unified text style for all sections */
.mainHeaderText,
.mainAboutText,
.otherServicesText,
.mainContactText,
.conceptText {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}


/* --- Section-Specific Styling --- */

/* --- Header Section --- */
.mainHeader {
    /* Background properties remain here as they are unique per section */
    /* background-image: url('path/to/your/header-image.jpg'); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.innerHeaderContainer {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.mainHeaderButton {
    margin-top: 1rem; /* Adjusted margin */
    min-width: 18.75rem;
    height: 3.125rem;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- About Section --- */
.mainAbout {
    /* background-image: url('path/to/your/about-image.jpg'); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* --- Services Section --- */
.mainServices,
.otherServices,
.moreServices {
    min-height: auto; /* Override generic min-height as content dictates height */
}

.mainServicesCardGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    justify-items: center;
}

.otherServicesCardGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 800px;
    padding: 0 1rem;
    justify-items: center;
}

/* --- Contact Section --- */
.mainContactContainer {
    /* background-image: url('path/to/your/contact-image.jpg'); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mainContactCardGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 1100px;
    padding: 0 1rem;
    justify-items: center;
}

.mainContactInnerContainer {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    min-height: 18.75rem;
    background: rgba(255,255,255,0.04);
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem 0 rgba(0,0,0,0.12);
    padding: 2rem 1rem;
    margin: 0 auto;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-align: center;
    margin-bottom: 2.5rem;
}

.mainContactInnerContainer:hover {
    transform: translateY(-0.375rem) scale(1.03);
    box-shadow: 0 0.75rem 2rem 0 rgba(0,0,0,0.2);
}

.mainContactIcon {
    font-size: 2.5rem;
    margin: 0.625rem 0;
    width: 100%;
    height: 3.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
}

.mainContactInfo {
    font-size: 1.5rem;
    margin: 0.625rem 0;
    width: 100%;
    font-weight: bold;
    color: var(--light-text);
    letter-spacing: 1px;
    line-height: 1.3;
}

.mainContactAddInfo {
    font-size: 1.25rem;
    margin: 0.625rem 0;
    width: 100%;
    color: var(--light-text);
    line-height: 1.4;
}

.mainContactInnerContainer a {
    text-decoration: none;
    color: var(--light-text);
    width: 100%;
    word-break: break-all;
    transition: color 0.2s;
}

.mainContactInnerContainer a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

/* --- Concept Section --- */
.conceptSection {
    min-height: auto; /* Override */
}

.conceptText strong {
    color: var(--primary-color);
}

.conceptText b {
    color: var(--secondary-color);
}

.conceptCardsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    padding: 0 1rem;
    justify-items: center;
    margin-top: 2rem;
}

/* --- Pricing Section --- */
.pricingSection {
    min-height: auto; /* Override */
}

.pricingCardsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 0 1rem;
    justify-items: center;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--hover-bg-dark); /* Card background */
    border-radius: 1.25rem; /* Rounded corners */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes button to bottom */
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%; /* Take full width of grid cell */
    max-width: 350px; /* Max width for individual card */
    min-height: 400px; /* Ensure cards have similar height */
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.pricing-card h1 {
    font-size: 1.8rem;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.pricing-details {
    flex-grow: 1; /* Allows details to take up available space */
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 1.5rem;
}

.pricing-row {
    margin-bottom: 1rem;
}

.pricing-label {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.pricing-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.pricing-cost {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color-yellow);
    margin: 0.8rem 0;
}

.pricing-example {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.3;
    margin-top: 0.4rem;
}

.pricing-card .primary-button {
    margin-top: auto; /* Push button to the bottom */
    width: 80%; /* Button width within card */
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
}

.pricingDisclaimerText,
.pricingContactText,
.pricingContactEmailText {
    text-align: center;
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 800px; /* Limit width for readability */
    padding: 0 1rem;
    margin-top: 0; /* Reset default margin */
}

.pricingDisclaimerText {
    margin-top: 2rem; /* Space above disclaimer */
}

.pricingContactText {
    margin-top: 30px; /* Space above contact text */
}

.pricingContactEmailText {
    margin-top: 15px; /* Space above email text */
    margin-bottom: 50px; /* Space below the last text before end of section */
}


/* --- Unified Responsive Styles for Sections --- */

@media (max-width: 1100px) {
    /* Generic section adjustments for mobile nav */
    .mainHeader,
    .mainAbout,
    .mainContactContainer {
        height: auto;
    }
    
    .mainHeader,
    .mainAbout,
    .mainServices,
    .otherServices,
    .moreServices,
    .mainContactContainer,
    .conceptSection,
    .pricingSection {
        padding: 4rem 1rem;
        min-height: auto; /* Let content define height on mobile */
    }

    .mainHeaderTitle,
    .mainAboutTitle,
    .mainServicesTitle,
    .otherServicesTitle,
    .mainContactTitle,
    .conceptTitle,
    .pricingTitle {
        font-size: 2.5rem;
    }

    .mainHeaderText,
    .mainAboutText,
    .otherServicesText,
    .mainContactText,
    .conceptText {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .mainServicesCardGrid,
    .otherServicesCardGrid,
    .conceptCardsGrid,
    .mainContactCardGrid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricingCardsGrid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .pricingCardsGrid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .mainHeaderTitle,
    .mainAboutTitle,
    .mainServicesTitle,
    .otherServicesTitle,
    .mainContactTitle,
    .conceptTitle,
    .pricingTitle {
        font-size: 2rem;
    }

    .mainHeaderText,
    .mainAboutText,
    .otherServicesText,
    .mainContactText,
    .conceptText {
        font-size: 1rem;
    }

    .mainHeaderButton {
        min-width: 15rem;
        height: 2.75rem;
        font-size: 1.1rem;
    }
}


/* --- Authentication Pages (Login & Registration) --- */

/* Add this class to the <body> tag of your login/register pages 
  (e.g., <body class="auth-page-body">) to apply centering.
*/
.auth-page-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
    padding: 1rem; /* Padding for small screens */
}

/* Unified card for both login and registration forms.
  Use <div class="auth-card"> or <div class="login-card"> for your forms.
*/
.auth-card, .login-card {
    background-color: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;

}

.auth-container,
.login-container {
 display: flex;
justify-content: center;
align-items: center;
    width: 100%;
    height: 100vh;
}

.auth-card h2, .login-card h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Form Group (label + input) */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: var(--light-text);
    opacity: 0.8;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid transparent;
    background-color: var(--hover-bg-dark);
    color: var(--light-text);
    font-size: 1rem;
    box-sizing: border-box;
    transition: background-color 0.3s ease, outline 0.3s ease, border-color 0.3s ease;
}

.form-group input:focus {
    outline: 2px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

/* Unified primary button for form submission.
  Use <button class="primary-btn">, <a class="primary-btn">, or <button class="login-btn">
*/
.primary-btn, .login-btn {
    width: 100%;
    padding: 0.85rem;
    border-radius: 999px; /* Pill shape */
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-weight: bold;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: block;
    text-decoration: none;
    text-align: center;
}

.primary-btn:hover, .login-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Error Message */
.error-msg {
    color: #ff6b6b;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
}

/* Google Login/Registration Section */
.google-auth-section, .google-login-section {
    margin-top: 1.5rem;
    text-align: center;
}

.google-auth-text, .google-login-text {
    color: var(--light-text);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.google-auth-btn, .google-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.8rem;
    border-radius: 999px;
    background-color: var(--light-text); /* White background */
    color: #333; /* Dark text */
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-text);
}

.google-auth-btn:hover, .google-login-btn:hover {
    background-color: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-icon {
    height: 20px;
    width: auto;
}

/* reCAPTCHA adjustments */
.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.g-recaptcha {
    transform: scale(0.98);
    transform-origin: 0 0;
}

@media (max-width: 600px) {
    .g-recaptcha {
        transform: scale(0.77);
    }
}
@media (max-width: 450px) {
    .g-recaptcha {
        transform: scale(0.65);
    }
}
@media (max-width: 380px) {
    .g-recaptcha {
        transform: scale(0.55);
    }
}

/* --- Cookie Consent Modal --- */
#cookie-modal {
    position: fixed; z-index: 9999; inset: 0;
    display: none; 
    align-items: center; 
    justify-content: center;
    font-family: inherit;
}
#cookie-modal.active { 
    display: flex !important;
}

.cookie-modal__overlay {
    position: absolute; inset: 0;
    background: rgba(20,20,28,0.77);
    filter: blur(2px);
    z-index: 1;
}

.cookie-modal__box {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2;
    background: #24232b;
    color: #fff;
    border-radius: 18px;
    max-width: 420px;
    width: 92vw;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: 0 8px 48px 0 rgba(0,0,0,0.20);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: cookiepop .33s cubic-bezier(.48,.05,.69,1.48);
}
@keyframes cookiepop {
    0% { transform: scale(.9) translateY(24px); opacity: 0;}
    100% { transform: scale(1) translateY(0); opacity: 1;}
}

.cookie-modal__header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 0.2rem;
}
.cookie-modal__title {
    font-size: 1.26rem; font-weight: bold; letter-spacing: -.5px;
}
.cookie-modal__close {
    background: none; border: none; color: #888; font-size: 1.4rem; cursor: pointer;
    transition: color 0.15s;
}
.cookie-modal__close:hover { color: #FF69B4; }

.cookie-modal__desc p {
    color: #d7d5de;
    margin: 0.25rem 0 0 0;
    font-size: .98rem;
}

.cookie-modal__switches {
    display: flex; flex-direction: column; gap: 0.75rem;
    margin: 1rem 0;
}

.cookie-switch {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    cursor: pointer;
    gap: .75rem;
    color: #fff;
    line-height: 1.4;
    min-height: 32px;
    box-sizing: border-box;
}
.cookie-switch input { display: none; }
.cookie-switch__check {
    flex-shrink: 0;
    display: inline-block;
    width: 38px; height: 22px;
    background: #3a3950;
    border-radius: 13px;
    position: relative;
    transition: .17s;
    margin-top: 2px;
}
.cookie-switch input:checked + .cookie-switch__check {
    background: linear-gradient(90deg,#9d60fb 0,#8c7dfa 100%);
}
.cookie-switch__check:after {
    content: "";
    position: absolute; top: 2px; left: 2px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; transition: .17s;
}
.cookie-switch input:checked + .cookie-switch__check:after {
    left: 18px; background: #fff;
}
.cookie-switch--disabled { opacity: .64; cursor: not-allowed; }

.cookie-switch__label {
    display: block;
    flex: 1;
    min-width: 0;
    word-break: break-word;
    margin-top: 2px;
    font-size: 1rem;
}

.cookie-modal__footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: .5rem;
    flex-wrap: wrap;
}

.cookie-btn {
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 1rem;
    cursor: pointer;
    transition: background .18s, color .18s, box-shadow .18s;
    margin-bottom: 6px;
    box-sizing: border-box;

    
}

.cookie-btn {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        font-size: 1.01rem;
        margin-bottom: 0;
    }

.cookie-btn--primary {
    background: linear-gradient(90deg,#a259fc 0,#6e56cf 100%);
    color: #fff;
    box-shadow: 0 2px 8px 0 rgba(162,89,252,0.13);
}
.cookie-btn--primary:hover { background: linear-gradient(90deg,#6e56cf 0,#a259fc 100%);}
.cookie-btn--secondary {
    background: #2c2b37;
    color: #a259fc;
    border: 1.5px solid #a259fc;
}
.cookie-btn--secondary:hover { background: #a259fc; color: #fff;}
.cookie-btn--outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid #888;
}
.cookie-btn--outline:hover { background: #353449; color:#a259fc; border-color:#a259fc;}

@media (max-width: 1200px) {
    .cookie-modal__box {
        position: static;
    }
    .cookie-modal__title { font-size: 1.2rem; }
    .cookie-switch__label { font-size: 1rem; }
    .cookie-modal__footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        padding-bottom: .5rem;
    }
    .cookie-btn {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        font-size: 1.05rem;
        margin-bottom: 0;
    }
    
}

/* MOBIL FINOMÍTÁS */
@media (max-width: 450px) {
    .cookie-modal__box {
        max-width: 98vw;
        min-width: 0;
        padding: 1rem 0.3rem 1rem 0.3rem;
        bottom: 0;
        right: 0;
    }
    .cookie-modal__title { font-size: 1.09rem; }
    .cookie-switch__label { font-size: .96rem; }
    .cookie-modal__footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
        padding-bottom: .2rem;
    }
    .cookie-btn {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        font-size: 1.01rem;
        margin-bottom: 0;
    }
}

/* --- Footer Section --- */

.mainFooterContainer {
    width: 100%;
    min-height: 5rem;
    padding: 1.5rem 1rem;
    background-color: var(--dark-bg);
    color: var(--light-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
}

.mainFooterContainer h1 {
    font-size: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--light-text);
}

.mainFooterContainer p {
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text); /* or your brand color */
  transition: color 0.2s;
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus {
  color: var(--secondary-color); /* highlight color on hover */
}

.footer-social svg {
  width: 2rem;
  height: 2rem;
  display: block;
}

/* Optional: Adjustments for very small screens for Footer */
@media (max-width: 480px) {
    .mainFooterContainer {
        padding: 1rem 0.5rem;
    }
    .mainFooterContainer h1 {
        font-size: 1.1rem;
    }
    .mainFooterContainer p {
        font-size: 0.85rem;
    }
}


button.secondary-button {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 16.8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--light-text);
    white-space: nowrap;
    justify-content: center;
}