/* Main CSS File for Yozvara Casino Hotel Website */

/* Base Styles and Typography */
:root {
  --primary: #1A374D;
  --accent: #E8E8E8;
  --secondary: #406882;
  --text: #FFFFFF;
  --dark: #0F2233;
  --light: #F5F5F5;
  --gold: #D4AF37;
  --red: #B22222;
  --gray: #6C757D;
  --black: #121212;
  --shadow: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: var(--primary);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .nav-left ul li a, .nav-right ul li a {
  font-family: 'Cardo', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(26, 55, 77, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.logo img {
  height: 60px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 50px;
}

.nav-left, .nav-right {
  flex: 1;
}

.nav-left ul, .nav-right ul {
  display: flex;
  list-style: none;
}

.nav-left ul {
  justify-content: flex-end;
}

.nav-right ul {
  justify-content: flex-start;
}

.nav-left ul li, .nav-right ul li {
  margin: 0 1rem;
}

.nav-left ul li a, .nav-right ul li a {
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 0;
  position: relative;
  margin-bottom: 0;
}

.nav-left ul li a::after, .nav-right ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-left ul li a:hover::after, .nav-right ul li a:hover::after,
.nav-left ul li a.active::after, .nav-right ul li a.active::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  padding: 1rem 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  text-align: center;
  padding: 0.8rem 0;
}

.mobile-nav ul li a {
  color: var(--text);
  font-family: 'Cardo', serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav ul li a.active {
  color: var(--gold);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text);
}

.btn-primary:hover {
  background-color: var(--dark);
  color: var(--text);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Page Banner */
.page-banner {
  background-color: var(--primary);
  background-image: linear-gradient(rgba(26, 55, 77, 0.8), rgba(26, 55, 77, 0.8)), url('/images/page-banner-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 10rem 2rem 6rem;
  text-align: center;
}

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

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

.breadcrumbs {
  color: var(--accent);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--text);
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.separator {
  width: 80px;
  height: 3px;
  background-color: var(--gold);
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--text);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 60px;
}

.footer-column h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.footer-links, .contact-info {
  list-style: none;
}

.footer-links li, .contact-info li {
  margin-bottom: 0.8rem;
}

.footer-links li a {
  color: var(--text);
  transition: var(--transition);
}

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

.contact-info li {
  display: flex;
  align-items: center;
}

.contact-info li i {
  margin-right: 10px;
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--gold);
  color: var(--primary);
}

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

.copyright {
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text);
  font-size: 0.9rem;
}

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

/* CTA Section */
.cta-section {
  background-color: var(--secondary);
  background-image: linear-gradient(rgba(64, 104, 130, 0.9), rgba(64, 104, 130, 0.9)), url('/images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 5rem 2rem;
  text-align: center;
}

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

.cta-content h2 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-section .btn-outline {
  border-color: var(--text);
  color: var(--text);
}

.cta-section .btn-outline:hover {
  background-color: var(--text);
  color: var(--secondary);
}

/* Newsletter */
.newsletter {
  background-color: var(--light);
  padding: 4rem 2rem;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

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

.newsletter p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 2px solid var(--primary);
  border-radius: 4px 0 0 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  html {
    font-size: 15px;
  }
  
  .header-container {
    padding: 1rem;
  }
  
  .logo {
    padding: 0 1.5rem;
  }
  
  .nav-left ul li, .nav-right ul li {
    margin: 0 0.7rem;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 14px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .nav-left, .nav-right {
    display: none;
  }
  
  .header-container {
    justify-content: space-between;
    padding: 0.8rem 1rem;
  }
  
  .logo {
    padding: 0;
  }
  
  .mobile-nav.show {
    display: block;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 4px;
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 13px;
  }
  
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .page-banner {
    padding: 8rem 1rem 4rem;
  }
}

/* Icons (placeholder for font icons) */
/* In a real project, you would use a font icon library like Font Awesome */
.icon-facebook::before,
.icon-twitter::before,
.icon-instagram::before,
.icon-linkedin::before,
.icon-location::before,
.icon-phone::before,
.icon-email::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-facebook::before {
  background-image: url('/images/icons/facebook.png');
}

.icon-twitter::before {
  background-image: url('/images/icons/twitter.png');
}

.icon-instagram::before {
  background-image: url('/images/icons/instagram.png');
}

.icon-linkedin::before {
  background-image: url('/images/icons/linkedin.png');
}

.icon-location::before {
  background-image: url('/images/icons/location.png');
}

.icon-phone::before {
  background-image: url('/images/icons/phone.png');
}

.icon-email::before {
  background-image: url('/images/icons/email.png');
}

/* Alternate Background */
.alternate-bg {
  background-color: var(--accent);
}

/* Form Styles */
input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

select {
  appearance: none;
  background-image: url('/images/icons/arrow-down.png');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.checkbox-group label {
  margin-bottom: 0;
}

/* FAQ Accordion */
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.faq-question {
  padding: 1rem;
  background-color: var(--light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: 700;
  transition: var(--transition);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-answer p {
  padding: 1rem;
  margin-bottom: 0;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}