/*
Theme Name: Amoria Events Pro
Description: Complete Amoria Events WordPress Theme - Elementor Compatible
Version: 2.1
Author: Amoria Events
Text Domain: amoria-events-pro
Requires PHP: 7.4
*/

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

/* CSS Variables */
:root {
  --primary-gold: #d4af37;
  --dark-gold: #b8941f;
  --cream: #f5f1e8;
  --light-cream: #fef8eb;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-400: #cbd5e0;
  --gray-500: #a0aec0;
  --gray-600: #718096;
  --gray-700: #4a5568;
  --gray-800: #2d3748;
  --gray-900: #1a202c;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--light-cream);
  font-size: 16px;
}

.font-script {
  font-family: "Dancing Script", cursive;
}

.font-sans {
  font-family: "Inter", sans-serif;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-fluid {
  max-width: 100%;
  padding: 0 1rem;
}

/* WordPress Specific Styles */
.aligncenter {
  text-align: center;
}
.alignleft {
  float: left;
  margin-right: 1rem;
}
.alignright {
  float: right;
  margin-left: 1rem;
}

.wp-block-image {
  margin: 0;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption-text {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Header Styles */
.site-header {
  background-color: var(--black);
  color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.site-header.scrolled {
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
}

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

/* Logo Section */
.site-branding {
  flex-shrink: 0;
}

.site-logo {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-family: "Dancing Script", cursive;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-gold);
  line-height: 1;
}

.logo-subtext {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: -0.5rem;
}

/* Navigation */
.main-navigation {
  display: none;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  font-weight: 500;
  font-size: 0.95rem;
}

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

.menu-item-has-children > a::after {
  content: "▼";
  margin-left: 0.5rem;
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--black);
  min-width: 220px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  border-radius: 8px;
  border: 1px solid var(--gray-700);
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li {
  margin: 0;
}

.sub-menu a {
  padding: 0.75rem 1.5rem;
  display: block;
  border-bottom: 1px solid var(--gray-700);
  font-size: 0.9rem;
}

.sub-menu a:hover {
  background-color: var(--gray-800);
  color: var(--primary-gold);
}

.sub-menu li:last-child a {
  border-bottom: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search-toggle {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
  border-radius: 50%;
}

.search-toggle:hover {
  color: var(--primary-gold);
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-button {
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  background: transparent;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cta-button:hover {
  background-color: var(--primary-gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: 4px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Desktop Navigation */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

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

/* Mobile Navigation */
@media (max-width: 1023px) {
  .header-container {
    padding: 0 1rem;
    height: 70px;
  }

  .logo-text {
    font-size: 2rem;
  }

  .main-navigation.toggled {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 0 0 1rem 1rem;
    padding: 2rem;
    margin-top: 1rem;
    box-shadow: var(--shadow-xl);
  }

  .main-navigation.toggled .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation.toggled .nav-menu a {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }

  .main-navigation .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0 0 1rem;
    border-radius: 0.5rem;
  }

  .cta-button {
    display: none;
  }
}

/* Main Content */
.site-main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--cream) 0%, var(--light-cream) 100%);
  padding: 4rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}

.page-title {
  font-family: "Dancing Script", cursive;
  font-size: 3.5rem;
  color: var(--black);
  margin-bottom: 1rem;
  font-weight: 600;
}

.page-description {
  font-size: 1.2rem;
  color: var(--gray-600);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog Posts Section */
.blog-posts-section {
  padding: 4rem 0;
  background: var(--light-cream);
}

.section-title {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 3rem;
}

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

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-card-content {
  padding: 2rem;
}

.blog-card-title {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card-excerpt {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.read-more {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--dark-gold);
}

/* Footer Styles */
.site-footer {
  background-color: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo-text {
  font-family: "Dancing Script", cursive;
  font-size: 3rem;
  color: var(--primary-gold);
  font-weight: 600;
  line-height: 1;
}

.footer-logo-subtext {
  font-size: 0.9rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.footer-section h4 {
  color: var(--primary-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

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

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

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--gray-300);
  font-size: 0.95rem;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-gold);
  color: var(--black);
  transform: translateY(-2px);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.payment-icon {
  width: 50px;
  height: 32px;
  background: var(--white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.payment-icon:hover {
  opacity: 1;
}

.payment-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chat-button {
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.chat-button:hover {
  background: #128c7e;
  transform: scale(1.1);
}

.chat-button svg {
  width: 24px;
  height: 24px;
}



/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .footer-logo-text {
    font-size: 2.5rem;
  }

  .page-title {
    font-size: 2.5rem;
  }

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

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }


  .payment-methods {
    gap: 0.5rem;
  }

  .payment-icon {
    width: 40px;
    height: 26px;
  }

  .chat-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .chat-button {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.5rem;
  }

  .page-header {
    padding: 2rem 0 1rem;
  }

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

  .blog-posts-section {
    padding: 2rem 0;
  }

  .footer-content {
    padding: 0 0.5rem;
  }

  .footer-bottom {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

}

/* Elementor Compatibility */
.elementor-section {
  position: relative;
}

.elementor-container {
  max-width: 1200px;
}

.elementor-heading-title {
  font-family: "Dancing Script", cursive;
  font-weight: 600;
  color: var(--black);
}

.elementor-text-editor {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
}

.elementor-button-wrapper .elementor-button {
  border-radius: 6px !important;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.elementor-button-wrapper .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* Custom Classes for Elementor */
.amoria-gold {
  color: var(--primary-gold) !important;
}

.amoria-bg-gold {
  background-color: var(--primary-gold) !important;
}

.amoria-bg-cream {
  background-color: var(--cream) !important;
}

.amoria-bg-light-cream {
  background-color: var(--light-cream) !important;
}

.amoria-script-font {
  font-family: "Dancing Script", cursive !important;
}

.amoria-sans-font {
  font-family: "Inter", sans-serif !important;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-gold);
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--primary-gold);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .chat-widget {
    display: none;
  }
}
