/* Hieroette - Divine Feminine Website Styles */
/* Color Palette: White, Purple, Pink, Yellow, Violet */

/* 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: #4a3c78;
    background: linear-gradient(135deg, #ffebfb 0%, #f8e8ff 100%);
    min-height: 100vh;
}

header {
    background: white;
    box-shadow: 0 2px 10px rgba(138, 43, 226, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #8a2be2, #ff69b4, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #8a2be2;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
}

nav a:hover {
    color: #ff69b4;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8e8ff 0%, #ffebfb 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: #8a2be2;
    text-shadow: 2px 2px 4px rgba(138, 43, 226, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: #6b4b8a;
    line-height: 1.8;
}

/* Problem/Solution Section */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.problem, .solution {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.1);
}

.problem {
    background: #ffebfb;
    border-left: 5px solid #ff69b4;
}

.solution {
    background: #f8e8ff;
    border-left: 5px solid #8a2be2;
}

.problem h2, .solution h2 {
    color: #8a2be2;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.problem p, .solution p {
    color: #6b4b8a;
    font-size: 1.1rem;
}

/* Offers Section */
.offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.offer {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.1);
    transition: transform 0.3s;
}

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

.offer h3 {
    color: #8a2be2;
    margin-bottom: 1rem;
}

.offer p {
    color: #6b4b8a;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-purple {
    background: linear-gradient(45deg, #8a2be2, #9370db);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.btn-pink {
    background: linear-gradient(45deg, #ff69b4, #ffb6c1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.6);
}

/* Footer */
footer {
    background: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 2px solid #f8e8ff;
}

footer p {
    color: #8a2be2;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .logo {
        font-size: 1.5rem;
    }

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

    .problem-solution {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* Astral Clock Specific Styles */
.clock-hero {
    background: linear-gradient(135deg, #f8e8ff 0%, #ffebfb 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.clock-hero h1 {
    color: #8a2be2;
    margin-bottom: 1rem;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(138, 43, 226, 0.3);
}

.clock-hero p {
    color: #6b4b8a;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.clock-controls {
    padding: 3rem 2rem;
    background: white;
    margin-bottom: 3rem;
}

.control-panel {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.control-group {
    margin-bottom: 1.5rem;
}

.control-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #8a2be2;
    font-weight: bold;
    font-size: 1.1rem;
}

.control-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f8e8ff;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

.control-group input:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.1);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
    margin-top: 1rem;
}

.clock-display {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8e8ff 0%, #ffebfb 100%);
}

.clock-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Additional mobile responsiveness */
@media (max-width: 768px) {
    .clock-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .astral-wheel {
        max-width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .clock-controls {
        padding: 2rem 1rem;
    }

    .control-panel {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .legend-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .zodiac-grid {
        grid-template-columns: repeat(6, 1fr);
        font-size: 0.8rem;
    }

    .celestial-legends {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .astral-wheel {
        max-width: 300px;
        margin: 0 auto;
    }

    .legend-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }

    .zodiac-grid {
        grid-template-columns: repeat(4, 1fr);
        font-size: 0.7rem;
        padding: 0.25rem;
    }

    .zodiac-grid span {
        padding: 0.25rem;
    }
}

.astral-wheel {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid #8a2be2;
    background: radial-gradient(circle, white 30%, #f8e8ff 70%);
    box-shadow: 0 5px 20px rgba(138, 43, 226, 0.3);
}

.celestial-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.1);
}

.celestial-info h3 {
    color: #8a2be2;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.celestial-list {
    /* Content will be populated by JavaScript */
}

.celestial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8e8ff;
}

.celestial-item:last-child {
    border-bottom: none;
}

.celestial-symbol {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.celestial-name {
    flex: 1;
    margin-left: 1rem;
    color: #8a2be2;
    font-weight: bold;
}

.celestial-position {
    color: #6b4b8a;
    font-size: 0.9rem;
}

.celestial-legends {
    padding: 4rem 2rem;
    background: white;
    margin-bottom: 3rem;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: linear-gradient(45deg, #f8e8ff, #ffebfb);
    border-radius: 10px;
    color: #8a2be2;
    font-weight: bold;
}

.legend-symbol {
    font-size: 1.5rem;
}

.zodiac-legends {
    text-align: center;
}

.zodiac-legends h4 {
    color: #8a2be2;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.zodiac-grid span {
    padding: 0.5rem;
    background: linear-gradient(45deg, #8a2be2, #9370db);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.educational-info {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8e8ff 0%, #ffebfb 100%);
}

.info-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.1);
    text-align: center;
}

.info-content h3 {
    color: #8a2be2;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #6b4b8a;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 60, 120, 0.9);
}

.modal-content {
    background: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #8a2be2;
}

/* About Page Styles */
.author-hero {
    background: linear-gradient(135deg, #f8e8ff 0%, #ffebfb 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.author-hero h1 {
    color: #8a2be2;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.author-hero .subtitle {
    color: #ff69b4;
    font-size: 1.3rem;
    font-weight: 300;
}

.author-story {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.author-bio h2 {
    color: #8a2be2;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

.author-bio p {
    color: #6b4b8a;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.expertise {
    background: white;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.expertise h2 {
    text-align: center;
    color: #8a2be2;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-item {
    background: #ffebfb;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.1);
    transition: transform 0.3s;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-item h3 {
    color: #8a2be2;
    margin-bottom: 1rem;
}

.expertise-item p {
    color: #6b4b8a;
}

.mission {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
    text-align: center;
}

.mission h2 {
    color: #8a2be2;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.mission p {
    color: #6b4b8a;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 800px;
}

/* Privacy and Terms Pages */
.legal-content {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.1);
}

.legal-content h1 {
    color: #8a2be2;
    margin-bottom: 2rem;
    text-align: center;
}

.legal-content h2 {
    color: #8a2be2;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #6b4b8a;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #6b4b8a;
}

/* Shop Page Styles */
.shop-hero {
    background: linear-gradient(135deg, #f8e8ff 0%, #ffebfb 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.shop-hero h1 {
    color: #8a2be2;
    margin-bottom: 1rem;
    font-size: 3rem;
}

.shop-hero p {
    color: #6b4b8a;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.products {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #f8e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon {
    font-size: 2.5rem;
}

.product-card h3 {
    color: #8a2be2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-card p {
    color: #ff69b4;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.product-card button {
    margin: 0.25rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.cart-section {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.cart-icon {
    position: relative;
    background: #ff69b4;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
    margin-bottom: 1rem;
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #ff69b4;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.cart-total {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8e8ff;
    border-radius: 10px;
    text-align: center;
}

#cart-items {
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ffebfb;
}

.cart-item:last-child {
    border-bottom: none;
}

.remove-item {
    background: #ff69b4;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Modal Enhancements */
.modal-content {
    max-height: 80vh;
    overflow-y: auto;
}
