/*
Theme Name: ArtemisArt
Theme URI: https://yourwebsite.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: Custom WordPress theme adapted from static HTML for ArtemisArt
Version: 1.0
Text Domain: artemisart
*/

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

/* Base & Layout */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Comic Neue', cursive;
  background-color: white;
  color: #333;
  position: relative;
  overflow-x: hidden;
}
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Decorative Elements */
.decor { position: absolute; z-index: -1; width: 70px; height: auto; }
.duck { top: 600px; left: 50px; width: 80px; }
.spiderman { top: 900px; right: 50px; width: 100px; }
.pokeball { top: 1100px; left: 80px; width: 70px; }
.sunflower { top: 1300px; right: 100px; width: 90px; }
.pig { bottom: 100px; right: 80px; width: 90px; }

/* Header */
.site-header { background-color: #a57bff; padding: 15px 0; }
.header-content {
  display: flex; flex-direction: column; align-items: center;
  background-color: #a57bff; padding: 15px; border-radius: 15px;
}
.logo-title { display: flex; align-items: center; gap: 20px; margin-bottom: 15px; }
.site-logo { width: 80px !important; height: 80px !important; }
.logo-title h1 { 
  font-size: 3.5rem !important; font-weight: 700; 
  color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.main-nav { padding: 10px 5px; border-radius: 20px; width: 100%; }
.main-nav ul { 
  list-style: none; display: flex; justify-content: space-around; 
  width: 100%; padding: 0 10px;
}
.main-nav li { flex: 1; text-align: center; }
.main-nav a {
  color: #333; text-decoration: none; font-weight: 700; font-size: 1.4rem;
  padding: 8px 5px; display: block; transition: all 0.3s ease;
}
.main-nav a:hover { color: white; transform: scale(1.05); }

/* Hero */
.hero-section {
  height: 450px; display: flex; align-items: center;
  justify-content: center; text-align: center; position: relative;
}
.hero-section::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; 
  background: url('images/banner.png') no-repeat center/cover;
  opacity: 0.5; z-index: -1;
}
.hero-section h2 { font-size: 3.5rem; font-weight: 400; }
.hero-section h2 strong { font-weight: 700; }

/* Sections */
section { padding: 60px 0; text-align: center; }
h2 { font-size: 2.5rem; margin-bottom: 40px; }

/* Intro Section */
.intro-section {
  display: grid; 
  grid-template-columns: 1fr 1fr;
  gap: 30px; 
  padding: 40px 0 30px 0;
  align-items: center;
}
.intro-video {
  position: relative; 
  width: 400px; 
  height: 400px;
  margin: 0 auto; 
  overflow: hidden; 
  border-radius: 15px;
}
.intro-video video {
  width: 100%; 
  height: 100%; 
  object-fit: contain;
  background-color: black; 
  cursor: pointer; 
  transition: all 0.3s ease;
}
.intro-text { 
  padding: 0 20px;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.7;
}
.intro-text p {
  margin-bottom: 1.5em;
}

/* Cards & Buttons */
.button {
  display: inline-block; 
  background-color: #a57bff; 
  color: white;
  padding: 15px 30px; 
  text-decoration: none; 
  border-radius: 30px;
  font-weight: 700; 
  font-size: 1.2rem; 
  transition: all 0.3s ease;
}
.button:hover {
  background-color: #8c5bff; 
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Shop Carousel - Fixed Version */
.shop-section {
  padding-bottom: 60px;
  position: relative;
}

.scroller-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px; /* Space for arrows */
}

.shop-carousel {
  display: flex;
  gap: 30px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* For Firefox */
}

.shop-carousel::-webkit-scrollbar {
  display: none; /* Hide for WebKit browsers */
}

.shop-item {
  flex: 0 0 auto;
  min-width: 200px;
  text-align: center;
  transition: transform 0.3s ease;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #a57bff;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.scroll-arrow:hover {
  background-color: #8c5bff;
  transform: translateY(-50%) scale(1.1);
}

.left-arrow {
  left: 0;
}

.right-arrow {
  right: 0;
}

.scroll-arrow.hidden {
  opacity: 0.5;
  pointer-events: none;
}

/* Tutorials Section */
.tutorials-section {
  padding-bottom: 60px;
}
.tutorial-preview {
  background-color: #d8c5ff; 
  border-radius: 15px; 
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}
.tutorial-content, .about-box {
  display: grid; 
  grid-template-columns: 1fr 1fr;
  gap: 40px; 
  align-items: center; 
  margin-bottom: 30px;
}
.tutorial-content img, .about-box img {
  width: 100%; 
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.tutorial-content ul { 
  list-style: none; 
  text-align: left; 
}
.tutorial-content ul li {
  font-size: 1.3rem; 
  margin-bottom: 15px; 
  padding-left: 20px; 
  position: relative;
}
.tutorial-content ul li::before {
  content: "•"; 
  color: #a57bff; 
  font-size: 1.5rem;
  position: absolute; 
  left: 0; 
  top: -2px;
}

/* About Section */
.about-section {
  padding-bottom: 60px;
}
.about-section h2 {
  background-color: #fff;
  padding: 30px 40px 0 40px;
  margin-bottom: 0;
  border-radius: 15px 15px 0 0;
  width: 100%;
  box-sizing: border-box;
}
.about-box {
  background-color: #d8c5ff; 
  border-radius: 0 0 15px 15px; 
  padding: 0 40px 40px 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 0;
}
.about-text p { 
  font-size: 1.2rem; 
  line-height: 1.7; 
  margin-bottom: 20px; 
  text-align: left; 
}
.about-text h2 { 
  background-color: #d8c5ff;
}

/* Footer */
.site-footer { 
  background-color: #a57bff; 
  color: white; 
  padding: 40px 0; 
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.social-links { 
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.social-links a { 
  display: inline-block; 
  margin: 0 15px; 
  transition: transform 0.3s ease; 
}
.social-links a:hover { transform: scale(1.2); }
.social-links img { width: 50px; height: 50px; }

/* Responsive */
@media (max-width: 768px) {
  .header-content { padding: 10px; }
  .logo-title { gap: 15px; }
  .site-logo { width: 60px !important; height: 60px !important; }
  .logo-title h1 { font-size: 2rem !important; }
  .main-nav a { font-size: 1.1rem; padding: 8px 2px; }
  .intro-section, .tutorial-content, .about-box { grid-template-columns: 1fr; }
  .intro-video { width: 300px; height: 300px; margin-bottom: 30px; }
  .hero-section h2 { font-size: 2rem; }
  .decor { width: 50px !important; }
  .duck { top: 500px; left: 20px; }
  .spiderman { top: 800px; right: 20px; }
  .pokeball { top: 1000px; left: 30px; }
  .sunflower { top: 1200px; right: 30px; }
  .pig { bottom: 50px; right: 20px; }
  .shop-item { min-width: 150px; }
  .shop-item img { max-width: 140px; }
  .scroll-arrow { 
    width: 40px; 
    height: 40px; 
    font-size: 1.2rem; 
  }
  .left-arrow { left: -20px; }
  .right-arrow { right: -20px; }
  .tutorial-content ul li { font-size: 1.1rem; }
  .about-box { padding: 30px; }
  .about-text p { font-size: 1rem; }
  
  /* Mobile adjustments for about section */
  .about-section h2 {
    padding: 20px 20px 0 20px;
  }
  .about-box {
    padding: 0 20px 20px 20px;
  }

  /* Mobile Header Styles */
  .logo-title {
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0;
  }

  .site-logo, .logo-title h1 {
    margin-right: auto;
  }

  .hamburger-menu {
    display: block;
    width: 40px;
    height: 40px;
    background: url('images/HamburgerMenu.jpg') no-repeat center;
    background-size: contain;
    border: none;
    cursor: pointer;
    z-index: 100;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #8c5bff;
    padding: 80px 20px 20px;
    transition: right 0.3s ease;
    z-index: 90;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav a {
    color: white !important;
    font-size: 1.2rem !important;
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
}

@media (min-width: 769px) {
  .hamburger-menu,
  .menu-overlay {
    display: none !important;
  }
}

.no-scroll {
  overflow: hidden;
}