/* Responsive Styles for Think TIC SEO Agency Landing Page */

/* Base Mobile First Approach */
/* Default styles are mobile first */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .main-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .value-cards {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .why-us-content {
    flex-direction: column;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .footer-brand {
    max-width: 100%;
  }
}

/* Menu toggle for mobile */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-7) var(--space-4) var(--space-4);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: var(--space-3);
    width: 100%;
  }
  
  .nav-link {
    display: block;
    width: 100%;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1002;
  }
  
  .menu-close {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
  }
  
  .cta-item {
    margin-left: 0;
    margin-top: var(--space-3);
    width: 100%;
  }
  
  .cta-item .btn {
    width: 100%;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    margin-bottom: var(--space-5);
    max-width: 100%;
  }
  
  .hero-image {
    max-width: 100%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    margin-bottom: var(--space-5);
    max-width: 100%;
  }
  
  .hero-image {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .value-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-content {
    flex-direction: column;
  }
  
  .why-us-image {
    max-width: 100%;
    margin-bottom: var(--space-4);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .main-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .section-subtitle {
    font-size: 1.25rem;
  }
  
  .hero .container {
    flex-direction: row;
  }
  
  .value-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-content {
    flex-direction: row;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-container {
    flex-direction: row;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero-content {
    max-width: 550px;
  }
  
  .hero-image {
    max-width: 550px;
  }
}

/* Specific adjustments for medium-sized devices */
@media (min-width: 768px) and (max-width: 1199px) {
  section {
    padding: var(--space-6) 0;
  }
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Adjustments for hero section on small screens */
@media (max-width: 576px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-5);
  }
  
  .shape-divider svg {
    height: 40px;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .cta-banner,
  .hero-cta,
  .contact-form,
  .shape-divider {
    display: none !important;
  }
  
  body {
    color: black;
    background: white;
    font-size: 12pt;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
}