@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Raleway:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

:root {
    --gold:       #c9a84c;
    --gold-light: #e8cc80;
    --gold-dim:   #7a5e25;
    --bg-deep:    #080608;
    --bg-dark:    #100d14;
    --bg-card:    #16111e;
    --bg-card2:   #1c1528;
    --purple:     #3b1f5e;
    --purple-mid: #5a3080;
    --text-main:  #e8e0d0;
    --text-muted: #9b8fa0;
    --border:     rgba(201,168,76,0.25);
    --border-glow:rgba(201,168,76,0.6);
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── HEADER ── */
.header {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem 2rem;
    background-image:
        linear-gradient(to bottom, rgba(8,6,8,0.55) 0%, rgba(8,6,8,0.82) 100%),
        url('../img/tarot.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* decorative corner borders */
.header::before,
.header::after {
    content: '';
    position: absolute;
    width: 120px; height: 120px;
    border-color: var(--gold);
    border-style: solid;
    opacity: 0.45;
}
.header::before {
    top: 24px; left: 24px;
    border-width: 2px 0 0 2px;
}
.header::after {
    bottom: 24px; right: 24px;
    border-width: 0 2px 2px 0;
}

.header-ornament {
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 0.6em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 1s 0.2s forwards;
}

.header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--gold-light);
    text-shadow: 0 0 40px rgba(201,168,76,0.4);
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 1s 0.4s forwards;
}

.header-phone {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-top: 0.4rem;
    opacity: 0;
    animation: fadeUp 1s 0.55s forwards;
}

.header-divider {
    width: 180px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 1.4rem auto;
    opacity: 0;
    animation: fadeUp 1s 0.65s forwards;
}

.header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-main);
    opacity: 0;
    animation: fadeUp 1s 0.75s forwards;
}

.header h3 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.header h4 {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.3rem;
}

.header-contact-wrap {
    margin: 1.8rem 0 1rem;
    opacity: 0;
    animation: fadeUp 1s 1.1s forwards;
}

/* ── CONTACT LINKS ── */
.header__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.header__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg-deep);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    padding: 0.65rem 1.6rem;
    border-radius: 0;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}

.header__links a:hover {
    background: linear-gradient(135deg, #fff8e7, var(--gold-light));
    box-shadow: 0 6px 30px rgba(201,168,76,0.55);
    transform: translateY(-2px);
}

/* ── SECTION ORNAMENT ── */
.section-title {
    text-align: center;
    padding: 3.5rem 1rem 2.5rem;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 0.06em;
}

.section-title .ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.8rem;
}

.section-title .ornament-line span {
    display: block;
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.section-title .ornament-line span:last-child {
    background: linear-gradient(to left, transparent, var(--gold));
}

.section-title .ornament-line i {
    color: var(--gold);
    font-size: 0.85rem;
}

/* ── HERO (services list) ── */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--purple) 100%);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '✦';
    position: absolute;
    font-size: 18rem;
    color: rgba(201,168,76,0.03);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.hero h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.hero h3 {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.hero ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-main);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    padding: 0.75rem 1.2rem;
    border-radius: 2px;
    transition: border-color 0.3s, background 0.3s;
}

.hero ul li::before {
    content: '✦';
    color: var(--gold);
    font-size: 0.65rem;
    flex-shrink: 0;
}

.hero ul li:hover {
    border-color: var(--border-glow);
    background: rgba(201,168,76,0.06);
}

/* ── PORTRAIT / IMAGE ── */
.image {
    text-align: center;
    line-height: 0;
}

.image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.portrait-wrap {
    position: relative;
    display: inline-block;
    margin: 2rem auto;
}

.portrait-wrap img {
    max-width: min(420px, 90vw);
    height: auto;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 60px rgba(201,168,76,0.15), 0 0 120px rgba(59,31,94,0.4);
    display: block;
}

/* ── SERVICES GRID ── */
.servicescontainer {
    background: var(--bg-dark);
    padding: 1rem 1.5rem 3rem;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold-dim), var(--gold));
    transition: width 0.4s ease;
}

.card:hover { background: var(--bg-card2); }
.card:hover::after { width: 60%; }

.card i {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── TAROT CTA ── */
.tarotsection {
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-deep));
    padding: 3rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    color: var(--text-main);
}

/* ── STATS BANNER ── */
.clients {
    background-image:
        linear-gradient(rgba(8,6,8,0.82), rgba(8,6,8,0.82)),
        url('../img/ritual.jpg');
}

.love {
    background-image:
        linear-gradient(rgba(8,6,8,0.8), rgba(8,6,8,0.8)),
        url('../img/love.jpg');
}

