/* 
* Cidamli - Online Slots & Casino Website
* Mobile-responsive design with modern styling
*/

:root {
  --primary-color: #0066B3;
  --secondary-color: #FFDF00;
  --accent-color: #D21F3C;
  --dark-color: #121212;
  --light-color: #F8F9FA;
  --gray-color: #6C757D;
  --success-color: #28A745;
  --warning-color: #FFC107;
  --danger-color: #DC3545;
  --text-color: #343A40;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

ul, ol {
  list-style-type: none;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #0055a4;
  color: white;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
  background-color: #e6c700;
  color: var(--dark-color);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  margin-right: 10px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.nav-toggle span {
  width: 30px;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu li a {
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  padding: 5px 0;
}

.nav-menu li a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, rgba(0, 102, 179, 0.9) 0%, rgba(0, 123, 62, 0.9) 100%), url('favicon.svg') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* Games Section */
.games {
  padding: 80px 0;
  background-color: #f5f7fa;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-header h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.game-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.game-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* News Section */
.news {
  padding: 80px 0;
  background-color: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background-color: #f5f7fa;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background-color: #f5f7fa;
}

.reviews-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.review-rating {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--accent-color);
  color: white;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 20px;
}

.review-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  text-align: center;
}

.cta h2, .cta p {
  color: white;
}

.cta h2:after {
  background: white;
  left: 50%;
  transform: translateX(-50%);
}

.cta .btn {
  margin-top: 20px;
  background-color: white;
  color: var(--primary-color);
}

.cta .btn:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: #adb5bd;
  padding: 80px 0 20px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  margin-right: 10px;
}

.footer-logo h3 {
  color: white;
  margin-bottom: 0;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: #adb5bd;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: white;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  font-size: 1.5rem;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 150px 0 80px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .btn {
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 10px;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .feature-grid, 
  .games-grid,
  .news-grid,
  .reviews-slider {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 100px 0 50px;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-header h2:after {
    width: 60px;
    height: 3px;
  }
}
