/*
Theme Name: Sgisgio Child Theme
Theme URI: https://www.sgisgio.com
Description: Child theme for Sgisgio - Il Fantastico Mondo di Sgisgio. A colorful and joyful theme for children 0-5 years old.
Author: Sgisgio Team
Author URI: https://www.sgisgio.com
Template: astra
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sgisgio-child
Domain Path: /languages

This theme is a child theme of Astra, a free WordPress theme.
*/

/* Import parent theme styles */
@import url("../astra/style.css");

/* ===== SGISGIO CUSTOM STYLES ===== */

:root {
  --sgisgio-yellow: #FFD93D;
  --sgisgio-blue: #4D96FF;
  --sgisgio-pink: #FF6B9D;
  --sgisgio-green: #6BCB77;
  --sgisgio-orange: #FF8C42;
  --sgisgio-purple: #9D84B7;
  --sgisgio-radius: 1.2rem;
}

/* Typography */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  color: #1a1a1a;
}

/* Header Styling */
.site-header {
  background: linear-gradient(135deg, #fff 0%, #fffaf0 100%);
  border-bottom: 4px solid var(--sgisgio-yellow);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.site-logo img {
  max-width: 50px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.site-logo img:hover {
  transform: scale(1.1);
}

.site-title {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.main-navigation a {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
  color: var(--sgisgio-yellow);
  background-color: rgba(255, 217, 61, 0.1);
  border-radius: 9999px;
  padding: 8px 16px;
}

/* Buttons */
.wp-block-button__link,
.btn,
button,
input[type="submit"],
input[type="button"] {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary,
.wp-block-button__link {
  background: linear-gradient(135deg, var(--sgisgio-orange), var(--sgisgio-pink));
  color: white;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--sgisgio-yellow), var(--sgisgio-orange));
  color: #333;
  box-shadow: 0 4px 15px rgba(255, 217, 61, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 217, 61, 0.4);
}

/* Cards */
.sgisgio-card,
.card,
.wp-block-group {
  border-radius: var(--sgisgio-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.sgisgio-card:hover,
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #fff9e6 0%, #ffe6f0 50%, #e6f3ff 100%);
  padding: 60px 20px;
  border-radius: var(--sgisgio-radius);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 18px;
  color: #555;
  max-width: 600px;
}

/* Video Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.video-card {
  background: white;
  border-radius: var(--sgisgio-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.video-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.video-card-content {
  padding: 16px;
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.video-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

/* Song Cards */
.song-card {
  background: white;
  border-radius: var(--sgisgio-radius);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--sgisgio-yellow);
}

.song-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.song-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.song-card .category {
  display: inline-block;
  background: var(--sgisgio-yellow);
  color: #333;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #4D96FF, #6BCB77);
  color: white;
  padding: 40px 20px 20px;
}

.site-footer h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 16px;
}

.site-footer a {
  color: rgba(255,255,255,0.9);
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--sgisgio-yellow);
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: white;
  transition: all 0.3s ease;
  font-size: 20px;
}

.social-links a:hover {
  background: white;
  color: var(--sgisgio-blue);
  transform: scale(1.1);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

.float-anim {
  animation: float 3s ease-in-out infinite;
}

.bounce-in-anim {
  animation: bounce-in 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 36px;
  }

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

  .footer-widgets {
    grid-template-columns: 1fr;
  }
}
