/*
 Theme Name:   Twenty Twenty-Four Child
 Theme URI:    https://studioshodwe.com
 Description:  A custom child theme for Studio Shodwe.
 Author:       Studio Shodwe
 Author URI:   https://studioshodwe.com
 Template:     twentytwentyfour
 Version:      1.0.0
*/

/* --- Your custom CSS goes below this line --- */

/* Custom styles from index.html */
html {
    scroll-behavior: smooth;
}
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 768px) {
    .section-padding {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}
.glass-effect {
    background: rgba(38, 38, 38, 0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.background-container {
    position: relative;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,140,0,0.15) 0%, rgba(255,140,0,0) 70%);
    animation: move 25s infinite alternate;
    z-index: 0;
}
.blob-1 { width: 400px; height: 400px; top: 10%; left: -10%; }
.blob-2 { width: 500px; height: 500px; bottom: 5%; right: -15%; animation-duration: 20s; }
.blob-3 { width: 300px; height: 300px; top: 40%; right: 5%; animation-duration: 30s; }

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.2); }
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.shimmer-button {
    position: relative;
    overflow: hidden;
}
.shimmer-button::after {
    content: '';
    position: absolute;
    top: 0;
    transform: translateX(-150%);
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.shimmer-button:hover::after {
    transform: translateX(100%);
}

.spotlight-card {
    position: relative;
    overflow: hidden;
}
.spotlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -1000px);
    left: var(--mouse-x, -1000px);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle closest-side, rgba(255, 140, 0, 0.15), transparent);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.spotlight-card:hover::before {
    opacity: 1;
}

/* FIX #1: Make the whole blog page black,
  including the theme's footer area.
*/
body.page-blog {
    background-color: #1A1A1A;
}

/* FIX #2: Target your theme's footer elements 
  (disclaimers) and make the text light
*/
body.page-blog footer,
body.page-blog .wp-block-template-part-footer {
    color: #E5E7EB; /* text-light */
}

body.page-blog footer a,
body.page-blog .wp-block-template-part-footer a {
    color: #F3F4F6; /* off-white */
    transition: color 0.3s ease;
}

body.page-blog footer a:hover,
body.page-blog .wp-block-template-part-footer a:hover {
    color: #FF8C00; /* accent-orange */
}

body.page-blog .wp-block-site-title a,
body.page-blog .wp-block-site-title a:hover {
     color: #E5E7EB;
}