/*
Theme Name: Windsor Shuttle Service
Theme URI: https://www.windsorshuttleservice.ca/
Author: Windsor Dev
Author URI: https://www.windsorshuttleservice.ca/
Description: A custom, premium theme for Windsor Shuttle Service featuring a dynamic hero video section and modern design, ready for Elementor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: windsorshuttle
*/

/* Core vanilla CSS overrides */
:root {
  --primary-color: #d1b000; /* Gold/yellow often used for shuttles/cabs */
  --primary-dark: #b89a00;
  --secondary-color: #1a1a1a;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Base Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Premium Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(209, 176, 0, 0.4);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 176, 0, 0.6);
  color: var(--secondary-color);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

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

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 20px 0;
  transition: var(--transition);
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-title span {
  color: var(--primary-color);
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
}

.main-navigation a {
  color: var(--white);
  font-weight: 500;
  font-family: var(--font-heading);
  position: relative;
}

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

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

/* Hero Section with Video */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding-top: 80px; 
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -2;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInDown 1s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  color: var(--white);
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Services Section */
.services-section {
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(209, 176, 0, 0.1);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary-color);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

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

.about-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #555;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  position: relative;
}

.about-image img {
  transform: scale(1);
  transition: transform 0.5s ease;
}

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

.experience-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  font-weight: bold;
  font-family: var(--font-heading);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Contact/Footer CTA */
.cta-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 60px 0 20px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

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

.footer-widget ul li a {
  color: #aaa;
}

.footer-widget ul li a:hover {
  color: var(--primary-color);
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.site-info {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .about-section {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .main-navigation {
    display: none; /* In a real scenario, implement a hamburger menu */
  }
}
