/*
 * Lampousa Cypriot American Association
 * Modern website redesign
 *
 * Color Palette:
 * - Saffron: #EBC221 (yellow)
 * - Olive: #7F9100 (green)
 * - Tiger Orange: #F1880F (orange)
 * - Yale Blue: #00436A (dark blue)
 */

/* CSS Custom Properties */
:root {
  --color-saffron: #EBC221;
  --color-olive: #7F9100;
  --color-orange: #F1880F;
  --color-blue: #00436A;
  --color-white: #FFFFFF;
  --color-off-white: #FAFAFA;
  --color-light-gray: #F5F5F5;
  --color-gray: #666666;
  --color-dark: #1A1A1A;

  --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;

  --max-width: 1200px;
  --header-height: 80px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
}

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

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

a:hover {
  color: var(--color-orange);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-blue);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-olive), var(--color-saffron));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.logo-image {
  height: 65px;
  width: auto;
}

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

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

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

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

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

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

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

.social-links a {
  color: var(--color-gray);
  font-size: 1.25rem;
  transition: color var(--transition);
}

.social-links a:hover {
  color: var(--color-blue);
}

.social-icon {
  width: 24px;
  height: 24px;
  transition: opacity var(--transition);
}

.social-links a:hover .social-icon,
.footer-social a:hover .social-icon {
  opacity: 0.7;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }

  .main-nav.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
  }
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-olive) 0%, #5a6700 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: url("/lemon-tree.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, var(--color-olive) 0%, transparent 30%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

.hero-subtitle {
  color: var(--color-saffron);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--color-white);
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

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

@media (max-width: 900px) {
  .hero::before,
  .hero::after {
    width: 100%;
    opacity: 0.3;
  }

  .hero::after {
    background: linear-gradient(180deg, var(--color-olive) 0%, transparent 50%);
  }

  .hero h1 {
    font-size: 2.25rem;
  }
}

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

.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.btn-primary:hover {
  background: #d67700;
  border-color: #d67700;
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border-color: var(--color-blue);
}

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

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--color-light-gray);
}

.section-blue {
  background: var(--color-blue);
  color: var(--color-white);
}

.section-blue h2,
.section-blue h3 {
  color: var(--color-white);
}

.section-blue a {
  color: var(--color-saffron);
}

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

.section-header h2 {
  color: var(--color-blue);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--color-gray);
  font-size: 1.1rem;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.event-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.event-image {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, var(--color-olive), var(--color-saffron));
  overflow: hidden;
}

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

.event-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
}

.event-badge.past {
  background: var(--color-blue);
}

.event-badge.upcoming {
  background: var(--color-olive);
}

.event-content {
  padding: 1.5rem;
}

.event-date {
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.event-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.event-content h3 a {
  color: var(--color-dark);
}

.event-content h3 a:hover {
  color: var(--color-blue);
}

.event-content p {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* Featured Events */
.featured-events {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .featured-events {
    grid-template-columns: 1fr;
  }
}

.featured-event {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, var(--color-olive), var(--color-saffron));
}

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

.featured-event::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.featured-event-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: var(--color-white);
}

.featured-event-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.featured-event-label.next {
  background: var(--color-olive);
}

.featured-event h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.featured-event-date {
  color: var(--color-saffron);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.featured-event p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-content h2 {
  color: var(--color-blue);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
}

/* Mission Points */
.mission-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mission-point {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.mission-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-olive), var(--color-saffron));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.mission-point h4 {
  color: var(--color-blue);
  margin-bottom: 0.75rem;
}

.mission-point p {
  color: var(--color-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-saffron);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
}

/* Board Section */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.board-member {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.board-member-photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-olive), var(--color-saffron));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--color-white);
}

.board-member h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.board-member p {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 0;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-olive), var(--color-saffron));
}

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

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

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

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

.gallery-overlay h4 {
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Events List */
.events-list {
  max-width: 800px;
  margin: 0 auto;
}

.events-year {
  margin-bottom: 3rem;
}

.events-year h3 {
  color: var(--color-blue);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-saffron);
}

.event-list-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.event-list-item:hover {
  box-shadow: var(--shadow-md);
}

.event-list-date {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  padding: 1rem;
  background: var(--color-blue);
  border-radius: var(--radius-sm);
  color: var(--color-white);
}

.event-list-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-list-date .day {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.event-list-date .year {
  font-size: 0.75rem;
  opacity: 0.8;
}

.event-list-info h4 {
  margin-bottom: 0.5rem;
}

.event-list-info p {
  color: var(--color-gray);
  margin-bottom: 0;
}

/* Newsletter CTA */
.newsletter-cta {
  background: linear-gradient(135deg, var(--color-olive), #5a6700);
  padding: 4rem 0;
  text-align: center;
}

.newsletter-cta h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

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

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-about h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-about p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

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

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

.footer-column a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--color-saffron);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact .icon {
  color: var(--color-saffron);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

.footer-social a {
  color: rgba(255,255,255,0.7);
  font-size: 1.25rem;
}

.footer-social a:hover {
  color: var(--color-saffron);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--color-blue), #002d4a);
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--color-saffron);
}

.breadcrumb span {
  color: rgba(255,255,255,0.5);
  margin: 0 0.5rem;
}

/* Greek Motif Decoration */
.greek-border {
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg width='48' height='12' viewBox='0 0 48 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6h6V0h12v12h-6v-6h-6v6H6V6H0V0zm24 0h12v6h6V0h12v12h-6v-6h-6v6h-6V6h-6V0z' fill='%2300436A' fill-opacity='0.2'/%3E%3C/svg%3E") repeat-x;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-blue { color: var(--color-blue); }
.text-orange { color: var(--color-orange); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

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

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

/* Den Xechno Symbol */
.den-xechno {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
