/*
Theme Name: Omboue Tourism
Theme URI: https://omboue.com
Author: Manus AI
Author URI: https://omboue.com
Description: A responsive WordPress theme optimized for hospitality and tourism in Omboue, Gabon. Features areas for videos, ad placement, and tourism product affiliates.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: omboue-tourism
Tags: tourism, hospitality, responsive, custom-colors, custom-menu, featured-images, translation-ready
*/

/* Color Variables */
:root {
  --primary-color: #0e7c3f; /* Green representing Gabon's forests */
  --secondary-color: #3498db; /* Blue representing Omboue's lagoon */
  --accent-color: #f39c12; /* Gold/yellow for sun and hospitality */
  --text-color: #333333;
  --light-text: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #2c3e50;
  --footer-color: #1a2530;
  --border-color: #e0e0e0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--light-text);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--light-text);
}

.btn-secondary {
  background-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
}

.btn-accent {
  background-color: var(--accent-color);
}

.btn-accent:hover {
  opacity: 0.9;
}

/* Header Styles */
.site-header {
  background-color: var(--light-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.site-branding {
  display: flex;
  align-items: center;
}

.site-logo {
  max-height: 60px;
  margin-right: 15px;
}

.site-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.site-description {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
}

.main-menu {
  display: flex;
  list-style: none;
}

.main-menu li {
  position: relative;
  margin-left: 25px;
}

.main-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

.main-menu a:hover {
  color: var(--primary-color);
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-menu a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--light-text);
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Featured Section */
.featured-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.featured-item {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.featured-item:hover {
  transform: translateY(-10px);
}

.featured-image {
  height: 200px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-item:hover .featured-image img {
  transform: scale(1.1);
}

.featured-content {
  padding: 20px;
}

.featured-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.featured-description {
  margin-bottom: 15px;
  color: #666;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--light-text);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  font-size: 16px;
}

/* Video Section */
.video-section {
  padding: 80px 0;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  background-color: #000;
}

.video-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.play-button {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
  background-color: var(--secondary-color);
}

.play-button i {
  color: var(--light-text);
  font-size: 30px;
}

/* Directory Section */
.directory-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.directory-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.directory-tab {
  padding: 10px 20px;
  margin: 0 5px 10px;
  background-color: var(--light-text);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.directory-tab.active {
  background-color: var(--primary-color);
  color: var(--light-text);
  border-color: var(--primary-color);
}

.directory-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.directory-item {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.directory-image {
  height: 200px;
}

.directory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-info {
  padding: 20px;
}

.directory-name {
  font-size: 18px;
  margin-bottom: 10px;
}

.directory-category {
  color: var(--secondary-color);
  font-size: 14px;
  margin-bottom: 10px;
}

.directory-details {
  margin-bottom: 15px;
  font-size: 14px;
}

.directory-contact {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  font-size: 14px;
}

.directory-contact i {
  margin-right: 10px;
  color: var(--primary-color);
}

/* Ad Section */
.ad-section {
  padding: 40px 0;
  background-color: var(--background-light);
  text-align: center;
}

.ad-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--light-text);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ad-placeholder {
  width: 100%;
  height: 250px;
  background-color: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 18px;
  border: 2px dashed #ddd;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--light-text);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: #777;
}

.blog-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.blog-excerpt {
  margin-bottom: 15px;
  color: #666;
}

.blog-link {
  font-weight: 600;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--light-text);
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-item {
  text-align: center;
  padding: 0 50px;
}

.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-quote::before,
.testimonial-quote::after {
  content: '"';
  font-size: 50px;
  color: var(--accent-color);
  position: absolute;
  opacity: 0.3;
}

.testimonial-quote::before {
  top: -20px;
  left: -30px;
}

.testimonial-quote::after {
  bottom: -40px;
  right: -30px;
}

.testimonial-author {
  font-weight: 600;
  font-size: 18px;
}

.testimonial-role {
  font-size: 14px;
  opacity: 0.8;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  background-color: var(--accent-color);
}

/* Call to Action */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-description {
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background-color: var(--footer-color);
  color: var(--light-text);
  padding: 60px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget-title {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-widget p {
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-icon {
  margin-right: 10px;
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--light-text);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--accent-color);
  color: var(--light-text);
  transform: translateY(-3px);
}

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

/* WordPress Specific Styles */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

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

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
  font-size: 14px;
  font-style: italic;
}

.gallery {
  margin-bottom: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  padding: 5px;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
  max-width: 25%;
}

.gallery-columns-5 .gallery-item {
  max-width: 20%;
}

.gallery-columns-6 .gallery-item {
  max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
  max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
  max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
  max-width: 11.11%;
}

.gallery-caption {
  display: block;
  font-size: 14px;
}

.sticky {
  display: block;
  padding: 20px;
  background-color: #f9f9f9;
  border-left: 4px solid var(--primary-color);
}

.bypostauthor {
  display: block;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Comments */
.comment-content a {
  word-wrap: break-word;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list .children {
  list-style: none;
  margin-left: 30px;
}

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

.comment-meta {
  margin-bottom: 10px;
}

.comment-author {
  font-weight: bold;
}

.comment-author .avatar {
  float: left;
  margin-right: 15px;
  border-radius: 50%;
}

.comment-metadata {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.comment-content {
  clear: both;
}

.reply {
  margin-top: 10px;
}

.comment-respond {
  margin-top: 30px;
}

.comment-form label {
  display: block;
  margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
}

.comment-form input[type="submit"] {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.comment-form input[type="submit"]:hover {
  background-color: var(--secondary-color);
}

/* Widgets */
.widget {
  margin-bottom: 30px;
}

.widget-title {
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .featured-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--light-text);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px 0;
  }
  
  .main-menu.active {
    display: flex;
  }
  
  .main-menu li {
    margin: 0;
    text-align: center;
  }
  
  .main-menu a {
    display: block;
    padding: 10px 0;
  }
}

@media (max-width: 576px) {
  .featured-grid,
  .blog-grid,
  .directory-content {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 28px;
  }
}