.curse {
    background-image:
        linear-gradient(rgba(8,6,8,0.8), rgba(8,6,8,0.8)),
        url('../img/curse.jpg');
}

.future {
    background-image:
        linear-gradient(rgba(8,6,8,0.8), rgba(8,6,8,0.8)),
        url('../img/tarot3.jpg');
}

.banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 4rem 1.5rem;
    text-align: center;
    min-height: 380px;
    gap: 1.5rem;
}

.banner h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--text-main);
    max-width: 700px;
    line-height: 1.4;
}

.banner h4 span {
    font-style: normal;
    font-weight: 600;
    color: var(--gold-light);
    font-size: 1.2em;
}

/* stats row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-item .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1;
    display: block;
}

.stat-item .label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.3rem;
    display: block;
}

/* ── ABOUT ── */
.description {
    background:
        linear-gradient(rgba(8,6,8,0.78), rgba(8,6,8,0.78)),
        url('../img/tarot2.jpg');
    background-position: center;
    background-size: cover;
    padding: 5rem 2rem;
    text-align: center;
}

.description h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.description p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-main);
    max-width: 720px;
    margin: 0 auto 1.2rem;
    line-height: 1.8;
}

/* ── TESTIMONIALS ── */
.testimonials {
    background: var(--bg-dark);
    padding: 1rem 1.5rem 4rem;
    text-align: center;
}

.testimonials h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.testimonials__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    list-style: none;
    max-width: 1100px;
    margin: 2rem auto 0;
}

.testimonials__section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--gold-dim);
    padding: 1.8rem 1.5rem;
    text-align: left;
    transition: border-color 0.3s;
}

.testimonials__section:hover {
    border-color: var(--border-glow);
    border-top-color: var(--gold);
}

.testimonials__section blockquote p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-main);
    line-height: 1.7;
}

.testimonials__section blockquote i {
    color: var(--gold-dim);
    font-size: 0.9rem;
}

.testimonials__section cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-style: normal;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

/* ── COMMENTS ── */
.comments {
    background: var(--bg-deep);
    padding: 3rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.comments h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 300;
    color: var(--gold-light);
    text-align: center;
    margin-bottom: 2rem;
}

.comments form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.comments form textarea,
.comments form input[type="text"],
.comments form input:not([type="submit"]) {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    padding: 0.85rem 1.1rem;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
    width: 100%;
}

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

.comments form textarea:focus,
.comments form input:focus {
    border-color: var(--gold-dim);
}

.comments form input[type="submit"] {
    background: linear-gradient(135deg, var(--gold-dim), var(--gold));
    color: var(--bg-deep);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.comments form input[type="submit"]:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.testimonial {
    border-left: 2px solid var(--gold-dim);
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
    background: var(--bg-card);
    transition: border-color 0.3s;
}

.testimonial:hover { border-left-color: var(--gold); }

.testimonial p:first-child {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.4rem;
}

.testimonial p:first-child em {
    color: var(--text-muted);
}

.testimonial p:last-child {
    font-size: 0.95rem;
    color: var(--text-main);
    font-weight: 300;
    line-height: 1.7;
}

/* ── FINAL CALLOUT ── */
.callout {
    background:
        linear-gradient(rgba(8,6,8,0.88), rgba(8,6,8,0.88)),
        url('../img/tarot.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 5rem 1.5rem;
    position: relative;
}

.callout::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(201,168,76,0.2);
    pointer-events: none;
}

.callout h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 300;
    color: var(--gold-light);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

.callout h3 {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

/* ── FOOTER ── */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.footer i {
    color: var(--gold);
}

/* ── FADE-IN ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

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

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── POPUP ── */
.popup {
    text-align: center;
    border-radius: 2px;
    width: 80%;
    border: 1px solid var(--border-glow);
    position: fixed;
    top: 0; left: 50%;
    padding: 0 10px 10px;
    font-size: 1.5rem;
    transform: translate(-50%, -50%) scale(0.1);
    background-color: rgba(16,13,20,0.97);
    color: var(--text-main);
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
    z-index: 1000;
}

.popup h2 { font-size: 3rem; color: var(--gold-light); }

.popup button {
    font-size: 0.8em;
    border-radius: 2px;
    border: 1px solid var(--border-glow);
    color: var(--gold);
    background: transparent;
    padding: 0.5em 1em;
    cursor: pointer;
    transition: background 0.2s;
}

.popup button:hover { background: var(--purple); }

.open-popup {
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}

/* ── NOWRAP ── */
.nowrap { white-space: nowrap; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .header::before, .header::after { width: 60px; height: 60px; }
    .stats-row { gap: 2rem; }
    .callout::before { inset: 10px; }
}