/* ============================================
   HOROSCOPE BOOKING SITE - MAIN STYLESHEET
   Modern, Responsive, SEO-Optimized Design
   ============================================ */

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1B1F3B;
    color: #D9D9D9;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 15px;
    font-size: clamp(1rem, 2vw, 1.125rem);
}

a {
    color: #FFB703;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FB8500;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background: linear-gradient(135deg, #1B1F3B 0%, #2a2f5a 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #FFB703;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 183, 3, 0.5);
}

/* Mobile Menu Toggle - Checkbox Hack */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.menu-icon span {
    width: 30px;
    height: 3px;
    background-color: #FFB703;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background: linear-gradient(135deg, #FFB703, #FB8500);
    color: #1B1F3B;
    transform: translateY(-2px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    nav {
        width: 100%;
        order: 3;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    #menu-toggle:checked ~ nav {
        max-height: 500px;
        margin-top: 20px;
    }

    #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(-45deg) translate(-8px, 6px);
    }

    #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(45deg) translate(-8px, -6px);
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        background: rgba(255, 183, 3, 0.1);
        border-left: 3px solid #FFB703;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(255, 183, 3, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #FFB703, #FB8500);
    color: #1B1F3B;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 183, 3, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #FFB703;
    color: #FFB703;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FFB703, #FB8500);
    color: #1B1F3B;
}

/* ============================================
   CONTAINERS & SECTIONS
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFB703, #FB8500);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(27, 31, 59, 0.7), rgba(27, 31, 59, 0.85)), url('./img/juj58X.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}



.hero h1 {
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 40px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ============================================
   CARDS & GRID LAYOUTS
   ============================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.1), rgba(251, 133, 0, 0.05));
    border: 2px solid rgba(255, 183, 3, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
    transform: translateY(-10px);
    border-color: #FFB703;
    box-shadow: 0 15px 40px rgba(255, 183, 3, 0.4);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 10px rgba(255, 183, 3, 0.5));
}

.card h3 {
    color: #FFB703;
    margin-bottom: 15px;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.05), rgba(251, 133, 0, 0.02));
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 183, 3, 0.2);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFB703;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 10px;
}

.testimonial-author {
    color: #FFB703;
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .testimonial-item {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-img {
        margin: 0 auto;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item details {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 183, 3, 0.3);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item details:hover {
    border-color: #FFB703;
    box-shadow: 0 8px 20px rgba(255, 183, 3, 0.2);
}

.faq-item details[open] {
    border-color: #FFB703;
    background: rgba(255, 183, 3, 0.1);
}

.faq-item summary {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFB703;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #FFB703;
    transition: transform 0.3s ease;
}

.faq-item details[open] summary::after {
    content: '−';
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 183, 3, 0.2);
    color: #D9D9D9;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-section {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.08), rgba(251, 133, 0, 0.05));
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 183, 3, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFB703;
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 183, 3, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #1B1F3B;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFB703;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.3);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #FFFFFF;
    color: #1B1F3B;
    padding: 10px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.95rem;
    cursor: pointer;
}

.form-group button {
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(135deg, #0f1229, #1B1F3B);
    padding: 50px 20px 20px;
    border-top: 3px solid #FFB703;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #FFB703;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section ul {
    color: #D9D9D9;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #D9D9D9;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFB703;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 183, 3, 0.2);
    color: #D9D9D9;
}

/* ============================================
   COOKIE CONSENT POPUP
   ============================================ */
#cookie-consent {
    position: fixed;
    bottom: -300px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1B1F3B, #2a2f5a);
    padding: 25px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: bottom 0.5s ease;
    border-top: 3px solid #FFB703;
}

#cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    color: #FFFFFF;
}

.cookie-content button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #FFB703, #FB8500);
    color: #1B1F3B;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cookie-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 183, 3, 0.4);
}

/* ============================================
   ABOUT, BLOG, TIPS PAGES
   ============================================ */
.page-header {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(251, 133, 0, 0.1));
    padding: 60px 20px;
    text-align: center;
    border-bottom: 3px solid #FFB703;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.content-block {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 183, 3, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.content-block h2 {
    color: #FFB703;
    margin-bottom: 20px;
}

.content-block img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 15px;
    margin: 20px auto;
    display: block;
    border: 3px solid rgba(255, 183, 3, 0.3);
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 183, 3, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: #FFB703;
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.3);
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin: 0;
    border: none;
    border-radius: 0;
}

.blog-card-content {
    padding: 20px;
}

.blog-card h3 {
    color: #FFB703;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thank-you-container {
    max-width: 700px;
    margin: 80px auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid #FFB703;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.thank-you-container h1 {
    color: #FFB703;
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.thank-you-container p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.thank-you-icon {
    font-size: 5rem;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 20px rgba(255, 183, 3, 0.5));
}

/* ============================================
   POLICY PAGES
   ============================================ */
.policy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 183, 3, 0.3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.policy-container h1 {
    color: #FFB703;
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    color: #FFB703;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.policy-container h3 {
    color: #FB8500;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 20px;
    line-height: 1.8;
}

.policy-container ul {
    padding-left: 30px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

.policy-contact {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 183, 3, 0.3);
}

.policy-contact h3 {
    color: #FFB703;
    margin-bottom: 15px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 992px) {
    section {
        padding: 60px 20px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 80px 20px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .content-block {
        padding: 30px 20px;
    }

    .thank-you-container {
        margin: 40px 20px;
        padding: 40px 25px;
    }

    .policy-container {
        margin: 20px;
        padding: 30px 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .card {
        padding: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

