/* =====================================================================
   SZÁNTÓ BRIGITTA – ASZTROZÓFIA | EGYEDI STÍLUSLAP (style.css)
   ---------------------------------------------------------------------
   Tartalom:
   2. :root – színváltozók és design tokenek
   3. Alap / typográfia
   4. Navigáció
   5. Hero
   6. Szekciók, kártyák
   7. Swiper testreszabás
   8. Footer
   9. Reszponzív finomhangolás
   ===================================================================== */


/* 2. ------------------------------ :ROOT --------------------------- */
:root {
    /* Fő színek – mély éji égbolt + arany csillagfény */
    --primary-color: #1b2a4a;      /* mély indigókék */
    --primary-dark: #0f1a30;       /* legsötétebb éjkék */
    --primary-light: #2e426d;      /* világosabb kék kiemelés */
    --secondary-color: #c9a24b;    /* arany / csillagfény */
    --secondary-light: #e3c785;    /* halvány arany */
    --accent-color: #7c6bb0;       /* lágy ametiszt akcentus */

    /* Semleges háttér / szöveg */
    --bg-body: #fbfaf7;            /* meleg törtfehér */
    --bg-soft: #f4f1ea;           /* lágy homokszín szekciókhoz */
    --bg-dark: #0f1a30;
    --text-dark: #1f2433;
    --text-muted: #5d6478;
    --text-light: #f4f1ea;
    --border-soft: rgba(27, 42, 74, 0.12);

    /* Design tokenek */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 18px 50px rgba(15, 26, 48, 0.10);
    --shadow-card: 0 14px 40px rgba(15, 26, 48, 0.08);
    --gradient-night: linear-gradient(135deg, #0f1a30 0%, #1b2a4a 55%, #2e426d 100%);
    --gradient-gold: linear-gradient(135deg, #c9a24b 0%, #e3c785 100%);

    /* Betűtípusok */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
}

/* 3. -------------------------- ALAP / TYPOGRÁFIA -------------------- */
* { scroll-behavior: smooth; }

img {width: 100%;height: auto!important;object-fit: cover;}
img[src="/img/"] {
  display: none;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-body);
    line-height: 1.7;
    overflow-x: hidden;
}

section {position: relative;overflow: hidden;}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }

p { color: var(--text-muted); }

a { text-decoration: none; transition: color .25s ease, opacity .25s ease; }

.text-gold { color: var(--secondary-color) !important; }
.bg-night { background: var(--gradient-night) !important; color: var(--text-light); }
.bg-soft { background-color: var(--bg-soft) !important; }

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 14px;
}

.section-title { position: relative; }

.lead-muted { color: var(--text-muted); font-size: 1.08rem; }

/* Gombok */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 50px; padding: 12px 30px; letter-spacing: .3px; transition: all .3s ease; }

.btn-gold, .btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 10px 28px rgba(201, 162, 75, .35);
}
.btn-gold:hover, .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(201, 162, 75, .45); color: var(--primary-dark); }
.btn-white {
    background:#fff;
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 10px 28px rgba(201, 162, 75, .35);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(201, 162, 75, .45); color: var(--primary-dark);background-color:#fff }

.btn-outline-light, .btn-info {
    background-color: transparent;
    border: 1.5px solid rgba(244, 241, 234, .55);
    color: var(--text-light);
}
.btn-outline-light:hover, .btn-info:hover { background: var(--text-light); color: var(--primary-color); border: 1.5px solid rgba(244, 241, 234, .55);}

.btn-outline-night {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-outline-night:hover { background: var(--primary-color); color: #fff; }

/* 4. ------------------------------ NAVBAR -------------------------- */
.navbar {
    transition: all .4s ease;
    padding-top: 18px;
    padding-bottom: 18px;
    background: rgba(251, 250, 247, .92);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 18px rgba(15, 26, 48, .05);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: .5px;
}
.navbar-brand .brand-mark { color: var(--secondary-color); }
.navbar .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 4px;
    position: relative;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }
.navbar .nav-link:hover { color: var(--primary-color) !important; }

.navbar.scrolled {
    background: rgba(251, 250, 247, .98) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 6px 24px rgba(15, 26, 48, .10);
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Bootstrap alap nyilának kikapcsolása, mert ütközik a .nav-link::after aláhúzással */
.navbar .dropdown-toggle::after {
    display: none;
}

/* Saját nyíl ::before-on */
.navbar .dropdown-toggle::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 6px;
    vertical-align: 1px;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: transform .3s ease;
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 0;
    background: rgba(251, 250, 247, .98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(15, 26, 48, .12);
}

.navbar .dropdown-item {
    font-weight: 500;
    color: var(--text-dark);
    padding: 8px 22px;
    transition: color .2s ease, background .2s ease;
    text-align: center;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    color: var(--primary-color);
    background: rgba(15, 26, 48, .04);
}

/* Asztali nézet: hover-re nyíljon, ne csak kattintásra */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .navbar .dropdown:hover > .dropdown-toggle::before,
    .navbar .dropdown-toggle[aria-expanded="true"]::before {
        transform: translateY(2px);
        background-color: var(--secondary-color);
    }
    .navbar .dropdown-item {
    text-align: start;
}
}


/* Mobil nézet: a dropdown-menu simán a collapse részeként jelenjen meg */
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        box-shadow: none;
        background: transparent;
        padding-left: 12px;
        border-radius: 0;
    }
}

