/* Main Styles for GameTurk Website
-------------------------------------------------- */

/* Global Styles
-------------------------------------------------- */
:root {
  --primary-color: #ff5722;
  --secondary-color: #2196f3;
  --accent-color: #673ab7;
  --dark-color: #333333;
  --light-color: #f5f5f5;
  --grey-color: #757575;
  --light-grey: #e0e0e0;
  --white: #ffffff;
  --black: #000000;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;

  --border-radius: 4px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html, body {
  height: 100%;
}

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
}

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

button, .btn {
  cursor: pointer;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0.5rem auto 0;
}

.section-header p {
  color: var(--grey-color);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
}

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

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

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

.btn-secondary:hover {
  background-color: #1976d2;
  color: var(--white);
}

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

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: var(--white);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
}

.cookie-content h3 {
  margin-bottom: 0.5rem;
  color: var(--white);
}

.cookie-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Cookie Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  position: relative;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--grey-color);
  cursor: pointer;
}

.close:hover {
  color: var(--dark-color);
}

.cookie-options {
  margin: 1.5rem 0;
}

.cookie-option {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
  padding-bottom: 1rem;
}

.cookie-option:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-option label {
  font-weight: 500;
  margin-left: 0.5rem;
}

.cookie-option p {
  margin: 0.5rem 0 0 1.75rem;
  font-size: 0.9rem;
  color: var(--grey-color);
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  z-index: 100;
  padding: 1rem 0;
}

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

.logo img {
  height: 40px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav ul li {
  margin: 0 0.5rem;
}

.main-nav ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--dark-color);
  font-weight: 500;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--primary-color);
}

.main-nav ul li a.btn {
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--light-color);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1;
}

.about-stats {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  flex: 1;
  min-width: 120px;
  text-align: center;
  margin: 1rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-text {
  font-size: 1rem;
  color: var(--grey-color);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  margin-bottom: 1.5rem;
}

.service-icon img {
  height: 60px;
  margin: 0 auto;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--grey-color);
  margin-bottom: 0;
}

/* Games Section */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.game-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.game-image {
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-image img {
  transform: scale(1.05);
}

.game-info {
  padding: 1.5rem;
}

.game-info h3 {
  margin-bottom: 0.5rem;
}

.game-info p {
  color: var(--grey-color);
  margin-bottom: 1rem;
}

.game-platform {
  display: inline-block;
  font-size: 0.8rem;
  background-color: var(--light-grey);
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  color: var(--dark-color);
}

/* Technology Section */
.technology-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.technology-text {
  flex: 1;
}

.technology-image {
  flex: 1;
}

.technology-list {
  list-style: none;
  padding: 0;
}

.technology-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.mini-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 1rem;
}

.testimonial-content {
  position: relative;
  padding: 0 2rem;
}

.testimonial-content:before,
.testimonial-content:after {
  content: '"';
  font-size: 3rem;
  color: var(--light-grey);
  position: absolute;
}

.testimonial-content:before {
  top: -20px;
  left: 0;
}

.testimonial-content:after {
  bottom: -40px;
  right: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.author-info {
  margin-left: 1rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--grey-color);
  font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
  display: flex;
  gap: 3rem;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 2;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group.inline {
  display: flex;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group.inline input {
  flex: 1;
  margin-right: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  margin-right: 1rem;
  color: var(--primary-color);
}

.info-details h4 {
  margin-bottom: 0.25rem;
}

.info-details p {
  color: var(--grey-color);
  margin-bottom: 0;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--light-color);
}

.newsletter-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.newsletter-text {
  flex: 1;
}

.newsletter-form {
  flex: 1;
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: var(--light-grey);
  margin-bottom: 0;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

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

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: var(--light-grey);
}

.footer-column ul li a:hover,
.footer-column ul li a.active {
  color: var(--primary-color);
}

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

.footer-bottom p {
  margin-bottom: 0;
  color: var(--light-grey);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

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

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

.social-icon {
  width: 18px;
  height: 18px;
}

/* Blog Styles */
.page-hero {
  background-color: var(--light-color);
  padding: 3rem 0;
  text-align: center;
}

.page-hero-content h1 {
  margin-bottom: 0.5rem;
}

.page-hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--grey-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-grid.full {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.blog-grid.small {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.blog-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  display: block;
  font-size: 0.8rem;
  color: var(--grey-color);
  margin-bottom: 0.5rem;
}

.blog-content h3,
.blog-content h4 {
  margin-bottom: 0.75rem;
}

.blog-content p {
  color: var(--grey-color);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 500;
  display: inline-block;
  position: relative;
}

.read-more:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.blog-card:hover .read-more:after {
  width: 100%;
}

/* Article Styles */
.article-main {
  padding: 3rem 0;
}

.article-header {
  margin-bottom: 2rem;
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--grey-color);
}

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

.article-meta {
  color: var(--grey-color);
  font-size: 0.9rem;
  margin: 1rem 0;
}

.article-meta span {
  margin-right: 1.5rem;
}

.article-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.article-intro {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--dark-color);
  margin-bottom: 2rem;
  border-left: 3px solid var(--primary-color);
  padding-left: 1.5rem;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-callout {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.article-callout h3 {
  margin-top: 0;
}

.article-tags {
  margin: 3rem 0;
}

.tag {
  display: inline-block;
  font-size: 0.8rem;
  background-color: var(--light-grey);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  color: var(--dark-color);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.article-share {
  margin-bottom: 3rem;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.share-button.facebook {
  background-color: #3b5998;
}

.share-button.twitter {
  background-color: #1da1f2;
}

.share-button.linkedin {
  background-color: #0077b5;
}

.share-button.whatsapp {
  background-color: #25d366;
}

.share-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.related-posts {
  margin-top: 3rem;
}

/* Legal Pages */
.legal-content {
  padding: 3rem 0;
}

.legal-header {
  margin-bottom: 3rem;
  text-align: center;
}

.legal-header h1 {
  margin-bottom: 0.5rem;
}

.legal-header p {
  color: var(--grey-color);
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  border-bottom: 1px solid var(--light-grey);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.legal-section h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.contact-details {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1.5rem;
}

/* Thanks Page */
.thanks-section {
  padding: 5rem 0;
  text-align: center;
}

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

.thanks-icon {
  margin-bottom: 2rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  color: var(--success-color);
  margin: 0 auto;
}

.thanks-message {
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.next-steps {
  margin: 3rem 0;
  text-align: left;
}

.next-steps-list {
  list-style: none;
  padding: 0;
}

.next-steps-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.mini-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  color: var(--primary-color);
}

.social-connect {
  margin: 3rem 0;
}

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

.home-button {
  margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .technology-content,
  .contact-content,
  .newsletter-content {
    flex-direction: column;
  }
  
  .hero-image,
  .about-image,
  .technology-image {
    margin-top: 2rem;
  }
  
  .about-image,
  .technology-image {
    order: -1;
  }
  
  .services-grid,
  .games-grid,
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
  }
  
  .main-nav.active {
    max-height: 400px;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  .main-nav ul li {
    margin: 0;
  }
  
  .main-nav ul li a {
    padding: 0.75rem 2rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .form-group.inline {
    flex-direction: column;
  }
  
  .form-group.inline input {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}