:root {
    --primary: #e67e22;
    /* Astrosage orange */
    --secondary: #d35400;
    /* Darker orange */
    --accent: #e74c3c;
    /* Red accent */
    --light: #f9f9f9;
    --dark: #2c3e50;
    /* Dark blue */
    --text: #333;
    --text-light: #7f8c8d;
    --header-bg: #2c3e50;
    /* Dark blue header */
    --nav-bg: #34495e;
    /* Slightly lighter blue for nav */
    --footer-bg: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
}

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

/* Header Styles */
header {
    background-color: var(--header-bg);
    color: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #f1c40f;
    /* Astrosage yellow accent */
}

.auth-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

.auth-links a:hover {
    color: #f1c40f;
}

/* Navigation */
nav {
    background-color: var(--nav-bg);
}

.main-nav {
    display: flex;
    list-style: none;
}

.main-nav li {
    position: relative;
}

.main-nav li:hover .submenu {
    display: block;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    display: block;
    font-size: 15px;
    transition: all 0.3s;
}

.main-nav a:hover {
    background-color: var(--primary);
}

.submenu {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    list-style: none;
}

.submenu a {
    color: var(--text);
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.submenu a:hover {
    background-color: #f1f1f1;
    color: var(--primary);
}

/* Hero Section */
.hero {
    /* background: url('https://via.placeholder.com/1200x400/2c3e50/ffffff?text=Astrology27.com') no-repeat center center/cover; */
    height: 400px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

/* Quick Tools Section */
.quick-tools {
    padding: 40px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.tool-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.tool-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Horoscope Section */
.horoscope-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

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

@media (max-width: 768px) {
    .zodiac-signs {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sign-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.sign-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.sign-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* Features Section */
.features {
    padding: 40px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.feature-card:hover {
    border-color: var(--primary);
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #f1c40f;
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #f1c40f;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #f1c40f;
}

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

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    font-size: 14px;
    color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
    }

    .submenu {
        position: static;
        display: none;
        width: 100%;
    }

    .hero {
        height: 300px;
    }

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

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

@media (max-width: 480px) {
    .zodiac-signs {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 22px;
    }

    .auth-links a {
        font-size: 12px;
        margin-left: 10px;
    }
}