/*
Theme Name: Latino Club
Theme URI: https://latino.hr
Author: Custom for Latino Club
Author URI: https://latino.hr
Description: Elegantan, responzivan WordPress theme za Latino Club – noćni klub s latino ritmom. Podržava standardne stranice, custom logo, menije i widgete. Nije one-page.
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: latino-club
Tags: nightclub, entertainment, responsive, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==================================================
   CSS Variables
   ================================================== */
:root {
  --color-bg: #0b0b0b;
  --color-bg-alt: #141414;
  --color-bg-card: #1a1a1a;
  --color-text: #f5f5f5;
  --color-text-muted: #b0b0b0;
  --color-accent: #c41e3a;
  --color-accent-hover: #e02a4a;
  --color-gold: #d4af37;
  --color-gold-soft: #e8c96a;
  --color-border: #2a2a2a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --radius: 12px;
  --shadow: 0 10px 40px rgba(0,0,0,0.4);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-gold-soft);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }

p {
  margin-bottom: 1.25em;
  color: var(--color-text-muted);
}

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

.section {
  padding: 5rem 0;
}

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

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

.section-title span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* ==================================================
   Header
   ================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo img {
  max-height: 50px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-text);
  letter-spacing: 1px;
}

.site-logo .logo-text span {
  color: var(--color-accent);
}

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

.main-nav ul {
  display: flex;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

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

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
  width: 100%;
}

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

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==================================================
   Hero
   ================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #0b0b0b 0%, #1a0a0f 50%, #0b0b0b 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(196, 30, 58, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 60%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

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

.hero h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero h1 span {
  color: var(--color-accent);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--color-gold);
  color: #0b0b0b;
}

/* ==================================================
   Cards & Grid
   ================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--color-accent);
}

.card-image {
  height: 200px;
  background: linear-gradient(45deg, #2a1a1f, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-accent);
}

.card-body {
  padding: 1.75rem;
}

.card-body h3 {
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* ==================================================
   Features / Services
   ================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.feature-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* ==================================================
   Events
   ================================================== */
.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--color-bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.event-card:hover {
  border-color: var(--color-accent);
}

.event-date {
  min-width: 100px;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  text-align: center;
}

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

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

.event-info {
  padding: 1.5rem 1.5rem 1.5rem 0;
  flex: 1;
}

.event-info h3 {
  margin-bottom: 0.4rem;
}

.event-meta {
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

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

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #2a1a1f, #1a1a1a);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--color-accent);
}

/* ==================================================
   Testimonials
   ================================================== */
.testimonial {
  background: var(--color-bg-card);
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.testimonial .author {
  font-weight: 600;
  color: var(--color-gold);
}

/* ==================================================
   Contact / Footer
   ================================================== */
.site-footer {
  background: #080808;
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.footer-col p,
.footer-col li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--color-text-muted);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ==================================================
   Page content (standard pages)
   ================================================== */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, #1a0a0f 0%, var(--color-bg) 100%);
}

.page-content {
  padding: 3rem 0 5rem;
}

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

.entry-content h2,
.entry-content h3 {
  margin-top: 2rem;
}

.entry-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
}

/* ==================================================
   Responsive
   ================================================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    gap: 0.75rem;
    min-width: auto;
    padding: 1rem;
  }
}

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

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 11, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .hero {
    min-height: 80vh;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

/* WordPress specific */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.wp-caption { max-width: 100%; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
