/* Kubet88 - Classic Las Vegas Style */
:root {
  --primary-red: #8B0000;
  --secondary-red: #B22222;
  --gold: #FFD700;
  --dark-gold: #B8860B;
  --black: #000000;
  --dark-grey: #1a1a1a;
  --light-grey: #f5f5f5;
  --white: #ffffff;
  --gradient-red: linear-gradient(135deg, #8B0000, #B22222);
  --gradient-gold: linear-gradient(135deg, #FFD700, #B8860B);
}

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

body {
  font-family: 'Times New Roman', serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header {
  background: var(--gradient-red);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  height: 50px;
  width: auto;
}

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

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu a:hover {
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--gold);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(139,0,0,0.4)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(255, 215, 0, 0.1) 2px,
    rgba(255, 215, 0, 0.1) 4px
  );
  animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
  0% { opacity: 0.3; }
  50% { opacity: 0.8; }
  100% { opacity: 0.3; }
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  background: var(--gradient-gold);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 10px #FFD700); }
  to { filter: drop-shadow(0 0 20px #FFD700); }
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--black);
  padding: 1.5rem 3rem;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

/* Sections */
.section {
  padding: 5rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  background: var(--gradient-gold);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Content Blocks */
.content-block {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  background: rgba(139, 0, 0, 0.1);
  border: 2px solid var(--gold);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.content-block:nth-child(even) {
  flex-direction: row-reverse;
}

.content-block-image {
  flex: 1;
  max-width: 50%;
  margin: 0 2rem;
}

.content-block-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.content-block-text {
  flex: 1;
  max-width: 50%;
}

.content-block-text h3 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.content-block-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.grid-item {
  background: var(--gradient-red);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--gold);
  box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.grid-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  animation: rotate 4s linear infinite;
  z-index: 1;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.grid-item-content {
  position: relative;
  z-index: 2;
}

.grid-item-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.grid-item h4 {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.grid-item p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--dark-grey);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--gold);
  margin-top: 5rem;
}

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

.footer-section h4 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

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

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

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--gold);
  color: var(--light-grey);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--gradient-red);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

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

  .menu-toggle {
    display: flex;
  }

  .hero {
    background-attachment: scroll; /* Fix parallax on mobile */
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

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

  .content-block {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .content-block:nth-child(even) {
    flex-direction: column;
  }

  .content-block-image,
  .content-block-text {
    max-width: 100%;
    margin: 1rem 0;
  }

  .content-block-text h3 {
    font-size: 1.8rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid-item {
    padding: 1.5rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    width: auto;
    display: inline-block;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

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

  .content-block-text h3 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .grid-item-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}