/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f5f0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #1a1a2e;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.8rem;
    color: #e94560;
    margin: 0;
}

header a {
    text-decoration: none;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #e94560;
}

/* Active navigation link */
nav ul li a.active {
    color: #e94560;
    font-weight: bold;
    background-color: rgba(233, 69, 96, 0.1);
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

/* Menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scrolled header effect */
header.scrolled {
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1465101162946-4377e57745c3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Zodiac Selector */
.zodiac-selector {
    margin-top: 50px;
}

.zodiac-selector h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.zodiac-signs-list {
    padding: 20px 0;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
    justify-items: center;
}

.zodiac-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 180px;
    backdrop-filter: blur(10px);
}

.zodiac-item .zodiac-icon {
    font-size: 48px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.zodiac-item h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.zodiac-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.zodiac-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.zodiac-item:hover .zodiac-icon {
    transform: scale(1.2) rotate(15deg);
}

.zodiac-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #e94560;
}

.feature-item p {
    margin-bottom: 20px;
}

.feature-item a {
    display: inline-block;
    background-color: #1a1a2e;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.feature-item a:hover {
    background-color: #e94560;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Sign Pages */
.sign-header {
    background-color: #1a1a2e;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.sign-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sign-header p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.sign-content {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.sign-details {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px);
}

.sign-info {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sign-symbol {
    font-size: 5rem;
    margin-right: 30px;
    text-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.sign-basic-info h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.sign-basic-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
    font-size: 1.1rem;
}

.sign-section {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 3px solid #e94560;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sign-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sign-section h4 {
    font-size: 1.4rem;
    color: #e94560;
    margin-bottom: 15px;
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.sign-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Daily Horoscope Page */
.horoscope-selector {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.horoscope-selector h3 {
    margin-bottom: 20px;
    color: #1a1a2e;
}

#horoscope-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

#horoscope-form label {
    font-weight: bold;
}

#horoscope-form select, #horoscope-form button {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#horoscope-form button {
    background-color: #e94560;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#horoscope-form button:hover {
    background-color: #1a1a2e;
}

.horoscope-result {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.horoscope-result h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
}

/* Compatibility Page */
.compatibility-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.compatibility-form h3 {
    margin-bottom: 20px;
    color: #1a1a2e;
}

#compatibility-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

#compatibility-form label {
    font-weight: bold;
}

#compatibility-form select, #compatibility-form button {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

#compatibility-form button {
    background-color: #e94560;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#compatibility-form button:hover {
    background-color: #1a1a2e;
}

.compatibility-result {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    header .container {
        flex-direction: row;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    /* Mobile menu */
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #1a1a2e;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 9999px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        margin-top: 0;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 12px;
        font-size: 1.2rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .zodiac-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .zodiac-item {
        min-width: 150px;
        padding: 25px 15px;
    }
    
    .zodiac-item .zodiac-icon {
        font-size: 40px;
    }
    
    .zodiac-item h3 {
        font-size: 18px;
    }
    
    .sign-info {
        flex-direction: column;
        text-align: center;
    }
    
    .sign-symbol {
        margin-right: 0;
        margin-bottom: 20px;
    }
}