/* GeniusData.info - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Lato:wght@300;400;500;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary-blue: #1D2B53;
    --pure-white: #FFFFFF;
    --soft-gold: #D4AF37;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --font-title: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--pure-white);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.main-header {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(29, 43, 83, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.site-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--pure-white);
}

.tagline {
    font-size: 0.9rem;
    color: var(--soft-gold);
    font-style: italic;
    margin-top: 5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--soft-gold);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c3e50 100%);
    color: var(--pure-white);
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--soft-gold);
    margin-bottom: 40px;
    font-weight: 300;
}

/* ===== SEARCH BAR ===== */
.search-container {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 18px 25px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    background-color: var(--pure-white);
    color: var(--dark-gray);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.search-input::placeholder {
    color: var(--medium-gray);
    font-style: italic;
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--soft-gold);
    color: var(--pure-white);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #b8941f;
    transform: translateY(-50%) scale(1.05);
}

/* ===== QUOTE SLIDER ===== */
.quotes-slider {
    background-color: var(--light-gray);
    padding: 60px 0;
    overflow: hidden;
}

.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.quote-slide {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 20px;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.quote-slide.active {
    display: block;
}

.quote-text {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.4;
    position: relative;
}

.quote-text::before,
.quote-text::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--soft-gold);
    font-weight: bold;
    position: absolute;
}

.quote-text::before {
    left: -30px;
    top: -10px;
}

.quote-text::after {
    right: -30px;
    bottom: -20px;
}

.quote-author {
    font-size: 1.1rem;
    color: var(--medium-gray);
    font-weight: 600;
}

.quote-author strong {
    color: var(--primary-blue);
}

/* ===== TAGS SECTION ===== */
.tags-section {
    padding: 60px 0;
    background-color: var(--pure-white);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}

.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.tag-item {
    background: linear-gradient(135deg, var(--primary-blue), #2c3e50);
    color: var(--pure-white);
    padding: 15px 25px;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
}

.tag-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(29, 43, 83, 0.3);
    color: var(--pure-white);
}

.tag-item:before {
    content: '#';
    color: var(--soft-gold);
    margin-right: 5px;
}

/* ===== FEATURED QUOTES ===== */
.featured-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.quote-card {
    background-color: var(--pure-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--soft-gold);
}

.quote-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quote-card-text {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.5;
}

.quote-card-author {
    font-size: 0.95rem;
    color: var(--medium-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-name {
    color: var(--primary-blue);
    font-weight: 700;
}

.read-more {
    background-color: var(--soft-gold);
    color: var(--pure-white);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #b8941f;
    transform: scale(1.05);
    color: var(--pure-white);
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-family: var(--font-title);
    color: var(--soft-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--pure-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--soft-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--medium-gray);
}

.publication-note {
    margin-top: 10px;
    font-style: italic;
    color: var(--soft-gold);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-input {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .quote-text {
        font-size: 1.2rem;
    }
    
    .quote-text::before,
    .quote-text::after {
        font-size: 2rem;
    }
    
    .quote-text::before {
        left: -20px;
    }
    
    .quote-text::after {
        right: -20px;
    }
    
    .tags-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .quotes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .search-container {
        margin: 0 auto 30px;
    }
    
    .quote-slide {
        padding: 30px 15px;
        margin: 0 10px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.btn-primary {
    background-color: var(--soft-gold);
    color: var(--pure-white);
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    color: var(--pure-white);
} 