/* Main Styles for domain - Astrological Services Website */

/* CSS Variables for Color Palette */
:root {
    --primary: #193B7A;    /* Sapphire Blue */
    --accent: #FF6B6B;     /* Coral Pink */
    --background: #0E0E0E; /* Deep Anthracite */
    --text: #FDF6E3;       /* Light Sand */
    --button: #00B8A9;     /* Turquoise */
    --header-bg: #0a0a0a;  /* Slightly Lighter than Background */
    --footer-bg: #161616;  /* Slightly Lighter than Background */
    --card-bg: #1a1a1a;    /* Card Background */
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

p {
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container > h2, .container > p {
    text-align: center;
}

.container > p {
    margin-bottom: 2rem;
}

section {
    padding: 4rem 0;
    display: flex;
    align-items: center;
}
.hero {
    min-height: 100vh;

}

/* Header Styles */
header {
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

#menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text);
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

#menu-toggle:checked ~ nav {
    max-height: 100vh;
}

/* Hero Section */
.hero {
    background-image: url('../img/1xYsa.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 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;
    color: var(--text);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: block;
    padding: 12px 24px;
    background-color: var(--button);
    color: var(--text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin: auto;
    max-width: max-content;
}

.btn:hover {
    background-color: #009b8e;
    color: var(--text);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content {
    padding: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
    background-color: rgba(25, 59, 122, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
}

.benefit-item h3 {
    margin-top: 1rem;
    color: var(--accent);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.testimonial {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--accent);
}

/* FAQ Section */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.faq-question {
    background-color: transparent;
    color: var(--text);
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.1rem;
    position: relative;
    display: block;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.faq-checkbox {
    display: none;
}

.faq-checkbox:checked + .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 1rem;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.step {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.step-number {
    background-color: var(--primary);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* Form Section */
.form-container {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #1d1d1d;
    color: var(--text);
}

select.form-control option {
    background-color: white;
    color: black;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

/* Thank You Page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 600px;
    margin: 5rem auto;
}

.thanks-container h1 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    max-width: 90%;
    width: 400px;
    min-width: 300px;
}

.cookie-content {
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Content Pages (Legal, Blog, etc) */
.page-content {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 800px;
}

.page-content h1 {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .header-content {
        position: relative;
    }
    
    .menu-button {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
        gap: 5px;
    }
    
    nav li {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .thanks-section {
        height: auto;
    }
    
    .nav {
        height: 100vh;
    }
}
