/* nav sav */
.site-navbar {
    background-color: #2c2c2c;
    width: 100%;
}

.navbar-container {
    width: 100%;
    padding: 16px 20px; 

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img {
    height: 36px;      
    width: auto;       
    display: block;
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* gepes nezetu linkek */
.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    display: inline-block;
    padding: 2px 0;       

    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;

    transition:
        transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.18s cubic-bezier(0.4, 0, 0.2, 1);

    will-change: transform;
}

.nav-links a:hover {
    color: #ffffff;
    transform: scale(1.08);
}

.hamburger {
    display: none;
    width: 40px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 13px; }
.hamburger span:nth-child(3) { top: 26px; }

.hamburger.active span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
    background: #ffffff;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
    background: #ffffff;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* mobil menu */
.mobile-menu {
    position: absolute;
    top: 72px;
    right: 20px;
    width: 220px;
    background-color: #2c2c2c;
    border-radius: 14px;
    padding: 14px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);

    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s ease;
}

.mobile-menu a {
    display: block;
    padding: 12px 22px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

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

.mobile-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* responsive */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== OVERLAY BOX ===== */
.overlay-box {
    background-color: rgba(44, 44, 44, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    width: 92%;
    max-width: 900px;
    padding: 36px 40px;
    margin: -80px auto 60px auto;

    border-radius: 20px;
    color: #ffffff;

    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.overlay-box h2 {
    margin-bottom: 24px;
}

.privacy-check {
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.privacy-check label {
     display: inline-flex;        
    align-items: center;         
    gap: 8px;
}

.privacy-check input[type="checkbox"] {
    accent-color: #1e88e5; 
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    transform: translateY(-1px);
}

.privacy-check a {
    color: #1e88e5;
    text-decoration: underline;
}

form input,
form button {
    width: 100%;
    padding: 14px 16px;
    margin-top: 14px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
}

form input[type="file"] {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

form button {
    margin-top: 24px;
    background: #1e88e5;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

form button:hover {
    background: #1e88e5;
}

.hint {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 6px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .overlay-box {
        padding: 24px 20px;
        margin-top: -60px;
    }

    .hamburger {
        display: block;
    }
}

@media (max-width: 900px) {
    .mobile-menu {
        display: flex;
        flex-direction: column;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

body {
    background-color: #000000;
}

/* center miss kaposvár logo */
.center-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0 100px;
    position: relative;
    z-index: 1;
}

.center-image img {
    width: 100%;
    max-width: 300px;   /* gepen max méret */
    height: auto;
}

.form-container {
    margin-top: 10px;
}

/* center miss kaposvar logo vege */

a.pdf-link {
    color: #1e88e5;
    text-decoration: underline;
    font-size: 14px;
}

a.pdf-link:hover {
    color: #fff;
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
    font-family: inherit;
}
    
textarea {
    resize: none !important;          
    overflow: hidden;      
    min-height: 30px;      
    line-height: 1.5;
    margin-top: 15px;
}

/* footer */

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* felső email */
.footer-top {
    margin-bottom: 8px;
}

.footer-email {
    color: #d6b15a;
    font-size: 18px;
    text-decoration: none;
    margin: 10px 0 0 0;
}

/* arany csík */
.footer-divider {
    height: 1px;
    background: rgba(180, 140, 50, 0.6);
    margin-bottom: 12px;
}

/* alsó sor */
.footer-bottom {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

/* bal */
.footer-copy {
    color: #777;
    font-size: 14px;
}

/* közép */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

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

/* jobb */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(180, 140, 50, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d6b15a;
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-icons {
        justify-content: center;
    }
}

.custom-link {
  color: #aaa;              
  text-decoration: none;
}

.custom-link:hover {
  color: white;             
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;

}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}