/* ==========================================================================
   Mayer Fanni – Idősgondozás Veszprém
   Alap stíluslap (css/base.css)
   Szerkezet: változók → reset/alapok → komponensek szekciónként →
   animációk → reszponzív media query-k → Tailwind font-size utility-k
   ========================================================================== */

/* ============ Változók ============ */
:root {
    --cream: #F3E4D8;
    --warm-beige: #E8D5C0;
    --soft-brown: #B8956A;
    --deep-brown: #5C3D2E;
    --rich-brown: #7A5440;
    --blush: #E8C8B8;
    --text: #3D2B1F;
    --text-light: #7A6555;
    --white: #FFFCF8;
    --accent: #C4956C;
}

/* ============ Reset és alapok ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ============ Hero ============ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse at center, var(--warm-beige) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem 4rem 6rem;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--warm-beige);
    color: var(--deep-brown);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s ease both;
}

.hero-badge::before {
    content: '✿';
    font-size: 1rem; /* pszeudo-elem: nem kaphat utility-osztályt, szándékos kivétel */
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    color: var(--deep-brown);
    margin-bottom: 1rem;
    animation: fadeSlideUp 0.8s ease 0.15s both;
}

.hero-title em {
    font-style: italic;
    color: var(--soft-brown);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s ease 0.3s both;
}

.hero-desc {
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeSlideUp 0.8s ease 0.45s both;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.8s ease 0.6s both;
}

/* ============ Gombok ============ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
    background: var(--deep-brown);
    color: var(--white);
    border: 2px solid var(--deep-brown);
}

.btn-primary:hover {
    background: var(--rich-brown);
    border-color: var(--rich-brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(92, 61, 46, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-brown);
    border: 2px solid var(--warm-beige);
}

.btn-secondary:hover {
    border-color: var(--soft-brown);
    background: var(--warm-beige);
    transform: translateY(-2px);
}

/* ============ Hero kép és lebegő kártyák ============ */
.hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    animation: fadeScale 1s ease 0.3s both;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--warm-beige);
    border-radius: 240px 240px 30px 30px;
    z-index: 0;
}

.hero-image {
    width: 100%;
    border-radius: 230px 230px 24px 24px;
    object-fit: cover;
    aspect-ratio: 3/4;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(92, 61, 46, 0.15);
}

.floating-card {
    position: absolute;
    z-index: 3;
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(92, 61, 46, 0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    bottom: 15%;
    left: -30px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 20%;
    right: -20px;
    animation-delay: 2s;
}

.floating-card .card-icon {
    margin-bottom: 4px;
}

.floating-card .card-label {
    color: var(--text-light);
    font-weight: 500;
}

.floating-card .card-value {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--deep-brown);
}

/* ============ Tulajdonságok ============ */
.qualities {
    padding: 5rem 6rem;
    background: var(--white);
    position: relative;
}

.qualities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--warm-beige), transparent);
}

.qualities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.quality-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    background: var(--cream);
    border: 1px solid transparent;
}

.quality-card:hover {
    transform: translateY(-6px);
    border-color: var(--warm-beige);
    box-shadow: 0 12px 40px rgba(184, 149, 106, 0.12);
}

.quality-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--warm-beige), var(--blush));
}

.quality-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--deep-brown);
    margin-bottom: 0.5rem;
}

.quality-desc {
    color: var(--text-light);
    font-weight: 300;
}

/* ============ Szekciófejlécek ============ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--soft-brown);
    margin-bottom: 1.2rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--soft-brown);
    border-radius: 2px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--deep-brown);
    margin-bottom: 2rem;
}

/* ============ Rólam ============ */
.about {
    padding: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-text p {
    color: var(--text-light);
    font-weight: 300;
}

.about-text p + p {
    margin-top: 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--blush) 100%);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.highlight-box p {
    color: var(--deep-brown);
    font-weight: 400;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

/* ============ Szolgáltatások ============ */
.services {
    padding: 6rem;
    background: var(--deep-brown);
    color: var(--cream);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(184, 149, 106, 0.08) 0%, transparent 70%);
}

.services .section-label {
    color: var(--warm-beige);
}

.services .section-label::before {
    background: var(--warm-beige);
}

.services .section-title {
    color: var(--cream);
    max-width: 600px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.service-item {
    background: rgba(255, 252, 248, 0.06);
    border: 1px solid rgba(255, 252, 248, 0.1);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.service-item:hover {
    background: rgba(255, 252, 248, 0.1);
    border-color: rgba(184, 149, 106, 0.3);
    transform: translateY(-4px);
}

.service-icon {
    margin-bottom: 0.8rem;
    display: block;
}

.service-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.4rem;
}

.service-desc {
    color: rgba(250, 245, 239, 0.6);
    font-weight: 300;
}

/* ============ Árazás ============ */
.pricing {
    padding: 6rem;
    background: var(--white);
    text-align: center;
}

.pricing-card {
    max-width: 520px;
    margin: 3rem auto 0;
    background: var(--cream);
    border-radius: 28px;
    padding: 3rem;
    border: 1px solid var(--warm-beige);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--soft-brown), var(--warm-beige), var(--soft-brown));
}

.price-amount {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    color: var(--deep-brown);
}

.price-unit {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--text-light);
}

.price-note {
    color: var(--text-light);
    margin-top: 0.5rem;
    font-weight: 300;
}

.price-divider {
    width: 60px;
    height: 1px;
    background: var(--warm-beige);
    margin: 1.5rem auto;
}

.price-extras {
    color: var(--text-light);
    font-weight: 300;
}

