/* Main Styles for Horoscope Booking Website */

/* 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: 'Montserrat', sans-serif;
    background-color: #191919;
    color: #EDEDED;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #F0A500;
    margin-bottom: 1.5rem;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #4FD1C5;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 4rem 0;
}

.container > h2, .container > p {
    text-align: center;
}

/* Header */
header {
    background-color: #111111;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #F0A500;
}

/* Navigation */
nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    color: #EDEDED;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #4FD1C5;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    width: 30px;
}

.menu-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #EDEDED;
    transition: all 0.3s ease;
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.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;
}

/* Button Styles */
.btn {
    display: block;
    margin: auto;
    max-width: max-content;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    color: #EDEDED;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(to right, #0F2027, #2C5364);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* Services Section */
.services {
    background-color: #1A1A1A;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background-color: #1F1F1F;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: grid;
    grid-template-rows: 200px 1fr auto;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
}

.service-card .btn {
    margin-top: 15px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #1F1F1F;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #4FD1C5;
}

/* Testimonials */
.testimonials {
    background-color: #1A1A1A;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: #1F1F1F;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: #F0A500;
}

/* FAQ Section */
.faq-checkbox {
    display: none;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #1F1F1F;
    padding: 15px 20px;
    cursor: pointer;
    position: relative;
    display: block;
    font-weight: 600;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: #2A2A2A;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-checkbox:checked ~ .faq-question::after {
    content: '-';
}

/* About Specialist */
.specialist {
    text-align: center;
}

.specialist-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 2rem;
    border: 3px solid #4FD1C5;
}

/* Form Section */
.form-container {
    background-color: #1F1F1F;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 3rem auto 0;
}

form .form-group {
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 5px;
    background-color: #2A2A2A;
    color: #EDEDED;
}

form select option {
    color: black;
    background-color: white;
}

form .checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

form .checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

form .checkbox-group label {
    font-size: 0.9rem;
}

form .btn {
    width: 100%;
    margin-top: 20px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 3rem;
}

.contact-info {
    background-color: #1F1F1F;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 15px;
    color: #4FD1C5;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #111111;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #1F1F1F;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 400px;
    min-width: 300px;
    display: none;
}

.cookie-content {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

/* Thank You Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    background-color: #1F1F1F;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 5rem auto;
    max-width: 600px;
}

/* Legal Pages */
.legal-content {
    background-color: #1F1F1F;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 3rem auto;
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 2rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul, 
.legal-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .menu-icon {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #111111;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    #menu-toggle:checked ~ nav {
        max-height: 100vh;
    }
   
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        margin-bottom: 10px;
    }
    
    .thanks-section {
        height: auto;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
