/* ================================
   Santa Greg of the Marshwalk
   Custom Christmas Theme Styles
   ================================ */

/* CSS Variables */
:root {
  --santa-red: #c41e3a;
  --santa-red-dark: #8b0000;
  --christmas-green: #165b33;
  --christmas-green-light: #1e7b46;
  --gold: #d4af37;
  --gold-light: #f0d875;
  --snow-white: #f8f9fa;
  --cream: #fef9e7;
  --charcoal: #2d3436;
  --text-dark: #333;
  --text-light: #666;
  
  --font-display: 'Mountains of Christmas', cursive;
  --font-body: 'Open Sans', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--snow-white);
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--santa-red);
  line-height: 1.2;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--santa-red);
  font-weight: 700;
}

.nav-logo i {
  margin-right: 0.5rem;
  color: var(--christmas-green);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--charcoal);
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--santa-red);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--santa-red);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: linear-gradient(135deg, var(--santa-red) 0%, var(--santa-red-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='2' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") repeat;
  background-size: 50px 50px;
  animation: snow 20s linear infinite;
}

@keyframes snow {
  0% { background-position: 0 0; }
  100% { background-position: 50px 100px; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold-light);
  font-family: var(--font-display);
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--christmas-green);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--christmas-green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--santa-red);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--santa-red-dark);
}

/* Sections */
section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

/* About Section */
.about {
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 4px solid var(--christmas-green);
  border-radius: 20px;
  z-index: -1;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.about-features {
  list-style: none;
  margin-top: 2rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.about-features i {
  color: var(--christmas-green);
  font-size: 1.2rem;
}

/* Featured/As Seen On Section */
.featured {
  background: var(--cream);
}

.featured-content {
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  background: var(--charcoal);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

/* Services Section */
.services {
  background: white;
}

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

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.service-card i {
  font-size: 3rem;
  color: var(--santa-red);
  margin-bottom: 1.5rem;
}

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

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

/* Gallery Section */
.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4/3;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

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

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

.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

/* Placeholder for images */
.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, var(--cream) 0%, #e8e0d0 100%);
  color: var(--text-light);
}

.gallery-placeholder i {
  font-size: 3rem;
  color: var(--santa-red);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.gallery-placeholder span {
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, var(--christmas-green) 0%, var(--christmas-green-light) 100%);
  color: white;
}

.contact .section-header h2 {
  color: white;
}

.contact .section-header p {
  color: rgba(255,255,255,0.8);
}

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

.contact-card {
  display: block;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.contact-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  color: white;
}

.contact-info {
  color: white;
  font-size: 1.1rem;
  word-break: break-word;
}

.contact-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--gold-light);
}

.contact-card h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: rgba(255,255,255,0.8);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  background: var(--santa-red);
  text-align: center;
  padding: 4rem 2rem;
}

.cta h2 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-social {
  margin-bottom: 1.5rem;
}

.footer-social a {
  color: white;
  font-size: 1.5rem;
  margin: 0 0.75rem;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--gold-light);
  transform: scale(1.1);
}

.footer p {
  font-size: 0.9rem;
}

.footer .heart {
  color: var(--santa-red);
}

/* Snowflake decoration */
.snowflakes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 968px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-image::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    gap: 0;
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    border-bottom: 1px solid #eee;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero {
    padding: 8rem 1.5rem 4rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem 1rem;
  }
  
  .nav-logo {
    font-size: 1.2rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--gold-light);
  transform: scale(1.1);
}
