/* Global Styles */
:root {
    --primary-bg: #0F0E1B;
    --primary-accent: #FF3CAC;
    --secondary-accent: #784BA0;
    --text-light: #FFFFFF;
    --text-muted: #D3D3D3;
    --gradient-primary: linear-gradient(135deg, #FF3CAC 0%, #784BA0 50%, #0F0E1B 100%);
    --border-radius: 15px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container > h2, .container > p {
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-accent);
    text-decoration: none;
    transition: opacity var(--transition-speed);
}

a:hover {
    opacity: 0.8;
}

.btn {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 700;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    margin: auto;
    max-width: max-content;
    display: block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section {
    padding: 4rem 0;
}

/* Header Styles */
.header {
    background-color: rgba(15, 14, 27, 0.97);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-accent);
}

.nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav a {
    color: var(--text-light);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-accent);
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    background-image: url('./img/nINvSz.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 14, 27, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--primary-bg) 0%, rgba(20, 18, 40, 1) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-accent);
}

/* Benefits Section */
.benefits {
    background-color: rgba(20, 18, 40, 1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: transform var(--transition-speed);
}

.benefit-item:hover {
    transform: scale(1.05);
}

.benefit-item h3 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(180deg, rgba(20, 18, 40, 1) 0%, var(--primary-bg) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-accent);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-accent);
}

/* Horoscope Types Section */
.horoscope-types {
    background: linear-gradient(180deg, var(--primary-bg) 0%, rgba(20, 18, 40, 1) 100%);
}

.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.horoscope-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.horoscope-card:hover {
    transform: translateY(-10px);
}

.horoscope-card h3 {
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

.horoscope-card p {
    margin-bottom: 1.5rem;
}

/* Form Section */
.contact-form {
    background-color: rgba(20, 18, 40, 1);
    padding: 4rem 0;
}

.form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

option {
    color: black;
    background-color: white;
}

.form-check {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

/* FAQ Section */
.faq {
    background: linear-gradient(180deg, rgba(20, 18, 40, 1) 0%, var(--primary-bg) 100%);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    display: block;
    font-weight: 700;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    transition: transform var(--transition-speed);
}

.faq-answer {
    background: rgba(255, 255, 255, 0.02);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed), padding var(--transition-speed);
}

.faq-checkbox {
    display: none;
}

.faq-checkbox:checked + .faq-question::after {
    transform: rotate(45deg);
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* Footer */
.footer {
    background-color: rgba(10, 9, 20, 1);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 14, 27, 0.95);
    border: 1px solid var(--primary-accent);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    z-index: 1001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 400px;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: fadeIn 0.5s;
}

.cookie-content {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Policy Pages */
.policy-section {
    padding: 6rem 0;
    min-height: calc(100vh - 200px);
}

.policy-section .container {
    max-width: 900px;
}

.policy-section h1 {
    margin-bottom: 2.5rem;
    color: var(--primary-accent);
    text-align: center;
}

.policy-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
}

.policy-content h2 {
    color: var(--primary-accent);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.policy-content p, .policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    margin-left: 1.5rem;
}

/* Thanks Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-content {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.thanks-content h1 {
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
}

/* About, Blog, Tips Pages */
.content-section {
    padding: 6rem 0;
    min-height: calc(100vh - 200px);
}

.content-section h1 {
    text-align: center;
}

.content-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-top: 2rem;
}

/* Mobile menu toggle */
.menu-toggle-label {
    display: none;
    cursor: pointer;
}

.menu-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: transform var(--transition-speed), opacity var(--transition-speed);
}

#menu-toggle {
    display: none;
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(15, 14, 27, 0.97);
        transform: translateX(-100%);
        transition: transform var(--transition-speed);
        z-index: 999;
    }

    .nav ul {
        flex-direction: column;
        padding: 2rem;
        height: 100%;
    }

    .menu-toggle-label {
        display: block;
        z-index: 1000;
    }

    #menu-toggle:checked ~ .nav {
        transform: translateX(0);
        max-height: 100vh;
    }

    #menu-toggle:checked + .menu-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    #menu-toggle:checked + .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .thanks-section {
        height: auto;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
