/*
Theme Name: Fishing Charter Pro
Theme URI: https://bellavance.co
Author: Fishing Charter Pro
Author URI: https://bellavance.co
Description: A professional, modern WordPress theme designed for fishing charter businesses. Showcase your adventures with stunning photo galleries, customer testimonials, and easy booking.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fishing-charter
Domain Path: /languages
*/

/* ===================================
   Global Styles & Reset
   =================================== */

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

:root {
  color-scheme: light dark;
  --primary-color: #00A3E0;
  --secondary-color: #0076A8;
  --accent-color: #FFB81F;
  --text-color: #2C3E50;
  --text-light: #7F8C8D;
  --bg-color: #F8F9FA;
  --white: #FFFFFF;
  --border-color: #E1E4E8;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --code-bg: #f5f5f5;
  --card-bg: #FFFFFF;
  --footer-bg: #1a1a1a;
  --footer-text: #FFFFFF;
}

/* Dark Mode */
html[data-theme="dark"] {
  --primary-color: #00D9FF;
  --secondary-color: #0099CC;
  --accent-color: #FFD633;
  --text-color: #E8E9EB;
  --text-light: #B0B3B8;
  --bg-color: #1a1a1a;
  --white: #2D2D2D;
  --border-color: #404040;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
  --code-bg: #2a2a2a;
  --card-bg: #252525;
  --footer-bg: #0f0f0f;
  --footer-text: #E8E9EB;
}

html[data-theme="dark"] {
  background-color: var(--bg-color);
  color: var(--text-color);
}

html[data-theme="dark"] body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

html[data-theme="dark"] body {
  background-color: var(--bg-color);
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  transition: var(--transition);
  text-decoration: none;
}

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

/* ===================================
   Header & Navigation
   =================================== */

.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

.site-logo a {
  color: var(--primary-color);
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.main-navigation a {
  font-weight: 500;
  position: relative;
  padding-bottom: 0.5rem;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

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

.call-to-action-btn {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.call-to-action-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
  color: var(--white);
  padding: 6rem 2rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(1200px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Gallery Section
   =================================== */

.gallery-section {
  background: var(--bg-color);
  padding: 4rem 2rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.section-icon {
  font-size: 2.5rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-link:hover .gallery-item {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-link:hover .gallery-item img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-link:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--white);
  text-align: center;
}

/* ===================================
   Services Section
   =================================== */

.services-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent-color);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials-section {
  background: var(--bg-color);
  padding: 4rem 2rem;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-text {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-author-title {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===================================
   Featured Trips
   =================================== */

.trips-section {
  padding: 4rem 2rem;
}

.trip-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 2rem;
}

.trip-card:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.trip-card:nth-child(even) > * {
  direction: ltr;
}

.trip-image {
  overflow: hidden;
}

.trip-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.trip-card:hover .trip-image img {
  transform: scale(1.05);
}

.trip-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trip-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.trip-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.trip-details {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.trip-detail {
  font-size: 0.9rem;
}

.trip-detail strong {
  color: var(--primary-color);
}

/* ===================================
   Call to Action Section
   =================================== */

.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===================================
   Footer
   =================================== */

.site-footer {
  background: #1a1a1a;
  color: var(--white);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #AAA;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  text-align: center;
  color: #AAA;
}

/* ===================================
   Blog & Posts
   =================================== */

.post {
  margin-bottom: 3rem;
}

.post-thumbnail {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.post-header h2 {
  margin-bottom: 0.5rem;
}

.post-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.post-excerpt {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
  margin-left: 0.5rem;
}

/* ===================================
   Dark Mode Theme Styles
   =================================== */

html[data-theme="dark"] .site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
}

html[data-theme="dark"] .hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

html[data-theme="dark"] .gallery-section {
  background: var(--bg-color);
}

html[data-theme="dark"] .gallery-item img {
  opacity: 0.9;
}

html[data-theme="dark"] .service-card {
  background: var(--card-bg);
  color: var(--text-color);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .service-card h3 {
  color: var(--primary-color);
}

html[data-theme="dark"] .service-card p {
  color: var(--text-light);
}

html[data-theme="dark"] .testimonials-section {
  background: var(--bg-color);
}

html[data-theme="dark"] .testimonial-card {
  background: var(--card-bg);
  color: var(--text-color);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .testimonial-text {
  color: var(--text-color);
}

html[data-theme="dark"] .testimonial-author {
  color: var(--primary-color);
}

html[data-theme="dark"] .testimonial-author-title {
  color: var(--text-light);
}

html[data-theme="dark"] .trip-card {
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .trip-content h3 {
  color: var(--primary-color);
}

html[data-theme="dark"] .trip-content p {
  color: var(--text-light);
}

html[data-theme="dark"] .trip-detail strong {
  color: var(--primary-color);
}

html[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

html[data-theme="dark"] .cta-section h2 {
  color: var(--white);
}

html[data-theme="dark"] .cta-section p {
  color: var(--white);
}

html[data-theme="dark"] .site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

html[data-theme="dark"] .footer-section h4 {
  color: var(--accent-color);
}

html[data-theme="dark"] .footer-section a {
  color: var(--text-light);
}

html[data-theme="dark"] .footer-section a:hover {
  color: var(--accent-color);
}

html[data-theme="dark"] .footer-bottom {
  border-top: 1px solid #333;
  color: var(--text-light);
}

html[data-theme="dark"] .post {
  color: var(--text-color);
}

html[data-theme="dark"] .post-header h1,
html[data-theme="dark"] .post-header h2 {
  color: var(--primary-color);
}

html[data-theme="dark"] .post-meta {
  color: var(--text-light);
}

html[data-theme="dark"] .post-excerpt {
  color: var(--text-light);
}

html[data-theme="dark"] .post-content {
  color: var(--text-color);
}

html[data-theme="dark"] .read-more {
  color: var(--primary-color);
}

html[data-theme="dark"] .read-more:hover {
  color: var(--secondary-color);
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background-color: var(--white);
  color: var(--text-color);
  border-color: var(--border-color);
}

/* Theme Toggle Button Styles */
.theme-toggle {
  background: var(--white);
  border: 2px solid var(--border-color);
  color: var(--text-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  margin-left: auto;
}

.theme-toggle:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.1);
}

.theme-toggle-icon {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle-icon.sun { }

.theme-toggle-icon.moon {
  position: absolute;
}

html[data-theme="light"] .theme-toggle-icon.sun {
  opacity: 1;
  transform: rotate(0deg);
}

html[data-theme="light"] .theme-toggle-icon.moon {
  opacity: 0;
  transform: rotate(-180deg);
}

html[data-theme="dark"] .theme-toggle-icon.sun {
  opacity: 0;
  transform: rotate(-180deg);
}

html[data-theme="dark"] .theme-toggle-icon.moon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    transition: none;
  }

  .theme-toggle-icon {
    transition: none;
  }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .site-header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .trip-card {
    grid-template-columns: 1fr;
  }

  .trip-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .trip-image img {
    height: 250px;
  }

  .gallery-item img {
    height: 250px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

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

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

  .testimonials-container {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Utility Classes
   =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

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

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

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

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

.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light);
}
