/*
Theme Name: EventsByAkeem
Theme URI: https://eventsbyakeem.com
Author: EventsByAkeem Team
Author URI: https://eventsbyakeem.com
Description: Premium event design and styling WordPress theme for EventsByAkeem. Features elegant design, booking system, and Elementor compatibility.
Version: 1.1.4
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eventsbyakeem
Tags: events, wedding, business, portfolio, one-column, custom-menu, custom-logo, editor-style, featured-images, theme-options
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-gold: #D4AF37;
  --primary-gold-dark: #B5902B;
  --dark-bg: #000000;
  /* Pure Black as requested */
  --light-text: #FFFFFF;
  --gray-text: #CCCCCC;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  --transition-fast: 0.3s ease;
  --transition-smooth: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.8;
  /* Increased for readability */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Crisper text */
  overflow-x: hidden;
  letter-spacing: 0.02em;
  /* Slight tracking */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  letter-spacing: -0.01em;
  /* Tighter headings */
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
  /* Standardizing h1 */
}

h2 {
  font-size: 2.8rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   6. Forms & Inputs (Brand Colors)
   ========================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 15px;
  width: 100%;
  border-radius: 5px;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* Light Theme Overrides (if inside white container) */
.white-bg input,
.white-bg textarea,
.contact-section input,
.contact-section textarea,
.site-main input,
.site-main textarea {
  border-color: #ddd;
  color: #000;
}

.white-bg input:focus,
.contact-section input:focus {
  border-color: var(--primary-gold);
}

/* Global Buttons */
button,
input[type="submit"],
.btn,
.button,
.wp-block-button__link {
  background-color: var(--primary-gold);
  color: #000 !important;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  /* Pillow shape as standard */
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.button:hover,
.wp-block-button__link:hover {
  background-color: #fff;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Specific fix for "Load More" to be Black/Gold if requested, or keep standard Gold/Black */
.btn-load-more {
  background-color: #000;
  color: #fff !important;
  border: 1px solid #000;
}

.btn-load-more:hover {
  background-color: var(--primary-gold);
  color: #000 !important;
  border-color: var(--primary-gold);
}

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

/* =========================================
   6. Forms & Inputs (Brand Colors & Global Overrides)
   ========================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 15px;
  width: 100%;
  border-radius: 5px;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* Light Theme Overrides (if inside white container) */
.white-bg input,
.white-bg textarea,
.contact-section input,
.contact-section textarea,
.site-main input,
.site-main textarea {
  border-color: #ddd;
  color: #000;
}

.white-bg input:focus,
.contact-section input:focus {
  border-color: var(--primary-gold);
}

/* Global Buttons */
button,
input[type="submit"],
.btn,
.button,
.wp-block-button__link {
  background-color: var(--primary-gold);
  color: #000 !important;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  /* Pillow shape as standard */
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
}

button:hover,
input[type="submit"]:hover,
.btn:hover,
.button:hover,
.wp-block-button__link:hover {
  background-color: #fff;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Load More Button Specifics */
.btn-load-more {
  background-color: #000;
  color: #fff !important;
  border: 1px solid #000;
}

.btn-load-more:hover {
  background-color: var(--primary-gold);
  color: #000 !important;
  border-color: var(--primary-gold);
}

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

.section-padding {
  padding: 80px 0;
}

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

::-webkit-scrollbar-track {
  background: var(--color-dark);
}

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

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

/* Global Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  h4 {
    font-size: 1.25rem !important;
  }

  .section-padding {
    padding: 50px 0;
  }
}

/* WordPress Core Styles */
.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   Mobile Fixes
   ========================================= */
@media (max-width: 768px) {

  /* Hero Section Height Fix */
  .hero-slider .slick-slide,
  .hero-section {
    height: 60vh !important;
    /* Force smaller height on mobile */
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2.2rem !important;
  }

  /* General Mobile Alignment */
  .site-main section,
  .footer-section {
    text-align: center;
  }

  /* Event Highlights Mobile Fix */
  .event-highlights-section {
    padding: 40px 0;
  }

  .event-highlight-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .event-highlight-item {
    width: 100%;
    margin-bottom: 15px;
  }

  .event-highlight-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  /* Footer Whitespace Fix */
  html,
  body {
    height: auto;
    overflow-x: hidden;
  }

  .site-footer {
    margin-bottom: 0 !important;
    padding-bottom: 20px;
  }

  /* Ensure no margin below the last element */
  p:last-child {
    margin-bottom: 0;
  }

  /* Center images in content on mobile */
  .wp-block-image {
    margin: 0 auto;
  }
}