/*
Theme Name: CoolHome
Description: A basic, cool-themed WordPress theme with a modern home page, scrolling gradient, and fixed sidebar.
Version: 2.0
Author: Grok Code Fast 1
*/

/* Reset some defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(60deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  overflow: hidden;
}

.content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);  /* Semi-transparent background to show gradient */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  margin-bottom: 2rem;
  animation: slideUp 1.5s ease-in-out;
}

.hero-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 250px;
  background: #f9f9f9;
  margin: 1rem;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature h3 {
  color: #764ba2;
  margin-bottom: 1rem;
}

.footer {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 0rem;
}

.footer p {
  color: #666;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Navigation Styles */
.nav-menu {
  list-style: none;
  padding: 0;
  text-align: center;
}

.nav-menu li {
  margin: 1rem 0;
}

.nav-menu a {
  text-decoration: none;
  color: #764ba2;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
  display: block;
  padding: 0.5rem 0;
}

.nav-menu a:hover {
  color: #f5576c;
  transform: scale(1.05);
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 250px;
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem 1rem;
  box-shadow: 4px 0 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-y: auto;
}

.logo-container {
  text-align: center;
  margin-bottom: 1rem;
}

.custom-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.5rem;
}

.logo-container h1 {
  font-size: 1.8rem;
  color: #764ba2;
  margin-bottom: 0.5rem;
  animation: fadeIn 2s ease-in-out;
}

.logo-container h1 a {
  text-decoration: none;
  color: inherit;
}

.site-description {
  text-align: center;
  color: #555;
  margin-bottom: 2rem;
}

/* Main Content Area Styles */
.main-content {
  margin-left: 250px;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

/* Footer adjustment */
.footer {
  margin-left: 250px;
  max-width: calc(100% - 250px);
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 0rem;
}

.footer p {
  color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    padding: 1rem;
  }
  .main-content {
    margin-left: 0;
    height: auto;
    overflow-y: visible;
  }
  .footer {
    margin-left: 0;
    max-width: 100%;
  }
}