/* ============ Kapcsolat ============ */
.contact {
    padding: 6rem;
    text-align: center;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse at bottom, var(--warm-beige) 0%, transparent 70%);
    opacity: 0.3;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact .section-title {
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: var(--text-light);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid var(--warm-beige);
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s ease;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 149, 106, 0.15);
    border-color: var(--soft-brown);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--warm-beige), var(--blush));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method-label {
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-method-value {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--deep-brown);
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    color: var(--deep-brown);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid var(--warm-beige);
}

/* ============ Lábléc ============ */
footer {
    padding: 2rem 6rem;
    text-align: center;
    background: var(--deep-brown);
    color: rgba(250, 245, 239, 0.5);
    font-weight: 300;
}

footer span {
    color: var(--warm-beige);
}

/* ============ Animációk ============ */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============ Scroll reveal ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ Reszponzív ============ */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 3rem 2rem;
        text-align: center;
        align-items: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-image-wrap {
        padding: 0 2rem 3rem;
    }

    .hero-image-container {
        max-width: 300px;
    }

    .hero-image {
        height: auto;
    }

    .hero-image-container::before {
        display: none;
    }

    .floating-card {
        display: none;
    }

    .qualities {
        padding: 3rem 2rem;
    }

    .qualities-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about {
        padding: 3rem 2rem;
    }

    .about-text {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services {
        padding: 3rem 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing {
        padding: 3rem 2rem;
    }

    .contact {
        padding: 3rem 2rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-method {
        width: 100%;
    }

    footer {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Tailwind font-size scale — https://tailwindcss.com/docs/font-size */
.text-xs   { font-size: 0.75rem;  line-height: calc(1 / 0.75); }
.text-sm   { font-size: 0.875rem; line-height: calc(1.25 / 0.875); }
.text-base { font-size: 1rem;     line-height: calc(1.5 / 1); }
.text-lg   { font-size: 1.125rem; line-height: calc(1.75 / 1.125); }
.text-xl   { font-size: 1.25rem;  line-height: calc(1.75 / 1.25); }
.text-2xl  { font-size: 1.5rem;   line-height: calc(2 / 1.5); }
.text-3xl  { font-size: 1.875rem; line-height: calc(2.25 / 1.875); }
.text-4xl  { font-size: 2.25rem;  line-height: calc(2.5 / 2.25); }
.text-5xl  { font-size: 3rem;     line-height: 1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1; }
.text-7xl  { font-size: 4.5rem;   line-height: 1; }
.text-8xl  { font-size: 6rem;     line-height: 1; }
.text-9xl  { font-size: 8rem;     line-height: 1; }

/* Reszponzív variánsok — a teljes Tailwind font-size skála minden töréspontnál (sm · md · lg) */
@media (min-width: 640px) {
  .sm\:text-xs  { font-size: 0.75rem; line-height: calc(1 / 0.75); }
  .sm\:text-sm  { font-size: 0.875rem; line-height: calc(1.25 / 0.875); }
  .sm\:text-base{ font-size: 1rem; line-height: calc(1.5 / 1); }
  .sm\:text-lg  { font-size: 1.125rem; line-height: calc(1.75 / 1.125); }
  .sm\:text-xl  { font-size: 1.25rem; line-height: calc(1.75 / 1.25); }
  .sm\:text-2xl { font-size: 1.5rem; line-height: calc(2 / 1.5); }
  .sm\:text-3xl { font-size: 1.875rem; line-height: calc(2.25 / 1.875); }
  .sm\:text-4xl { font-size: 2.25rem; line-height: calc(2.5 / 2.25); }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .sm\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .sm\:text-8xl { font-size: 6rem; line-height: 1; }
  .sm\:text-9xl { font-size: 8rem; line-height: 1; }
}
@media (min-width: 768px) {
  .md\:text-xs  { font-size: 0.75rem; line-height: calc(1 / 0.75); }
  .md\:text-sm  { font-size: 0.875rem; line-height: calc(1.25 / 0.875); }
  .md\:text-base{ font-size: 1rem; line-height: calc(1.5 / 1); }
  .md\:text-lg  { font-size: 1.125rem; line-height: calc(1.75 / 1.125); }
  .md\:text-xl  { font-size: 1.25rem; line-height: calc(1.75 / 1.25); }
  .md\:text-2xl { font-size: 1.5rem; line-height: calc(2 / 1.5); }
  .md\:text-3xl { font-size: 1.875rem; line-height: calc(2.25 / 1.875); }
  .md\:text-4xl { font-size: 2.25rem; line-height: calc(2.5 / 2.25); }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-8xl { font-size: 6rem; line-height: 1; }
  .md\:text-9xl { font-size: 8rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:text-xs  { font-size: 0.75rem; line-height: calc(1 / 0.75); }
  .lg\:text-sm  { font-size: 0.875rem; line-height: calc(1.25 / 0.875); }
  .lg\:text-base{ font-size: 1rem; line-height: calc(1.5 / 1); }
  .lg\:text-lg  { font-size: 1.125rem; line-height: calc(1.75 / 1.125); }
  .lg\:text-xl  { font-size: 1.25rem; line-height: calc(1.75 / 1.25); }
  .lg\:text-2xl { font-size: 1.5rem; line-height: calc(2 / 1.5); }
  .lg\:text-3xl { font-size: 1.875rem; line-height: calc(2.25 / 1.875); }
  .lg\:text-4xl { font-size: 2.25rem; line-height: calc(2.5 / 2.25); }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
  .lg\:text-9xl { font-size: 8rem; line-height: 1; }
}

/* ============ Tipográfiai felülírások (a utility-k után) ============ */
/* Az eredeti dizájn sorközei, ahol a Tailwind-alap láthatóan törné a megjelenést */
.hero-title { line-height: 1.15; }
.section-title { line-height: 1.2; }
.price-extras { line-height: 1.8; }
