/* Mobile-first CSS for index.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #000 url('../images/bg_full.jpg') center center / cover no-repeat fixed;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 20px 0;
    text-align: center;
}

.logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

/* All headings use Permanent Marker */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Permanent Marker', cursive;
}

.header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.header p {
    font-size: 1rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding: 20px 0;
}

/* Main content wrapper - contains header and main */
.main-content-wrapper {
    width: 100%;
}

/* Page wrapper for two-column layout */
.page-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
}

.main-column {
    width: 100%;
}

.banner-column {
    display: none; /* Hidden on mobile */
}

.banner-ad {
    background: #1a1a2e;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Day Section */
.day-section {
    background: #1a1a2e;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: center;
}

.day-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff6b35;
}

.day-section p {
    color: #ccc;
}

/* Zodiac Section */
.zodiac-section {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin: 10px auto;
    border-radius: 2px;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.zodiac-item {
    background: #1a1a2e;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease;
}


.zodiac-item:hover {
    transform: translateY(-2px);
}

.zodiac-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.zodiac-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.zodiac-item .date {
    font-size: 0.8rem;
    color: #ccc;
}

/* Ad Section */
.ad-section {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: #1a1a2e;
    border-radius: 8px;
}

/* Mobile Ad Section (above zodiac) */
.mobile-ad-section {
    margin: 20px 0;
    text-align: center;
    padding: 15px;
    background: #1a1a2e;
    border-radius: 8px;
    display: block; /* Visible on mobile by default */
}

/* About Section */
.about-section {
    padding: 30px 0;
}

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

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ff6b35;
}

.about-text p {
    margin-bottom: 15px;
    color: #ccc;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    grid-column: 1 / -1; /* Span all columns */
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Services Section */
.services-section {
    padding: 30px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-item {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.service-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ff6b35;
}

.service-item p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 30px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-item {
    background: #1a1a2e;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial-item h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.testimonial-item .title {
    color: #ff6b35;
    margin-bottom: 15px;
}

.testimonial-item p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
}

.testimonial-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.testimonial-link:hover {
    transform: translateY(-5px);
}

.read-more {
    color: #ff6b35;
    font-weight: bold;
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    margin: 0;
}

.newsletter-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.newsletter-section p {
    margin-bottom: 20px;
    color: #fff;
}

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

.newsletter-form input {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 12px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #2a2a3e;
}

/* Footer */
.footer {
    background: #1a1a2e;
    padding: 30px 0;
    text-align: center;
}

.footer h4 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.footer p,
.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #ff6b35;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.5rem;
    color: #ccc;
}

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

.language-selector {
    margin: 20px 0;
}

.language-selector a {
    margin: 0 10px;
    padding: 5px 10px;
    border: 1px solid #ff6b35;
    border-radius: 4px;
    color: #ff6b35;
}

.language-selector a.active {
    background: #ff6b35;
    color: #fff;
}

/* Footer Links */
.footer-links {
    margin: 20px 0;
}

.footer-links h5 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 0 20px;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    /* Two-column layout for desktop */
    .page-wrapper {
        grid-template-columns: 1fr 350px;
        gap: 30px;
        align-items: start; /* Align columns to start from top */
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .banner-column {
        display: block;
        position: sticky;
        top: 20px; /* Stick to top when scrolling */
    }

    /* Hide mobile ad on desktop */
    .mobile-ad-section {
        display: none;
    }

    .zodiac-grid {
        grid-template-columns: repeat(3, 1fr);
    }


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

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .newsletter-form input {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

/* Astrologer Profile Page Styles */
.astrologer-profile {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #ff6b35;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #ff6b35;
}

.profile-intro h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.profile-intro h3 {
    font-size: 1.3rem;
    color: #ff6b35;
    margin-bottom: 10px;
}

.credentials {
    color: #ccc;
    font-size: 0.95rem;
    font-style: italic;
}

.profile-content section {
    margin-bottom: 35px;
}

.bio-section h3,
.expertise-section h3,
.background-section h3,
.philosophy-section h3,
.testimonials-section h3,
.contact-section h3 {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-bottom: 15px;
}

.profile-content p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 15px;
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    background: #2a2a3e;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: #fff;
    border-left: 4px solid #ff6b35;
}

.testimonial-quote {
    background: #2a2a3e;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ff6b35;
}

.testimonial-quote p {
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
}

.testimonial-quote cite {
    color: #ff6b35;
    font-style: normal;
    font-size: 0.9rem;
}

.contact-section {
    background: #2a2a3e;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.contact-email {
    font-size: 1.1rem;
    margin-top: 15px;
}

.contact-email a {
    color: #ff6b35;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Desktop styles for profile */
@media (min-width: 768px) {
    .profile-header {
        flex-direction: row;
        text-align: left;
        gap: 30px;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .astrologer-profile {
        padding: 40px;
    }
}

/* Guide and Article Page Styles */
.guide-intro,
.article-intro {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.guide-intro h2,
.article-intro h2 {
    color: #ff6b35;
    font-size: 2rem;
    margin-bottom: 20px;
}

.table-of-contents {
    background: #2a2a3e;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
}

.table-of-contents h3 {
    color: #ff6b35;
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.table-of-contents a:hover {
    background-color: #ff6b35;
    color: #fff;
}

.zodiac-sign {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #ff6b35;
}

.sign-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2a2a3e;
}

.sign-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.sign-header h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin: 0;
}

.sign-dates {
    color: #ccc;
    font-style: italic;
    margin: 0;
}

.sign-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
}

.sign-content p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 15px;
}

.sign-content ul {
    color: #ccc;
    margin-bottom: 15px;
}

.sign-content li {
    margin-bottom: 8px;
}

.guide-conclusion,
.article-conclusion {
    background: #2a2a3e;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.guide-conclusion h3,
.article-conclusion h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Interview Styles */
.interview-section {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.interview-header h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.interview-subtitle {
    color: #ccc;
    font-style: italic;
    margin-bottom: 30px;
}

.question-answer {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #2a2a3e;
}

.question-answer:last-child {
    border-bottom: none;
}

.question-answer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.question-answer p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 15px;
}

.studies-section,
.modern-research {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 8px;
    margin: 20px 0;
}

.studies-section h3,
.modern-research h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.study-item {
    background: #2a2a3e;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #ff6b35;
}

.study-item h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.study-item p {
    color: #ccc;
    line-height: 1.6;
}

.modern-research ul {
    color: #ccc;
    margin-top: 20px;
}

.modern-research li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .sign-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .sign-icon {
        width: 80px;
        height: 80px;
    }
}

