/* TUNGA HUKUK - Index Page Styles
 * Created: April 25, 2025
 */

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--dark);
  color: var(--white);
  padding: 100px 0;
  overflow: hidden;
}

.hero-pattern {
  background-image: url('../images/gokturk-pattern.png');
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  padding-right: 30px;
}

.hero-text h1 {
  font-family: 'GokturkFont', 'Roboto', sans-serif;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-text h2 {
  font-size: 2rem;
  color: var(--turkuaz);
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ddd;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 10px;
  z-index: -1;
}

/* About Section */
.about-section {
  position: relative;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.experience-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--turkuaz);
  color: var(--white);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.experience-box .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.experience-box .text {
  display: block;
  font-size: 1rem;
}

.about-content {
  padding-left: 30px;
}

.about-content h3 {
  color: var(--turkuaz);
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.feature {
  flex: 1 0 calc(33.333% - 20px);
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.feature h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Services Section */
.bg-light {
  background-color: #f9f9f9;
}

.service-card {
  height: 100%;
}

.service-card .card-img {
  height: 200px;
  object-fit: cover;
}

/* Team Section */
.team-img-container {
  position: relative;
  overflow: hidden;
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 139, 139, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-card:hover .team-img {
  transform: scale(1.1);
}

.btn-sm {
  padding: 8px 15px;
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  position: relative;
  background-color: var(--turkuaz);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.cta-pattern {
  background-image: url('../images/gokturk-pattern.png');
  background-repeat: repeat;
  background-size: 200px;
  opacity: 0.1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog Section */
.blog-card {
  height: 100%;
}

.blog-card .card-img {
  height: 200px;
  object-fit: cover;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #777;
}

.blog-meta span {
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--turkuaz);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

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

.faq-icon {
  color: var(--turkuaz);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-question {
  background-color: var(--turkuaz);
  color: var(--white);
}

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

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

/* Contact Section */
.contact-info {
  padding-right: 30px;
}

.contact-details {
  margin: 30px 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--turkuaz);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-form-container {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Map Section */
.map-section {
  height: 450px;
}

.map-container {
  height: 100%;
}

.map-container iframe {
  height: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .hero-text h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 50px;
  }
  
  .feature {
    flex: 1 0 calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.5rem;
  }
  
  .hero-image::before {
    display: none;
  }
  
  .experience-box {
    bottom: -20px;
    right: -10px;
    padding: 15px;
  }
  
  .experience-box .number {
    font-size: 2rem;
  }
  
  .feature {
    flex: 1 0 100%;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text h2 {
    font-size: 1.3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .map-section {
    height: 350px;
  }
}
