/* CasinoPortalPT Enhanced Custom Styles */

/* Added Google Fonts and enhanced color palette */
:root {
  --pt-blue: #003da5;
  --pt-yellow: #ffd700;
  --pt-light-blue: #e8f4f8;
  --pt-dark: #1a1a1a;
  --pt-gray: #f5f5f5;
  --pt-accent: #ff6b35;
  --pt-gradient-1: linear-gradient(135deg, #003da5 0%, #0059d9 100%);
  --pt-gradient-2: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}

/* Applied custom fonts */
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.hero-title,
.page-title {
  font-family: "Playfair Display", serif;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* Override Bulma primary colors with Portuguese theme */
.has-text-primary {
  color: var(--pt-blue) !important;
}

.has-background-primary {
  background-color: var(--pt-blue) !important;
}

.has-background-primary-light {
  background-color: var(--pt-light-blue) !important;
}

.button.is-primary {
  background-color: var(--pt-blue);
  border-color: var(--pt-blue);
}

.button.is-primary:hover {
  background-color: #002a7a;
  border-color: #002a7a;
}

.button.is-warning {
  background-color: var(--pt-yellow);
  color: var(--pt-dark);
  font-weight: 600;
}

.button.is-warning:hover {
  background-color: #e6c200;
}

/* Enhanced hero section with decorative elements */
.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-banner .hero-body {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0, 61, 165, 0.92) 0%, rgba(0, 89, 217, 0.88) 100%);
}

/* Added decorative circle elements */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  z-index: 0;
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Added decorative wave element */
.decorative-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23f5f5f5'/%3E%3C/svg%3E")
    no-repeat center bottom;
  background-size: cover;
  z-index: 2;
}

/* Enhanced CTA button */
.cta-button {
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Added decorative dots pattern */
.decorative-dots {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, var(--pt-blue) 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: 0;
}

/* Enhanced content section */
.content-section {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
}

.content-box {
  background: white;
  border-left: 4px solid var(--pt-yellow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  border-radius: 8px;
}

/* Added decorative stripes */
.page-header-section {
  position: relative;
  overflow: hidden;
}

.decorative-stripe {
  position: absolute;
  height: 4px;
  background: var(--pt-gradient-2);
  z-index: 0;
}

.stripe-1 {
  width: 200px;
  top: 30px;
  left: 10%;
  transform: rotate(-15deg);
}

.stripe-2 {
  width: 150px;
  bottom: 30px;
  right: 15%;
  transform: rotate(15deg);
}

/* Enhanced casino cards with badges */
.casino-card {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
}

.casino-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 61, 165, 0.25);
  border-color: var(--pt-blue);
}

.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--pt-gradient-2);
  color: var(--pt-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bonus-highlight {
  background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--pt-yellow);
}

.visit-button {
  box-shadow: 0 4px 12px rgba(0, 61, 165, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
}

.visit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 61, 165, 0.4);
}

.casino-logo {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
}

.rating {
  font-size: 1.5rem;
}

/* Responsible Gaming Logos */
.responsible-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.responsible-logo {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  transition: transform 0.3s ease;
}

.responsible-logo:hover {
  transform: scale(1.1);
}

/* Added decorative geometric shapes */
.decorative-geometric {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 3px solid var(--pt-blue);
  opacity: 0.1;
  z-index: 0;
}

.geo-1 {
  top: 40px;
  left: 5%;
  transform: rotate(45deg);
  border-radius: 12px;
}

.geo-2 {
  bottom: 40px;
  right: 8%;
  transform: rotate(15deg);
  border-radius: 50%;
}

/* Enhanced content boxes */
.content-box-enhanced {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-top: 4px solid var(--pt-blue);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  border-radius: 12px;
}

.responsible-box {
  border: 2px solid var(--pt-yellow);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.15);
  border-radius: 12px;
}

.faq-box {
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

/* Added decorative patterns for contact page */
.decorative-pattern {
  position: absolute;
  width: 120px;
  height: 120px;
  background: repeating-linear-gradient(45deg, var(--pt-blue), var(--pt-blue) 2px, transparent 2px, transparent 10px);
  opacity: 0.05;
  z-index: 0;
}

.pattern-1 {
  top: 20px;
  right: 10%;
  transform: rotate(30deg);
}

.pattern-2 {
  bottom: 20px;
  left: 8%;
  transform: rotate(-30deg);
}

/* Enhanced contact boxes */
.contact-info-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-left: 5px solid var(--pt-blue);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.contact-item {
  padding: 12px;
  background: rgba(0, 61, 165, 0.03);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(0, 61, 165, 0.08);
  transform: translateX(5px);
}

.newsletter-box {
  border: 2px solid var(--pt-blue);
  box-shadow: 0 6px 25px rgba(0, 61, 165, 0.15);
  border-radius: 12px;
}

.subscribe-button {
  box-shadow: 0 4px 12px rgba(0, 61, 165, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.subscribe-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 61, 165, 0.4);
}

/* Enhanced methodology box */
.methodology-box {
  border-top: 4px solid var(--pt-blue);
  border-bottom: 4px solid var(--pt-yellow);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

/* Enhanced FAQ styling */
.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(0, 61, 165, 0.02);
  padding-left: 10px;
  border-radius: 8px;
}

.faq-item:last-child {
  border-bottom: none;
}

details summary {
  cursor: pointer;
  padding: 1rem 0;
  transition: all 0.3s ease;
  position: relative;
}

details summary::before {
  content: "▶";
  position: absolute;
  left: -20px;
  transition: transform 0.3s ease;
  color: var(--pt-blue);
}

details[open] summary::before {
  transform: rotate(90deg);
}

details summary:hover {
  color: var(--pt-blue);
  padding-left: 10px;
}

details[open] summary {
  color: var(--pt-blue);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Contact Info Styling */
.contact-info .icon-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Mobile Responsive Navbar */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: #f5f5f5;
  }

  .navbar-brand {
    width: 100%;
    justify-content: space-between;
  }
}

/* Enhanced responsive design */
@media screen and (max-width: 768px) {
  .decorative-circle,
  .decorative-stripe,
  .decorative-geometric,
  .decorative-pattern,
  .decorative-dots {
    display: none;
  }

  .card-badge {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
  }

  .casino-card .columns {
    display: block !important;
  }

  .casino-card .column {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 1rem;
  }

  .casino-logo {
    margin: 0 auto;
  }

  .hero-banner .title {
    font-size: 2rem !important;
  }

  .hero-banner .subtitle {
    font-size: 1.25rem !important;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Link Styling */
a {
  transition: color 0.3s ease;
}

a:hover {
  color: var(--pt-blue);
}

/* Box Shadows */
.box {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
.footer {
  margin-top: 3rem;
}

/* Form Styling */
.input:focus,
.textarea:focus {
  border-color: var(--pt-blue);
  box-shadow: 0 0 0 0.125em rgba(0, 61, 165, 0.25);
}