/* 5. ------------------------------- HERO --------------------------- */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--gradient-night);
    color: var(--text-light);
    overflow: hidden;
}
.hero::before {
    /* csillagmező */
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.8), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,.7), transparent),
        radial-gradient(1.5px 1.5px at 80% 60%, rgba(255,255,255,.6), transparent),
        radial-gradient(1px 1px at 35% 75%, rgba(255,255,255,.7), transparent),
        radial-gradient(1.2px 1.2px at 90% 40%, rgba(227,199,133,.9), transparent),
        radial-gradient(1px 1px at 15% 85%, rgba(255,255,255,.6), transparent),
        radial-gradient(1.4px 1.4px at 50% 50%, rgba(255,255,255,.5), transparent);
    opacity: .9;
    animation: twinkle 6s ease-in-out infinite alternate;
}
.hero::after {
    content: '';
    position: absolute;
    right: -120px; top: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(201,162,75,.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }

.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--secondary-light); font-style: italic; }
.hero .hero-sub p { color: rgba(244,241,234,.85); font-size: 1rem; max-width: 560px; }
.hero-content { height: 100%; position: relative; z-index: 2; display: flex;flex-direction: column;justify-content: center;}

.hero-visual {
    position: relative;
    z-index: 2;
}
.hero-orb {
    width: min(420px, 80%);
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #3a517f, #16233f 70%);
    box-shadow: inset 0 0 60px rgba(0,0,0,.4), 0 0 80px rgba(124,107,176,.35);
    position: relative;
    display: grid;
    place-items: center;
}
.hero-orb .bi {
    font-size: clamp(4rem, 10vw, 7rem);
    color: var(--secondary-light);
    opacity: .9;
}
.hero-orb::before {
    content: '';
    position: absolute; inset: -18px;
    border: 1px dashed rgba(201,162,75,.4);
    border-radius: 50%;
    animation: spin 60s linear infinite;
}
.hero-orb::after {
    content: '';
    position: absolute; inset: -42px;
    border: 1px solid rgba(124,107,176,.25);
    border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-wave { display: block; width: 100%; height: auto; }

/* Statisztika sáv */
.stat-num { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700; color: var(--secondary-color); line-height: 1; }
.stat-label { font-size: .9rem; color: var(--text-muted); }

/* 6. ------------------------- SZEKCIÓK / KÁRTYÁK ------------------- */
.service-card {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    padding: 38px 30px;
    height: 100%;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(201,162,75,.5);
}
.service-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: var(--gradient-night);
    color: var(--secondary-light);
    font-size: 1.7rem;
    margin-bottom: 22px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card .price { font-family: var(--font-heading); font-weight: 700; color: var(--secondary-color); font-size: 1.25rem; }

.about-img {
    border-radius: var(--radius-lg);
    background: var(--gradient-night);
    display: grid; place-items: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}
.about-img .bi { font-size: 6rem; color: var(--secondary-light); opacity: .85; }
.about-img::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(1.2px 1.2px at 25% 25%, rgba(255,255,255,.7), transparent),
                      radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,.6), transparent),
                      radial-gradient(1.3px 1.3px at 50% 80%, rgba(227,199,133,.8), transparent);
}

