/* 
* Domain - Horoscope Service Website
* Main Stylesheet
*/

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    font-size: 16px;
}

section[id] {
    scroll-margin-top: 40px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-image: linear-gradient(135deg, #3A1C71, #D76D77, #FFAF7B);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
}

a:hover {
    color: #FFD700;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
    color: #333333;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.95);
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Buttons --- */
.cta-button, .card-button, .submit-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FF6B6B;
    color: white;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #FF6B6B;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover, .card-button:hover, .submit-button:hover {
    background-color: transparent;
    color: #FF6B6B;
    border-color: #FF6B6B;
}

.text-button {
    display: inline-block;
    color: #FF6B6B;
    font-weight: 600;
    text-decoration: underline;
}

.text-button:hover {
    color: #FFD700;
}

.social-link {
    display: inline-block;
    margin-right: 15px;
    color: #3A1C71;
    font-weight: 600;
}

.social-link:hover {
    color: #FF6B6B;
}

/* --- Header Styles --- */
.main-header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3A1C71;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.logo a:hover {
    color: #D76D77;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: #333333;
    font-weight: 600;
}

.main-nav a:hover {
    color: #FF6B6B;
}

.main-nav li.cta a {
    color: white;
    background-color: #FF6B6B;
    padding: 8px 15px;
    border-radius: 20px;
    border: 2px solid #FF6B6B;
}

.main-nav li.cta a:hover {
    background-color: transparent;
    color: #FF6B6B;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/aooVL6.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    margin-top: 0;
    border-radius: 0;
}

.hero-section h1, .hero-section h2 {
    color: white;
    margin-bottom: 30px;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section h2 {
    font-weight: 400;
    margin-bottom: 40px;
}

/* --- Services Section --- */
.services-section {
    text-align: center;
}

.services-section p {
    max-width: 800px;
    margin: 0 auto 20px;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: #3A1C71;
}

/* --- Horoscope Types Section --- */
.horoscope-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.horoscope-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.horoscope-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.horoscope-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.horoscope-card h3 {
    padding: 20px 20px 10px;
    color: #3A1C71;
}

.horoscope-card p {
    padding: 0 20px 20px;
}

.horoscope-card .card-button {
    margin: 0 20px 20px;
    display: inline-block;
}

/* --- Testimonials Section --- */
.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: #3A1C71;
    font-weight: 600;
}

/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text p {
    margin-bottom: 20px;
}

/* --- Order Form Section --- */
.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.checkbox-group label {
    display: inline;
    margin: 0;
}

.submit-button {
    width: 100%;
    border: none;
    font-size: 1rem;
}

/* --- FAQ Section --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #3A1C71;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
    padding: 0 20px 20px;
}

/* --- Contact Section --- */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    color: #3A1C71;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info p i {
    margin-right: 10px;
    color: #3A1C71;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-links {
    margin-top: 20px;
}

/* --- Footer Styles --- */
.main-footer {
    background-color: rgba(58, 28, 113, 0.95);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-contact h4,
.footer-links h4 {
    color: #FFD700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.main-footer a {
    color: white;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* --- Cookie Consent --- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(51, 51, 51, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 9999;
    display: none; /* Hidden by default, shown via JS */
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
}

.cookie-content a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-button {
    padding: 8px 20px;
    background-color: #FFD700;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background-color: white;
}

/* --- Policy Pages --- */
.policy-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
}

.policy-section h1 {
    color: #3A1C71;
    margin-bottom: 30px;
    text-align: center;
}

.policy-section h2 {
    color: #D76D77;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
}

.policy-section p {
    margin-bottom: 20px;
}

.policy-section ul,
.policy-section ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.policy-section li {
    margin-bottom: 10px;
}

/* --- Thank You Page --- */
.thank-you-section {
    text-align: center;
    padding: 100px 0;
}

.thank-you-section h1 {
    color: #3A1C71;
    margin-bottom: 30px;
}

.thank-you-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3A1C71;
    color: white;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #D76D77;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    /* Mobile Navigation */
    .menu-icon {
        display: block;
        z-index: 1001;
    }
    
    .menu-toggle:checked ~ .main-nav {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 8px;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 8px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background: white;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 15px 0;
        width: 100%;
    }
    
    .main-nav li.cta {
        margin-top: 20px;
    }
    
    .main-nav li.cta a {
        display: block;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-section {
        min-height: 60vh;
    }
    
    .benefits-grid,
    .horoscope-cards,
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    .policy-section {
        padding: 30px 20px;
    }
}

/* Icons using CSS */
.icon-location::before {
    content: "📍";
    margin-right: 5px;
}

.icon-phone::before {
    content: "📞";
    margin-right: 5px;
}

.icon-mail::before {
    content: "✉️";
    margin-right: 5px;
}
