/* ============================================
   NUMEROLOGY WEBSITE - STYLES
   ============================================ */

:root {
    --primary: #4A0E4E;
    --secondary: #C9A84C;
    --accent: #1A1A2E;
    --text: #2D2D2D;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-light: #FBF8F0;
    --bg-dark: #1A0A2E;
    --gradient: linear-gradient(135deg, #4A0E4E, #7B2D8B);
    --gold-gradient: linear-gradient(135deg, #C9A84C, #E8D48B);
    --shadow: 0 10px 40px rgba(74, 14, 78, 0.15);
    --shadow-hover: 0 20px 60px rgba(74, 14, 78, 0.25);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

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

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    transition: var(--transition);
}

.nav-logo-img {
    height: 45px;
    width: auto;
    border-radius: 4px;
}

.navbar.scrolled .nav-logo {
    color: var(--primary);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

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

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text);
}

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

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

.nav-cta {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 500;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 14, 78, 0.4);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text);
}

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--bg-dark);
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(74, 14, 78, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(123, 45, 139, 0.3) 0%, transparent 50%);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 1; }
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    margin: 10px auto 0;
}

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

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(74, 14, 78, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 14, 78, 0.4);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--accent);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.85rem;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ---- SECTIONS ---- */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--accent);
    margin-bottom: 10px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
}

/* ---- ABOUT ---- */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-logo-img {
    width: 80%;
    height: auto;
    object-fit: contain;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ---- NUMEROLOGY SERVICES ---- */
.numerology {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid #f0e6ff;
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---- TAROT ---- */
.tarot {
    background: var(--bg-dark);
    color: var(--white);
}

.tarot .section-title {
    color: var(--white);
}

.tarot .section-description {
    color: rgba(255, 255, 255, 0.7);
}

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

.tarot-card {
    perspective: 1000px;
    height: 300px;
    cursor: pointer;
}

.tarot-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.tarot-card:hover .tarot-card-inner {
    transform: rotateY(180deg);
}

.tarot-card-front,
.tarot-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.tarot-card-front {
    background: linear-gradient(135deg, #1A0A2E, #4A0E4E);
    border: 2px solid rgba(201, 168, 76, 0.3);
}

.tarot-card-back {
    background: linear-gradient(135deg, #4A0E4E, #7B2D8B);
    border: 2px solid rgba(201, 168, 76, 0.5);
    transform: rotateY(180deg);
}

.tarot-symbol {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.tarot-card-front h3 {
    color: var(--white);
    font-size: 1.2rem;
}

.tarot-card-back p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 0.95rem;
}

/* ---- CONSULTATION FORM ---- */
.consultation {
    background: var(--bg-light);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 50px 40px;
    box-shadow: var(--shadow);
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e8e0f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 52, 131, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.form-success h3 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.success-note {
    font-size: 0.85rem;
    color: #27ae60;
    font-weight: 500;
}

.form-divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e8e0f0;
}

.form-divider span {
    background: var(--white);
    padding: 0 20px;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
}

.google-form-link {
    text-align: center;
}

.google-form-link p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.google-form-link .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.google-form-link .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.google-form-mandatory {
    background: #f9f5ff;
    border: 2px dashed var(--primary);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.form-help-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.google-form-link-btn {
    border-color: var(--primary);
    color: var(--primary);
    margin-bottom: 15px;
}

.google-form-link-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.form-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text);
    cursor: pointer;
    font-weight: 500;
}

/* ---- CONTACT ---- */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid #f0e6ff;
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.whatsapp-icon {
    background: #25D366;
    color: white;
}

.instagram-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.phone-icon {
    background: var(--primary);
    color: white;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--accent);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.qr-code {
    margin-top: 20px;
}

.qr-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.qr-placeholder {
    width: 120px;
    height: 120px;
    background: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #aaa;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--bg-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
    margin-bottom: 30px;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ---- FLOATING WHATSAPP ---- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: floatBtn 3s infinite ease-in-out;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;
}

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

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 40px;
        gap: 25px;
        transition: var(--transition);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

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

    .nav-menu .nav-link {
        color: var(--text);
        font-size: 1.1rem;
    }

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

    .about-image-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-stats {
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

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

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

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

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}
