/*
Theme Name: Everbloom Events
Theme URI: https://everbloomevents.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A custom WordPress theme for Everbloom Events - An elegant corporate events planning company.
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: everbloom-events
Tags: corporate, events, elegant, responsive, custom-theme
*/

/* ============================================
   EVERBLOOM EVENTS - WORDPRESS THEME
   ============================================ */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
  --everblack: #1a1a1a;
  --evercream: #f8f6f3;
  --eversage: #9ca894;
  --everbeige: #d4cfc7;
  --evercharcoal: #333333;
  --evergold: #c9a962;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--evercream);
  color: var(--everblack);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

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

.site-logo .logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  color: var(--everblack);
}

.site-logo .logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--evercharcoal);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.875rem;
  color: var(--everblack);
  position: relative;
}

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

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

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--evercharcoal);
}

.dropdown-menu a:hover {
  background: var(--evercream);
  color: var(--everblack);
}

.btn-primary {
  display: inline-block;
  background: var(--everblack);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.main-nav .btn-primary {
  color: white !important;
}

.main-nav .btn-primary:hover {
  color: white !important;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  padding-top: 80px;
  background: linear-gradient(to bottom, var(--evercream), white);
  display: flex;
  flex-direction: column;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 5%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--everblack);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 0.875rem;
  color: var(--evercharcoal);
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.hero-image {
  width: 100%;
  height: 60vh;
  position: relative;
  overflow: hidden;
}

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

/* ============================================
   ABOUT SECTION & SERVICES GRID - 4x2 LAYOUT
   ============================================ */
.about-section {
  padding: 5rem 0;
  background: white;
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--everblack);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--evercharcoal);
  font-style: italic;
  margin-bottom: 2rem;
}

/* SERVICES GRID - 4 COLUMNS, 2 ROWS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
  margin-bottom: 48px;
  width: 100%;
}

.service-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.service-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 16px;
  color: var(--everblack);
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.service-box h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--everblack);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.service-box p {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.past-events-link {
  display: inline-block;
  color: var(--everblack);
  font-weight: 500;
  margin-top: 1rem;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Client Logos Marquee */
.client-marquee {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.client-marquee::before,
.client-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--everbeige);
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   EVENT GALLERY & STATS
   ============================================ */
.gallery-section {
  background: white;
}

.gallery-image {
  width: 100%;
  height: 70vh;
  position: relative;
  overflow: hidden;
}

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

.image-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.stats-bar {
  background: var(--evercream);
  padding: 2rem 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

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

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--everblack);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--evercharcoal);
  margin-top: 0.5rem;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  padding: 5rem 5%;
  background: white;
}

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

.testimonial-card {
  background: var(--evercream);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-quote {
  font-size: 0.875rem;
  color: var(--evercharcoal);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: 500;
  color: var(--everblack);
  font-size: 0.875rem;
}

/* ============================================
   EVENT CATEGORIES
   ============================================ */
.categories-section {
  padding: 5rem 0;
  background: white;
}

.categories-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .categories-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 5% 1rem;
  }
  
  .categories-carousel::-webkit-scrollbar {
    display: none;
  }
  
  .category-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
  }
}

.category-image {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

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

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

.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--everblack);
  text-align: center;
  margin-bottom: 1rem;
}

.category-card .btn-primary {
  display: block;
  text-align: center;
  margin: 0 auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 5rem 5%;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--everblack);
  margin-bottom: 2rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--evercharcoal);
}

.contact-item svg {
  width: 20px;
  height: 20px;
}

.contact-item a:hover {
  color: var(--everblack);
}

.contact-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.875rem;
  color: var(--everblack);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--everbeige);
}

.form-submit {
  align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--evercream);
  padding: 4rem 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-column h3 {
  font-size: 1.125rem;
  color: var(--everblack);
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--evercharcoal);
}

.footer-links a:hover {
  color: var(--everblack);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--everbeige);
  max-width: 1200px;
  margin: 0 auto;
}

.copyright {
  font-size: 0.875rem;
  color: var(--evercharcoal);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--everblack);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--evercharcoal);
  transform: scale(1.05);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .contact-grid {
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-image {
    display: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .category-card {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 1rem;
  }
  
  .hero-content {
    padding: 2rem 1rem;
  }
  
  .about-section,
  .testimonials-section,
  .contact-section {
    padding: 3rem 1rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

::selection {
  background: var(--eversage);
  color: white;
}

*:focus-visible {
  outline: 2px solid var(--eversage);
  outline-offset: 2px;
}

.mobile-menu {
  background: #1a1a1a;
  padding: 2rem;
}

.mobile-menu nav {
  display: block !important;
}

.mobile-menu nav a {
  display: block !important;
  color: white;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 0;
  text-align: center;
  width: 100%;
}

.mobile-menu nav .btn-primary {
  background: white;
  color: #1a1a1a !important;
  margin-top: 1rem;
  display: inline-block;
}

/* ============================================
   EVENT GALLERY PAGE STYLES
   ============================================ */
.event-gallery-page {
  background: white;
}

.event-header h1 {
  position: relative;
  padding-bottom: 1rem;
}

.event-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--everblack);
}

.featured-gallery .main-image {
  position: relative;
}

.featured-gallery .main-image::before {
  content: '';
  display: block;
  padding-top: 56.25%;
}

.featured-gallery .main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid img {
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

@media (max-width: 768px) {
  .event-gallery-page {
    padding-top: 60px;
  }
  
  .featured-gallery .main-image {
    margin-left: -5%;
    margin-right: -5%;
    border-radius: 0;
  }
}