/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

section[id] {
    scroll-margin-top: 80px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1D1D1D;
    background-color: #E4FFF8;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Cookie Popup ===== */
.cookie-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1D1D1D;
    color: #E4FFF8;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: #CFFF3F;
    text-decoration: underline;
}

.btn-cookie {
    background: #7A5CFA;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background: #6348d8;
    transform: translateY(-2px);
}

/* ===== Header & Navigation ===== */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #7A5CFA;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: #7A5CFA;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: #1D1D1D;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #7A5CFA;
}

.btn-nav {
    background: #7A5CFA;
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: #6348d8;
    transform: translateY(-2px);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu li {
        border-bottom: 1px solid #E4FFF8;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
    }

    .menu-toggle:checked ~ .nav-menu {
        max-height: 500px;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #7A5CFA 0%, #FFB78C 100%);
    background-image: url('./img/5aRk9N.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(122, 92, 250, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #CFFF3F;
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: #CFFF3F;
    color: #1D1D1D;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(207, 255, 63, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(207, 255, 63, 0.5);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    color: #7A5CFA;
}

.section-intro {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #1D1D1D;
    opacity: 0.9;
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-intro {
        font-size: 16px;
    }
}

/* ===== Services Section ===== */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #E4FFF8;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #7A5CFA;
    box-shadow: 0 10px 30px rgba(122, 92, 250, 0.2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #7A5CFA;
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
}

/* ===== Why Us Section ===== */
.why-us {
    background: linear-gradient(135deg, #E4FFF8 0%, #FFB78C 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.why-number {
    font-size: 48px;
    font-weight: 700;
    color: #CFFF3F;
    text-shadow: 2px 2px 0 #7A5CFA;
    margin-bottom: 15px;
}

.why-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #7A5CFA;
}

.why-item p {
    font-size: 16px;
    line-height: 1.7;
}

/* ===== Gallery Section ===== */
.gallery {
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(122, 92, 250, 0.9), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* ===== Horoscope Types Section ===== */
.horoscope-types {
    background: linear-gradient(135deg, #7A5CFA 0%, #FFB78C 100%);
}

.horoscope-types .section-title,
.horoscope-types .section-intro {
    color: white;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.type-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.type-card.featured {
    border: 3px solid #CFFF3F;
}

.type-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #CFFF3F;
    color: #1D1D1D;
    padding: 8px 40px;
    font-weight: 700;
    font-size: 14px;
    transform: rotate(45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.type-header {
    background: #7A5CFA;
    color: white;
    padding: 30px 25px;
    text-align: center;
}

.type-header h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.type-price {
    font-size: 32px;
    font-weight: 700;
    color: #CFFF3F;
}

.type-body {
    padding: 30px 25px;
}

.type-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.type-features {
    margin-bottom: 30px;
}

.type-features li {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #E4FFF8;
}

.type-features li:last-child {
    border-bottom: none;
}

.btn-type {
    display: block;
    text-align: center;
    background: #7A5CFA;
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-type:hover {
    background: #6348d8;
    transform: translateY(-2px);
}

/* ===== Order Form Section ===== */
.order-section {
    background: white;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #E4FFF8;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.form-error {
    background: #FFB78C;
    color: #1D1D1D;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1D1D1D;
}

.required {
    color: #7A5CFA;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #7A5CFA;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #CFFF3F;
    box-shadow: 0 0 0 3px rgba(207, 255, 63, 0.2);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #7A5CFA;
}

.checkbox-label a {
    color: #7A5CFA;
    text-decoration: underline;
}

.btn-submit {
    background: #7A5CFA;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #6348d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 92, 250, 0.3);
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 25px;
    }
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: linear-gradient(135deg, #E4FFF8 0%, #FFB78C 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    font-size: 20px;
    margin-bottom: 15px;
    color: #CFFF3F;
    text-shadow: 1px 1px 0 #7A5CFA;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #7A5CFA;
    text-align: right;
}

/* ===== FAQ Section ===== */
.faq {
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #E4FFF8;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #7A5CFA;
}

.faq-question {
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    background: #7A5CFA;
    color: white;
    user-select: none;
    list-style: none;
    position: relative;
    padding-right: 50px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.8;
    background: white;
}

/* ===== Footer ===== */
.main-footer {
    background: #1D1D1D;
    color: #E4FFF8;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #CFFF3F;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-column a {
    color: #E4FFF8;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #CFFF3F;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    display: inline-block;
    padding: 5px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(228, 255, 248, 0.2);
}

/* ===== Policy Pages ===== */
.policy-page {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    border: 3px solid #7A5CFA;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.policy-page h1 {
    color: #7A5CFA;
    margin-bottom: 30px;
    font-size: 36px;
}

.policy-page h2 {
    color: #7A5CFA;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.policy-page h3 {
    color: #1D1D1D;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
}

.policy-page p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-page ul, .policy-page ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.policy-page li {
    margin-bottom: 8px;
    line-height: 1.7;
    list-style: disc;
}

.policy-page a {
    color: #7A5CFA;
    text-decoration: underline;
}

.policy-contact {
    background: #E4FFF8;
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid #7A5CFA;
}

.policy-contact h3 {
    color: #7A5CFA;
    margin-top: 0;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 30px 20px;
        margin: 20px;
    }

    .policy-page h1 {
        font-size: 28px;
    }

    .policy-page h2 {
        font-size: 22px;
    }
}

/* ===== Thank You Page ===== */
.thank-you-page {
    max-width: 700px;
    margin: 80px auto;
    background: white;
    padding: 60px 50px;
    border-radius: 20px;
    border: 3px solid #7A5CFA;
    box-shadow: 0 10px 40px rgba(122, 92, 250, 0.3);
    text-align: center;
}

.thank-you-page h1 {
    color: #7A5CFA;
    font-size: 42px;
    margin-bottom: 20px;
}

.thank-you-icon {
    font-size: 80px;
    margin-bottom: 30px;
}

.thank-you-page p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.thank-you-page .btn-primary {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .thank-you-page {
        margin: 40px 20px;
        padding: 40px 30px;
    }

    .thank-you-page h1 {
        font-size: 32px;
    }

    .thank-you-icon {
        font-size: 60px;
    }
}

/* ===== Additional Pages ===== */
.page-hero {
    background: linear-gradient(135deg, #7A5CFA 0%, #FFB78C 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.95;
}

.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.content-card {
    background: #E4FFF8;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(122, 92, 250, 0.2);
}

.content-card h3 {
    color: #7A5CFA;
    margin-bottom: 15px;
    font-size: 22px;
}

.content-card p {
    line-height: 1.7;
}

.content-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: #7A5CFA;
    margin-bottom: 12px;
    font-size: 22px;
}

.blog-card p {
    line-height: 1.7;
    color: #1D1D1D;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 18px;
    }

    .content-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

