/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /*
    Eredeti paletta:
    --primary-green: #7FB069;
    --light-green: #A7C957;
    --soft-beige: #F2E8CF;
    --warm-beige: #E8D5C4;
    --light-blue: #B8D0EB;
    --soft-blue: #D4E4F7;
    --dark-text: #2C3E50;
    --medium-text: #5D6D7E;
    --light-text: #85929E;
    /* Updated palette aligned with reference image (olive greens + warm beige) */
    --primary-green: #5E7651;     /* buttons, accents */
    --light-green: #89A77A;       /* hover states */
    --soft-beige: #EADCC8;        /* light section bg */
    --warm-beige: #D8C7AC;        /* subtle cards/accents */
    --light-blue: #D9E2D0;        /* repurposed as pale sage for inputs/chips */
    --soft-blue: #EEF4EC;         /* very light sage for placeholders */
    --dark-text: #2E2F2B;         /* neutral dark text */
    --medium-text: #5F6159;       /* secondary text */
    --light-text: #8D907F;        /* muted text */
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);

	  /* Font families (override these to customize) */
	  --font-hero: "Momo Trust Display", sans-serif;
	  --font-footer: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Hero-specific greens to mimic solid green header from image */
    --hero-green: #5C704C;
    --hero-green-2: #6E845C;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('kepek/elso_online_v3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
	  font-family: var(--font-hero);
 	  font-size: var(--font-hero-size);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
    color: var(--dark-text);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 2 2px 4px rgba(0, 0, 0, 0.45);
    text-align: right;
    padding-right: 30px;
}

.cta-button {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(94, 118, 81, 0.3);
}

.cta-button:hover {
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(94, 118, 81, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    color: var(--primary-green);
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-placeholder p {
    font-size: 1.1rem;
    color: var(--medium-text);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 8px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='8' viewBox='0 0 100 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 5 6 C 8 3, 12 7, 18 5 C 24 3, 28 6, 35 4 C 42 2, 48 5, 55 3 C 62 1, 68 4, 75 2 C 82 0, 88 3, 95 1' stroke='%235E7651' stroke-width='6' fill='none' stroke-linecap='round' opacity='0.9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--medium-text);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: justify;
    text-indent: 2em;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--soft-beige);
    border-radius: 10px;
}

.credential-item i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

.profile-placeholder {
    background-image: url('kepek/masodik_online_v2.jpg');
    background-size: cover;
    background-position: top center;
    background-position: 20% 30%;
    background-repeat: no-repeat;

    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    color: var(--primary-green);
    height: 100%;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-clip: border-box;
    overflow: hidden;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--soft-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-green);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--medium-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-green);
    background: var(--soft-beige);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--white);
}

.pricing-info {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px var(--shadow);
}

.pricing-main {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--soft-beige);
}

.pricing-main h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.pricing-main .price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-green);
}

.pricing-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 30px;
}

.detail-section {
    margin-bottom: 10px;
}

.detail-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-text);
    margin-bottom: 0;
    text-align: justify;
    text-indent: 2em;
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.pricing-card p {
    color: var(--medium-text);
    margin-bottom: 25px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    color: var(--dark-text);
    position: relative;
    padding-left: 25px;
}

.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--soft-beige);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.form-group .optional {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--light-text);
    font-style: italic;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--light-blue);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.submit-button {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-button:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.human-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--medium-text);
    font-size: 0.95rem;
}

.submit-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow);
}

.contact-item i {
    color: var(--primary-green);
    font-size: 1.3rem;
}

/* Contact info child-specific vertical offsets without affecting grid alignment */
.contact-info {
    position: relative;
}

.contact-info > * {
    position: relative;
    --offset: 0px;
    transform: translateY(var(--offset));
}

/* compensate spacing so items don't overlap after translate */
.contact-info .contact-item {
    margin-bottom: calc(25px + var(--offset, 0px));
}

.contact-info > *:nth-child(1) { --offset: 0px; } /* Elérhetőségek... */
.contact-info > *:nth-child(2) { --offset: 35px; } /* Ülések... */
.contact-info > *:nth-child(3) { --offset: -5px; } /* Telefon */
.contact-info > *:nth-child(4) { --offset: -5px; } /* E-mail */

.map-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.map-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--soft-blue);
    color: var(--primary-green);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.map-placeholder p {
    color: var(--medium-text);
    margin-bottom: 5px;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.sticky-button {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 18px 25px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(94, 118, 81, 0.3);
}

.sticky-button:hover {
    background: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(94, 118, 81, 0.4);
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 60px 0 20px;
	  font-family: var(--font-footer);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.footer-section p {
    margin-bottom: 10px;
    color: var(--light-text);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--light-green);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--medium-text);
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    background-position: 70% center;
      align-items: flex-start;
      justify-content: flex-start;
      padding-top: 250px;
      padding-left: 80px;
      text-align: left;
  }

  .hero-title,
  .hero-subtitle {
    text-align: left;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
    .hero {
        background-position: 70% center;
        align-items: center;       /* vissza középre függőlegesen */
        justify-content: center;   /* vissza középre vízszintesen */
        padding-top: 70px;         /* csökkentett térköz */
        padding-left: 0;           /* ne legyen balra tolva */
        text-align: center;        /* szöveg középre */
    }
    .profile-placeholder {
      min-height: 300px;
      background-position: top center;
      background-size: cover;
      background-image: url('kepek/masodik_online_mobil_v2.jpg');
    }
    .hero-title,
    .hero-subtitle {
      background: color-mix(in srgb, var(--soft-beige) 60%, transparent);
      color: var(--dark-text);
      padding: 10px 15px;
      border-radius: 10px;
      max-width: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 20px 0;
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1; /* a "Rólam" kép a szöveg felett jelenjen meg mobil nézetben */
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-details {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .sticky-button {
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .sticky-button span {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .pricing-card {
        padding: 30px 20px;
    }
}
