/*
Theme Name: The Frog
Theme URI: https://example.com/the-frog
Author: The Frog Team
Author URI: https://example.com
Description: A serene WordPress theme dedicated to frogs and their natural habitats.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thefrog
Tags: green, nature, frogs, one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-header, custom-menu, featured-images, theme-options, translation-ready
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: url('bg.svg') no-repeat center center fixed;
  background-size: cover;
}

a {
  color: #689f38;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #8bc34a;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: rgba(10, 31, 28, 0.7);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(5px);
  color: #e0e0e0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo h1 {
  font-size: 1.5rem;
  color: #689f38;
  font-weight: 600;
  color: #e0e0e0;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 4px;
  color: #e0e0e0;
}

nav a:hover {
  background-color: rgba(139, 195, 74, 0.1);
}

/* Main Content Styles */
main {
  flex: 1;
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.content {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: rgba(10, 31, 28, 0.7);
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(5px);
}

h2 {
  color: #558b2f;
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Footer Styles */
footer {
  background-color: rgba(10, 31, 28, 0.7);
  padding: 1.5rem 5%;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  backdrop-filter: blur(5px);
}

footer p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* WordPress Specific Styles */
.wp-block-image img {
  height: auto;
}

.wp-caption {
  max-width: 100%;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption-text {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* Comments */
.comment-list {
  list-style: none;
  margin: 2rem 0;
}

.comment {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author img {
  border-radius: 50%;
  margin-right: 0.5rem;
}

.comment-metadata {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.comment-content {
  margin-bottom: 0.5rem;
}

.reply {
  font-size: 0.9rem;
}

/* Widgets */
.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #558b2f;
}

/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}