.feature-list { list-style: none; padding-left: 0; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.feature-list .bi { color: var(--secondary-color); font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }

.step-card {
    text-align: center;
    padding: 30px 20px;
}
.step-num {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

/* 7. ------------------------ SWIPER TESTRESZABÁS ------------------- */
.swiper { padding-bottom: 60px !important; }
.swiper-slide {height: auto!important;}
.testimonial-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 36px 32px;
    height: 100%;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-soft);
}
.testimonial-card .bi-quote { font-size: 2.4rem; color: var(--secondary-light); }
.testimonial-card p { color: var(--text-dark); font-style: italic; }
.testimonial-author { font-family: var(--font-heading); font-weight: 700; color: var(--primary-color); }

.blog-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    border: 1px solid var(--border-soft);
    transition: transform .35s ease;
}
.blog-card:hover { transform: translateY(-6px); }
.blog-card .blog-thumb {}
.blog-card .blog-thumb a {display: block; height: 220px;background: var(--gradient-night);}
.blog-card .blog-thumb img {height: 100%!important;}
.blog-card .blog-body { padding: 26px 26px 30px; }
.blog-card a {color: var(--primary-color);}
.blog-date { font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--secondary-color); font-weight: 600; }

.swiper-pagination-bullet { background: var(--primary-color); opacity: .3; }
.bg-night .swiper-pagination-bullet {background-color: var(--accent-color);}
.swiper-pagination-bullet-active { background: var(--secondary-color); opacity: 1; }
.swiper-button-next, .swiper-button-prev { color: var(--secondary-color); }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 1.4rem; }

/* CTA szekció */
.cta-band {
    background: var(--gradient-night);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
/* .cta-band::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(1.5px 1.5px at 20% 40%, rgba(255,255,255,.7), transparent),
                      radial-gradient(1px 1px at 75% 30%, rgba(227,199,133,.8), transparent),
                      radial-gradient(1.2px 1.2px at 55% 75%, rgba(255,255,255,.6), transparent);
} */
.cta-band h2 { color: #fff; position: relative; z-index: 2; }
.cta-band p, .cta-band .btn { position: relative; z-index: 2; }

/* 8. ------------------------------- FOOTER ------------------------- */
.site-footer { background: var(--primary-dark); color: rgba(244,241,234,.75); }
.site-footer h5 { color: #fff; font-family: var(--font-heading); }
.site-footer a { color: rgba(244,241,234,.7); }
.site-footer a:hover { color: var(--secondary-light); }
.footer-social a {
    width: 42px; height: 42px;
    display: inline-grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(244,241,234,.2);
    color: rgba(244,241,234,.8);
    margin-right: 8px;
}
.footer-social a:hover { background: var(--secondary-color); color: var(--primary-dark); border-color: var(--secondary-color); }
.footer-bottom { border-top: 1px solid rgba(244,241,234,.12); font-size: .85rem; }
.list-unstyled ul {margin: 0;padding: 0;}
.list-unstyled li {list-style: none;}

/* 9. ---------------------- RESZPONZÍV FINOMHANGOLÁS ---------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(251, 250, 247, .98);
        backdrop-filter: blur(10px);
        border-radius: var(--radius-md);
        padding: 20px;
        margin-top: 12px;
        box-shadow: var(--shadow-card);
    }
    .navbar .nav-link::after { display: none; }
}
@media (max-width: 767.98px) {
    .hero { text-align: center; }
    .hero .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
}

/* CIKK */
.article-text a {color: var(--primary-light);border-bottom: 2px dashed var(--accent-color);}
.article-text img {width: auto;}

.bg-1 {background-color: var(--bg-body);}
.bg-2 {background-color: var(--primary-color);}
.pre-header p {margin: 0;}
.pre-header a:not(.btn) {color: var(--accent-color);}
.pre-header a:hover:not(.btn) {color: var(--bg-body);}
.pre-header i {font-size: 1.2rem;}
.pre-header .btn {font-size: .8rem;}

#regFormContent {max-width: 980px;margin: 0 auto;padding: 2rem 0;}

.form-control {border-radius: 32px;}

@media (max-width: 512px) {
    .pre-header .btn {padding: .25rem 1rem;font-size: .7rem;}
}