/*
Theme Name: Astra Child - Furry Friends Worldwide
Template: astra
Version: 3.0
*/

/* Premium gradient backgrounds */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
}

.site-content {
    background: rgba(255, 255, 255, 0.98);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
    max-width: 100%;
}

/* Premium Header Design */
.site-header {
    background: linear-gradient(135deg, #1a4d2e 0%, #2c5f2d 25%, #4a7c59 50%, #2c5f2d 75%, #1a4d2e 100%);
    background-size: 200% 100%;
    animation: headerGradient 8s ease infinite;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 15px 0 !important;
}

@keyframes headerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Logo and site title */
.site-header .site-title {
    font-size: 2em !important;
    font-weight: 800 !important;
    color: #A78BFA !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.site-header .site-title a {
    color: #A78BFA !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.site-header .site-description {
    color: #4ecdc4 !important;
    font-size: 1em !important;
    display: block !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}

/* Navigation Menu Styling */
.main-header-menu a,
.ast-header-navigation a {
    color: #A78BFA !important;
    font-weight: 600 !important;
    font-size: 1.1em !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 20px !important;
    transition: all 0.3s ease;
    position: relative;
}

.main-header-menu a:hover,
.ast-header-navigation a:hover {
    color: #60A5FA !important;
    transform: translateY(-2px);
}

.main-header-menu a::after,
.ast-header-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-header-menu a:hover::after,
.ast-header-navigation a:hover::after {
    width: 80%;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 5em;
    color: white;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.6);
    margin: 0 0 20px 0;
    animation: fadeInDown 1s ease;
    font-weight: 900;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 2.2em;
    color: #4ecdc4;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    margin: 0 0 40px 0;
    font-weight: 700;
    letter-spacing: 3px;
    animation: fadeInUp 1.2s ease;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white !important;
    padding: 22px 55px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.4em;
    box-shadow: 0 10px 40px rgba(78, 205, 196, 0.4);
    transition: all 0.4s ease;
    animation: pulse 2.5s ease infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 50px rgba(78, 205, 196, 0.6);
    color: white !important;
}

/* Premium card animations */
.premium-card {
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.premium-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Trust badges section */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 40px 0;
    flex-wrap: wrap;
}

.trust-badge {
    text-align: center;
    padding: 20px;
    transition: all 0.3s;
}

.trust-badge:hover {
    transform: scale(1.15);
}

/* Cat cards with images */
.cat-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.cat-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s;
}

.cat-card:hover img {
    transform: scale(1.15);
}

/* Gallery items */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.08);
    z-index: 10;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 40px rgba(78, 205, 196, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 15px 50px rgba(78, 205, 196, 0.6); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5em; }
    .hero-content p { font-size: 1.3em; }
    .hero-slider { height: 450px; }
    .hero-cta { padding: 16px 35px; font-size: 1.1em; }
    .main-header-menu a { font-size: 0.95em !important; padding: 10px 15px !important; }
}

/* Logo image */
.custom-logo-link {
    display: inline-block;
    height: 60px;
    margin-right: 15px;
}

.custom-logo-link img,
.custom-logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.4));
}

/* If no logo is set, hide the placeholder */
.site-branding {
    display: flex;
    align-items: center;
}

/* CRITICAL FIX: Ensure header navigation text is ALWAYS visible - purple/blue color */
.site-header .main-header-menu a,
.site-header .ast-header-navigation a,
.site-header .main-navigation a,
.site-header nav a,
.ast-desktop .main-header-menu a,
.ast-desktop .main-header-menu .menu-link,
.main-header-bar .main-header-menu a,
header.site-header a,
.ast-header-break-point .main-header-menu a,
.ast-header-break-point .main-header-bar-navigation a,
.ast-primary-header a,
#masthead a,
.ast-builder-menu a,
.ast-builder-menu .menu-item > a {
    color: #A78BFA !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5) !important;
}

/* Navigation hover states */
.site-header .main-header-menu a:hover,
.site-header .ast-header-navigation a:hover,
.site-header .main-navigation a:hover,
.main-header-bar .main-header-menu a:hover {
    color: #60A5FA !important;
}

/* Logo text must be visible */
.site-header .site-title,
.site-header .site-title a,
.ast-site-identity .site-title a {
    color: #A78BFA !important;
    -webkit-text-fill-color: #A78BFA !important;
}

/* Site description */
.site-header .site-description,
.ast-site-identity .site-description {
    color: #4ecdc4 !important;
}

/* Hide page title on homepage */
.page-id-7 .entry-header,
.page-id-7 .entry-title,
.home .entry-header,
.home .entry-title {
    display: none !important;
}

/* Combine header and content - remove gaps */
.site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-id-7 .site-content,
.home .site-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-id-7 .entry-content,
.home .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.site-header {
    margin-bottom: 0 !important;
}
