/* 
 * Dizajnira Luce - Responsive CSS
 * This file contains all responsive styles for the website
 */

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1400px) {
  .hero-content {
    max-width: 500px;
  }

  .secondary-image {
    width: 50%;
    right: -30px;
    bottom: -40px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1200px) {
  .hero-content {
    padding: var(--spacing-md) 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    left: 40px;
  }

  .process-number {
    width: 80px;
    height: 80px;
    font-size: var(--font-size-lg);
  }

  .newsletter-container {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-content {
    margin-bottom: var(--spacing-md);
  }

  .newsletter-form {
    width: 100%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 992px) {
  /* Header & Navigation */
  .mobile-nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-medium);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: var(--spacing-sm) 0;
  }

  .nav-link {
    font-size: var(--font-size-md);
  }

  /* Hero Section */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
  }

  .hero-text-container {
    width: 100%;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-media {
    position: relative;
    width: 100%;
    height: 500px;
  }

  /* About Section */
  .about-container {
    flex-direction: column;
  }

  .about-media {
    margin-bottom: var(--spacing-xl);
  }

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  /* Contact Section */
  .contact-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .contact-info {
    order: 2;
  }

  .contact-form-container {
    order: 1;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .footer-logo-container {
    text-align: center;
  }

  .footer-description {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links-container {
    flex-wrap: wrap;
    gap: var(--spacing-lg);
  }

  .footer-links-column {
    flex: 0 0 calc(50% - var(--spacing-lg) / 2);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
  .section {
    padding: var(--spacing-xl) 0;
  }

  .hero-slide {
    background-position: center top;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-nav {
    margin-top: var(--spacing-md);
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-links-column {
    flex: 0 0 100%;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-description {
    font-size: var(--font-size-base);
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .secondary-image {
    display: none;
  }

  .about-image-accent {
    display: none;
  }

  .portfolio-filter {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--spacing-xs);
  }

  .filter-btn {
    margin-bottom: var(--spacing-xs);
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .process-number {
    margin: 0 auto;
  }

  .nav-links {
    width: 100%;
    right: -100%;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}
