/* Reset alapértelmezett stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body stílus */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #1b1b2f, #000c1f);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigációs sáv */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px 5px 30px;
    background: transparent;
    backdrop-filter: blur(5px);
    z-index: 1000;
    min-height: 61px;
}

.logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 32px;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: none;
}

.nav-right {
    display: flex;
    gap: 30px;
    line-height: 25.6px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff7e5f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff7e5f;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ff7e5f;
}

.nav-link.active::after {
    width: 100%;
    background: #ff7e5f;
}

/* Fő tartalom */
.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 30px 20px;
}

.section-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 3px;
}

.section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-bottom: 30px;
}

.contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 50px 20px;
    color: #fff;
    text-align: center;
}

.contact-main {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.contact-intro h1 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.contact-intro p {
    opacity: 0.9;
}

.contact-form-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

form#contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.25rem;
    padding-bottom: 5px;
    backdrop-filter: blur(2px);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.field label {
    font-weight: 600;
}

.field input,.field textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    outline: none;
}

.field textarea{
    min-height: 120px;
    resize: vertical;
}

.field input:hover, .field textarea:hover{
    border-color: rgba(255, 255, 255, 0.25);
    transition: border-color 0.3s ease;
}

.field input:focus,.field textarea:focus {
    border-color: rgba(255, 255, 255, 0.45);
}

.field input.invalid,.field textarea.invalid {
  border-color: #ff6b6b;
  background: rgba(255, 0, 0, 0.05);
}

.form-message {
  margin-top: 1rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

small.error {
    color: #ffb0b0;
    min-height: 1.1rem;
}
.privacy {
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    margin-top: 1rem;
    text-align: center;
}
.btn.primary[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-link.hamarosan {
    pointer-events: none;
    opacity: 0.5;
    position: relative;
    overflow: visible;
}

.nav-link.hamarosan::before {
    content: 'HAMAROSAN';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    background: #ff7e5f;
    padding: 2px 6px;
    border-radius: 5px;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(255, 126, 95, 0.6);
    z-index: 10;
}

.nav-link.hamarosan:hover {
    color: #ffffff;
}

.nav-link.hamarosan:hover::after {
    width: 0;
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .logo {
        font-size: 28px;
    }

    .nav-right {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .contact-main {
        padding: 1rem;
    }
    .contact-intro h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 10px;
    }

    .logo {
        font-size: 24px;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
    }

    .nav-link.hamarosan::before {
        font-size: 7px;
        padding: 1px 4px;
        background: rgba(255, 126, 95, 0.9);
        letter-spacing: 0.3px;
    }
}

/* Extra kis képernyőkhöz (360px és kisebb) */
@media (max-width: 380px) {
    .navbar {
        padding: 8px 8px;
    }

    .logo {
        font-size: 22px;
    }

    .nav-right {
        gap: 8px;
    }

    .nav-link {
        font-size: 11px;
    }

    .nav-link.hamarosan::before {
        font-size: 7px;
        padding: 1px 3px;
        background: rgba(255, 126, 95, 0.85);
        letter-spacing: 0.2px;
    }
}

/* service grid styles (for index) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem;
}
.service-card h3 {
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
}
.cta-row {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.form-message {
    margin-top: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn.primary {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 126, 95, 0.3);
}

.btn.primary:hover {
    font-family: 'Poppins', sans-serif;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 126, 95, 0.4);
}

.btn.primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#contact-form {
    position: relative;
}

form#contact-form .btn.primary {
    font-family: 'Poppins', sans-serif;
    display: block;
    margin: 1.5rem auto 15px auto; /* középre igazítás */
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.2);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    z-index: 100;
    pointer-events: none;
}