/* =============================================
   ÇAĞKAR YAPI - Responsive Styles (Premium)
   ============================================= */

/* Global overflow fix */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* ==============================================
   BREAKPOINT: 1200px (Large desktops down)
   ============================================== */
@media (max-width: 1200px) {

  .project-slide {
    width: 300px;
    height: 380px;
  }

  .projects-header {
    gap: 30px;
  }
}

/* ==============================================
   BREAKPOINT: 992px (Tablets landscape)
   ============================================== */
@media (max-width: 992px) {

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-info {
    padding-left: 0;
  }

  /* Projects Header */
  .projects-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* Page Banner */
  .page-banner {
    height: 280px;
  }

  /* Feature cards (neden-cagkar) */
  .feature-card {
    padding: 30px 20px;
  }

  /* Contact info cards */
  .contact-info-card {
    padding: 30px 20px;
  }
}

/* ==============================================
   BREAKPOINT: 768px (Tablets portrait)
   ============================================== */
@media (max-width: 768px) {

  /* Section spacing */
  .section-padding {
    padding: 50px 0;
  }

  /* Container padding */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

  .section-label {
    font-size: 11px;
    letter-spacing: 3px;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-number {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  /* Menu */
  .menu-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 100px;
  }

  .menu-link {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  /* Hero */
  .hero-content {
    padding: 0 20px;
  }

  .hero-label {
    font-size: 11px;
    letter-spacing: 4px;
  }

  .hero-description {
    font-size: 14px;
    max-width: 100%;
  }

  /* Hero Social - hide on mobile */
  .hero-social {
    display: none;
  }

  /* Projects */
  .project-slide {
    width: 280px;
    height: 350px;
  }

  /* Kentsel */
  .kentsel-grid {
    grid-template-columns: 1fr;
  }

  .kentsel-card {
    min-height: 300px;
  }

  /* Blog */
  .blog-card-image {
    height: 180px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .footer-bottom-grid {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Contact */
  .contact-form-card {
    padding: 30px;
  }

  /* Swiper navigation */
  .swiper-nav-container {
    gap: 40px;
  }

  /* Inner page content */
  .inner-content {
    padding: 50px 0;
  }

  .inner-content h2 {
    font-size: 1.4rem;
  }

  /* Page banner */
  .page-banner {
    height: 240px;
    padding-top: 60px;
  }

  .page-banner h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  /* Gallery grid */
  .gallery-item {
    height: 200px;
  }

  /* Contact info cards stack */
  .row.g-4 > [class*="col-lg-4"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Contact map */
  .contact-map iframe {
    height: 300px;
  }

  /* About section images */
  .about-img {
    max-height: 350px;
  }

  .about-side-image {
    height: 250px;
  }

  /* Marquee text */
  .marquee-item {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }
}

/* ==============================================
   BREAKPOINT: 576px (Mobile phones)
   ============================================== */
@media (max-width: 576px) {

  /* Section spacing */
  .section-padding {
    padding: 40px 0;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .hero-scroll-indicator {
    bottom: 20px;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* About */
  .about-grid {
    gap: 30px;
  }

  .about-img {
    max-height: 280px;
  }

  .about-quote {
    padding: 20px 0;
  }

  .quote-text {
    font-size: 13px;
  }

  /* Contact */
  .contact-form-card {
    padding: 20px 15px;
  }

  .contact-grid {
    gap: 30px;
  }

  /* Button */
  .btn-primary,
  .btn-outline {
    padding: 14px 24px;
    font-size: 11px;
    width: 100%;
    justify-content: center;
  }

  /* Kentsel */
  .kentsel-card {
    min-height: 260px;
  }

  .kentsel-card-content h3 {
    font-size: 14px;
  }

  /* Blog */
  .blog-card-image {
    height: 180px;
  }

  .blog-card-body {
    padding: 20px;
  }

  .blog-card-body h3 {
    font-size: 14px;
  }

  /* Projects */
  .project-slide {
    width: 260px;
    height: 320px;
  }

  .swiper-nav-container {
    gap: 30px;
  }

  /* Projects header */
  .projects-header .section-title {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  /* WhatsApp & Scroll-top */
  .whatsapp-float {
    bottom: 20px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  .scroll-top {
    bottom: 80px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  /* Footer */
  .footer-newsletter {
    padding: 20px 0;
  }

  .newsletter-title {
    font-size: 14px;
  }

  .footer-main {
    padding: 30px 0 20px;
  }

  .footer-heading {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .footer-links li {
    font-size: 13px;
    margin-bottom: 8px;
  }

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

  /* Page banner */
  .page-banner {
    height: 200px;
    padding-top: 50px;
  }

  .page-banner h1 {
    font-size: 1.5rem;
  }

  .breadcrumb-nav {
    font-size: 12px;
  }

  /* Inner content */
  .inner-content {
    padding: 40px 0;
  }

  /* Feature cards (neden-cagkar) */
  .feature-card {
    padding: 25px 15px;
  }

  .feature-card h3, .feature-card h4 {
    font-size: 14px;
  }

  .feature-card p {
    font-size: 13px;
  }

  .feature-card svg, .feature-card i {
    font-size: 30px;
    width: 30px;
    height: 30px;
  }

  /* Gallery */
  .gallery-item {
    height: 180px;
  }

  .gallery-section-title {
    font-size: 1rem;
  }

  /* Contact info cards */
  .contact-info-card {
    padding: 25px 15px;
  }

  .contact-info-card h5 {
    font-size: 14px;
  }

  /* Lightbox */
  .lightbox-content img {
    max-width: 95vw;
    max-height: 70vh;
  }

  .lightbox-prev, .lightbox-next {
    width: 35px;
    height: 35px;
  }

  .lightbox-counter {
    font-size: 12px;
  }

  /* Talep form select */
  .form-group-custom select {
    font-size: 14px;
  }

  /* Contact map */
  .contact-map iframe {
    height: 250px;
  }

  /* Header mobile */
  .header-container {
    padding: 0 15px;
    height: 70px;
  }

  .header-logo img {
    max-height: 55px;
  }

  .site-header.scrolled .header-container {
    height: 60px;
  }

  .site-header.scrolled .header-logo img,
  .site-header.scrolled-always .header-logo img {
    max-height: 50px;
  }

  /* Menu mobile */
  .menu-inner {
    padding: 80px 20px 30px;
  }

  .menu-link {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .menu-info-block p {
    font-size: 13px;
  }

  .menu-info-label {
    font-size: 10px;
  }
}

/* ==============================================
   BREAKPOINT: 400px (Small phones)
   ============================================== */
@media (max-width: 400px) {

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .stats-grid {
    gap: 15px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .project-slide {
    width: 240px;
    height: 300px;
  }

  .contact-form-card {
    padding: 15px 12px;
  }

  .form-group-custom label {
    font-size: 11px;
  }

  .input-wrapper input,
  .input-wrapper textarea {
    font-size: 14px;
  }
}
