/* HAUSER Official Website - Custom Responsive Styles */

/* Fix color contrast and responsive issues */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333 !important;
}

/* Ensure good color contrast throughout */
.ppb_header .ppb_title {
    color: #ffffff !important;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.ppb_header .ppb_header_content {
    color: #f0f0f0 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Improve all text contrast */
h1, h2, h3, h4, h5, h6 {
    color: #333 !important;
}

p {
    color: #555 !important;
}

/* Hero section improvements */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff !important;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #f0f0f0 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Responsive hero text */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-section {
        min-height: 60vh !important;
        padding: 40px 0 !important;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 20px !important;
    }
    
    .hero-buttons a {
        display: block !important;
        margin: 10px auto !important;
        width: 200px !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        min-height: 50vh !important;
        padding: 30px 0 !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content p {
        font-size: 0.9rem !important;
        padding: 0 20px !important;
    }
}

/* Button improvements */
.hauser-btn {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: white !important;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-shadow: none;
}

.hauser-btn:hover {
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

/* Responsive button layout */
@media (max-width: 768px) {
    .hauser-btn {
        display: block;
        margin: 10px auto;
        width: 200px;
        text-align: center;
    }
}

/* Showcase cards */
.hauser-showcase-item {
    background: #ffffff !important;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.hauser-showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.hauser-showcase-item h4 {
    color: #333333 !important;
    margin-bottom: 15px;
    font-weight: 600;
}

.hauser-showcase-item p {
    color: #666666 !important;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive showcase grid */
@media (max-width: 768px) {
    .one_third {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .hauser-showcase-item {
        margin: 0 15px 30px 15px;
    }
}

/* Profile image styles */
.hauser-profile-img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 100%;
    height: auto;
}

/* Gallery improvements */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Music card styles */
.music-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.music-card h3 {
    color: #333333 !important;
    margin-bottom: 15px;
    font-weight: 600;
}

.music-card p {
    color: #666666 !important;
    line-height: 1.6;
}

/* Tour card styles */
.tour-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.tour-card h4 {
    color: #333333 !important;
    margin-bottom: 10px;
    font-weight: 600;
}

.tour-card .tour-date {
    color: #8B4513 !important;
    font-weight: 600;
    margin-bottom: 8px;
}

.tour-card .tour-venue {
    color: #666666 !important;
    margin-bottom: 15px;
}

/* News card styles */
.news-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-card-content {
    padding: 25px;
}

.news-card h3 {
    color: #333333 !important;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.news-card .news-date {
    color: #8B4513 !important;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card p {
    color: #666666 !important;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Footer improvements */
.footer-section {
    background: #1a1a1a;
    color: #ffffff;
    padding: 50px 0;
}

.footer-section h4 {
    color: #ffffff !important;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p, .footer-section li {
    color: #cccccc !important;
    line-height: 1.6;
}

.footer-section a {
    color: #cccccc !important;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #A0522D !important;
}

/* Social media icons */
.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #8B4513;
    color: white !important;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #A0522D;
    transform: translateY(-2px);
    color: white !important;
}

/* Responsive image styles */
.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* General responsive improvements */
@media (max-width: 1200px) {
    .standard_wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .music-card, .tour-card, .news-card {
        margin: 0 15px 20px 15px;
    }
    
    .footer-section {
        padding: 40px 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hauser-showcase-item {
        padding: 20px;
    }
    
    .music-card, .tour-card, .news-card {
        padding: 20px;
    }
}

/* Biography page specific styles */
.bio-section {
    background: #ffffff;
    padding: 50px 0;
}

.bio-content {
    background: #ffffff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.bio-content h2, .bio-content h3 {
    color: #333333 !important;
    margin-bottom: 20px;
    font-weight: 600;
}

.bio-content p {
    color: #666666 !important;
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-facts {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
}

.bio-facts h4 {
    color: #8B4513 !important;
    margin-bottom: 15px;
    font-weight: 600;
}

.bio-facts ul {
    list-style: none;
    padding: 0;
}

.bio-facts li {
    color: #666666 !important;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.bio-facts li:last-child {
    border-bottom: none;
}

/* Fix any remaining white on white issues */
.ppb_text {
    color: #666666 !important;
}

.page_content_wrapper .inner {
    color: inherit;
}

/* Ensure all text in cards is readable */
.hauser-showcase-item *, 
.music-card *, 
.tour-card *, 
.news-card *, 
.bio-content * {
    color: inherit;
}

/* Override any theme defaults that might cause contrast issues */
.ppb_header[style*="background-color:#1a1a1a"] * {
    color: #ffffff !important;
}

.ppb_header[style*="background-color:#1a1a1a"] .ppb_header_content {
    color: #f5f5f5 !important;
}

/* Loading and transition improvements */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .hauser-btn, .social-icon {
        background: #333 !important;
        color: white !important;
    }
}