/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0e1a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-link {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #D4AF37, #B8941F);
    color: #0a0e1a;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8941F, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #6A4C93, #8E44AD);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #8E44AD, #6A4C93);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 76, 147, 0.3);
}

.btn-link {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
}

.btn-link:hover {
    background: #D4AF37;
    color: #0a0e1a;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    color: white;
    padding: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-top: 2px solid #D4AF37;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #D4AF37;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #D4AF37;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #D4AF37;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0e1a, #1a1f3a);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.stars {
    width: 100%;
    height: 100%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #D4AF37, #6A4C93);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1f3a, #0a0e1a);
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(26, 31, 58, 0.6);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.service-icon {
    margin-bottom: 2rem;
}

.service-card h3 {
    color: #D4AF37;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.service-link {
    color: #6A4C93;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #D4AF37;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #0a0e1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6A4C93;
    font-weight: 600;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1f3a, #0a0e1a);
}

.reviews h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(26, 31, 58, 0.6);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 1rem;
}

.stars i {
    color: #D4AF37;
}

.review-card p {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer strong {
    color: #D4AF37;
}

.reviewer span {
    color: #6A4C93;
}

/* Newsletter Section */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, #6A4C93, #8E44AD);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    padding: 12px 24px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #0a0e1a;
}

.contact h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    color: #D4AF37;
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item h4 {
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
}

/* Footer */
.footer {
    background: #0a0e1a;
    border-top: 2px solid #D4AF37;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: #D4AF37;
    font-size: 1.5rem;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    color: #6A4C93;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #D4AF37;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #D4AF37;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
    color: #6A4C93;
    margin: 0;
}

/* Page Styles */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, #0a0e1a, #1a1f3a);
}

.page-content {
    padding: 80px 0;
    background: #0a0e1a;
}

.content-section {
    margin-bottom: 4rem;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.zodiac-card {
    background: rgba(26, 31, 58, 0.6);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.zodiac-card:hover {
    transform: translateY(-5px);
    border-color: #D4AF37;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}

.calculator-form, .compatibility-form {
    background: rgba(26, 31, 58, 0.6);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #D4AF37;
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    background: rgba(10, 14, 26, 0.8);
    color: #e0e0e0;
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.result-section {
    background: rgba(26, 31, 58, 0.6);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 2rem;
    display: none;
}

.lunar-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 31, 58, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    border-color: #D4AF37;
    transform: scale(1.05);
}

.calendar-day.favorable {
    background: rgba(212, 175, 55, 0.2);
    border-color: #D4AF37;
}

.calendar-day.unfavorable {
    background: rgba(106, 76, 147, 0.2);
    border-color: #6A4C93;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: rgba(26, 31, 58, 0.6);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.blog-card-content {
    padding: 30px;
}

.blog-card h3 {
    margin-bottom: 1rem;
}

.blog-card p {
    margin-bottom: 1.5rem;
}

.blog-meta {
    color: #6A4C93;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 26, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .zodiac-grid {
        grid-template-columns: 1fr;
    }

    .lunar-calendar {
        grid-template-columns: repeat(4, 1fr);
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .calculator-form, .compatibility-form {
        padding: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }
}
