/* ==========================================================================
   FLAMENCO STAND - RESPONSIVE HORIZONTAL (DESKTOP) & VERTICAL (MOBILE)
   ========================================================================== */

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

:root {
  --bg-dark: #0A090B;
  --card-bg: rgba(18, 14, 20, 0.82);
  --card-border: rgba(231, 76, 60, 0.45);

  --accent-gold: #E74C3C;
  --accent-gold-light: #FF6B6B;
  --primary-red: #C0392B;
  --primary-red-bright: #E74C3C;

  --text-main: #FAF8F5;
  --text-muted: #C8BEB3;
  --text-dim: #908477;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --shadow-gold: 0 15px 50px rgba(192, 57, 43, 0.25);
  --shadow-card: 0 25px 70px rgba(0, 0, 0, 0.75);

  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* --- Background Image & Overlay --- */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) contrast(1.15) saturate(1.1);
  transform: scale(1.04);
  animation: bgPulse 25s infinite alternate ease-in-out;
}

@keyframes bgPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.07); }
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 30%, rgba(192, 57, 43, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
    linear-gradient(to bottom, rgba(10, 9, 11, 0.65) 0%, rgba(10, 9, 11, 0.95) 100%);
}

/* --- Main Glassmorphic Card Container --- */
.main-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1240px; /* Spacious horizontal layout for desktop */
}

.card-glass {
  background: var(--card-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 4rem 4.5rem;
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

/* Layout Grid: Horizontal on Desktop, Vertical on Mobile */
.card-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: center;
}

.card-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-links-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --- Logo & Title --- */
.logo-wrapper {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.brand-logo {
  max-height: 175px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 25px rgba(231, 76, 60, 0.35));
  transition: transform var(--transition);
}

.brand-logo:hover {
  transform: scale(1.04);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Action Buttons Grid --- */
.actions-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #E74C3C, #900C3F);
  opacity: 0;
  transition: var(--transition);
}

.action-card:hover {
  background: rgba(231, 76, 60, 0.14);
  border-color: #E74C3C;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(192, 57, 43, 0.35);
}

.action-card:hover::before {
  opacity: 1;
}

.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(231, 76, 60, 0.16);
  border: 1px solid rgba(231, 76, 60, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E74C3C;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.action-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex-grow: 1;
  margin: 0 1.25rem;
}

.action-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.action-value {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
}

.action-arrow {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: transform var(--transition), color var(--transition);
}

.action-card:hover .action-arrow {
  transform: translateX(5px);
  color: var(--accent-gold);
}

/* --- Social Section --- */
.social-section {
  padding-top: 0.5rem;
}

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

.social-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.social-card.facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.social-card.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border-color: transparent;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(220, 39, 67, 0.4);
}

/* --- Footer Elements --- */
.card-footer {
  font-size: 0.82rem;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.card-brand-col .card-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.location-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.location-info i {
  color: var(--accent-gold);
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* ==========================================================================
   MOBILE & RESPONSIVE LAYOUT (VERTICAL PORTRAIT STACK)
   ========================================================================== */
@media (max-width: 899px) {
  body {
    padding: 1.5rem 1rem;
  }

  .main-container {
    max-width: 520px;
  }

  .card-glass {
    padding: 2.5rem 1.5rem;
  }

  .card-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brand-logo {
    max-height: 130px;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: flex !important;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .social-grid {
    grid-template-columns: 1fr 1fr;
  }

  .action-card {
    padding: 1rem 1.25rem;
  }

  .action-content {
    margin: 0 0.85rem;
  }

  .action-value {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}
