/* Mobile-First CSS for Simran Design & Associates */
/* This file contains all mobile-specific styles */

/* ========================================
   MOBILE STYLES - 768px and below
   ======================================== */
@media (max-width: 768px) {
  
  /* Container adjustments */
  .container {
    padding: 0 15px;
  }
  
  /* Navbar mobile adjustments */
  .navbar .nav-inner {
    padding: 10px 15px;
    gap: 15px;
  }
  
  .brand-logo {
    height: 50px;
    width: 80px;
  }
  
  .brand-name {
    font-size: 0.95rem;
  }
  
  .brand-tagline {
    font-size: 0.65rem;
  }
  
  /* Navigation menu mobile */
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-menu a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }
  
  .nav-menu a:hover {
    background-color: rgba(212, 175, 55, 0.1);
  }
  
  /* Mobile toggle button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  
  .nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: #d4af37;
    transition: all 0.3s ease;
    border-radius: 1px;
  }
  
  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Hero slider mobile */
  .slider {
    height: 70vh;
  }
  
  .slide-content {
    padding: 30px 20px;
    max-width: 90%;
  }
  
  .slide-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
  }
  
  .slide-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  /* Slider controls mobile */
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .slider-dots {
    bottom: 20px;
    gap: 8px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  /* Services section mobile */
  .services h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .service-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 10px;
  }
  
  .service {
    padding: 15px;
  }
  
  .service img {
    height: 160px;
    margin-bottom: 12px;
  }
  
  .service h3 {
    font-size: 1rem;
    margin: 12px 0 8px;
  }
  
  .service p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  /* About section mobile */
  .about {
    padding: 50px 0;
  }
  
  .about h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .about-intro {
    margin-bottom: 30px;
  }
  
  .about-intro p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .about-card {
    padding: 20px;
  }
  
  .about-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .about-card p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  /* Vision section mobile */
  .vision {
    padding: 50px 0;
  }
  
  .vision h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .vision-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .vision-content > div {
    padding: 20px;
  }
  
  .vision-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .vision-content p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  
  /* Team section mobile */
  .team {
    padding: 50px 0;
  }
  
  .team h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .team-member {
    max-width: 400px;
    padding: 0 20px;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    display: block;
  }
  
  .team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .team-member p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  
  /* Contact section mobile */
  .contact {
    padding: 50px 0;
  }
  
  .contact h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .contact > p {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
  
  .contact-info {
    padding: 0 20px;
  }
  
  .contact-info p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  /* Footer mobile */
  footer {
    padding: 30px 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-content p {
    font-size: 0.8rem;
  }
  
  .social-links {
    gap: 20px;
  }
  
  .social-links svg {
    width: 22px;
    height: 22px;
  }
}

/* ========================================
   TABLET PORTRAIT - 992px and below
   ======================================== */
@media (max-width: 992px) {
  
  /* Services grid adjustment for tablets */
  .service-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  /* About section tablet */
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  /* Team member tablet */
  .team-member img {
    width: 180px;
    height: 180px;
    margin: 0 auto 18px;
    display: block;
  }
}

/* ========================================
   SMALL TABLET - 768px and below  
   ======================================== */
@media (max-width: 768px) {
  
  /* About section single column */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  /* Team member small tablet */
  .team-member img {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px;
    display: block;
  }
}

/* ========================================
   LARGE MOBILE - 600px and below
   ======================================== */
@media (max-width: 600px) {
  
  /* Navbar large mobile */
  .brand-logo {
    height: 45px;
    width: 70px;
  }
  
  .brand-name {
    font-size: 0.85rem;
  }
  
  /* Hero slider small mobile */
  .slider {
    height: 60vh;
  }
  
  .slide-content {
    padding: 25px 15px;
  }
  
  .slide-content h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  
  .slide-content p {
    font-size: 0.8rem;
    margin-bottom: 18px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  /* Services single column */
  .service-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .service img {
    height: 180px;
  }
  
  /* Team small mobile */
  .team-member img {
    width: 120px;
    height: 120px;
    margin: 0 auto 12px;
    display: block;
  }
  
  .team-member h3 {
    font-size: 1.1rem;
  }
  
  .team-member p {
    font-size: 0.8rem;
  }
}

/* ========================================
   EXTRA SMALL MOBILE - 480px and below
   ======================================== */
@media (max-width: 480px) {
  
  /* Global font adjustments */
  body {
    font-size: 14px;
  }
  
  /* Hero slider small mobile */
  .slider {
    height: 55vh;
  }
  
  .slide-content h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .slide-content p {
    font-size: 0.75rem;
    margin-bottom: 15px;
  }
  
  /* Section headings small */
  .services h2,
  .about h2,
  .vision h2,
  .team h2,
  .contact h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }
  
  /* Services extra small */
  .service {
    padding: 12px;
  }
  
  .service img {
    height: 150px;
    margin-bottom: 10px;
  }
  
  .service h3 {
    font-size: 0.95rem;
    margin: 10px 0 6px;
  }
  
  .service p {
    font-size: 0.8rem;
  }
  
  /* Team extra small */
  .team-member img {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    display: block;
  }
  
  .team-member h3 {
    font-size: 1rem;
  }
  
  .team-member p {
    font-size: 0.75rem;
  }
  
  /* Contact extra small */
  .contact-info p {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  /* Footer extra small */
  .footer-content p {
    font-size: 0.75rem;
  }
  
  .social-links {
    gap: 15px;
  }
  
  .social-links svg {
    width: 20px;
    height: 20px;
  }
}

/* ========================================
   LARGE SMARTPHONES - 428px and below
   ======================================== */
@media (max-width: 428px) {
  
  /* Team large smartphone */
  .team-member img {
    width: 115px;
    height: 115px;
    margin: 0 auto 12px;
    display: block;
  }
  
  /* Hero content adjustment for large phones */
  .slide-content {
    padding: 22px 18px;
  }
  
  .slide-content h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
  }
}

/* ========================================
   MODERN SMARTPHONES - 414px and below
   ======================================== */
@media (max-width: 414px) {
  
  /* Container adjustment for modern phones */
  .container {
    padding: 0 12px;
  }
  
  /* Team modern smartphone */
  .team-member img {
    width: 105px;
    height: 105px;
    margin: 0 auto 10px;
    display: block;
  }
  
  /* Services modern smartphone */
  .service {
    padding: 12px;
  }
  
  .service img {
    height: 140px;
  }
  
  /* Section headings modern smartphone */
  .services h2,
  .about h2,
  .vision h2,
  .team h2,
  .contact h2 {
    font-size: 1.4rem;
    margin-bottom: 22px;
  }
}

/* ========================================
   VERY SMALL MOBILE - 320px and below
   ======================================== */
@media (max-width: 320px) {
  
  /* Container very small */
  .container {
    padding: 0 10px;
  }
  
  /* Navbar very small */
  .navbar .nav-inner {
    padding: 8px 10px;
  }
  
  .brand-logo {
    height: 40px;
    width: 60px;
  }
  
  .brand-name {
    font-size: 0.75rem;
  }
  
  .brand-tagline {
    font-size: 0.6rem;
  }
  
  /* Hero very small */
  .slider {
    height: 50vh;
  }
  
  .slide-content {
    padding: 20px 10px;
  }
  
  .slide-content h2 {
    font-size: 1.1rem;
  }
  
  .slide-content p {
    font-size: 0.7rem;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
  
  /* Section headings very small */
  .services h2,
  .about h2,
  .vision h2,
  .team h2,
  .contact h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  /* Services very small */
  .service {
    padding: 10px;
  }
  
  .service img {
    height: 120px;
  }
  
  .service h3 {
    font-size: 0.9rem;
  }
  
  .service p {
    font-size: 0.75rem;
  }
  
  /* About very small */
  .about-card {
    padding: 15px;
  }
  
  .about-card h3 {
    font-size: 1rem;
  }
  
  .about-card p {
    font-size: 0.75rem;
  }
  
  /* Team very small */
  .team-member {
    padding: 0 10px;
  }
  
  .team-member img {
    width: 90px;
    height: 90px;
    margin: 0 auto 8px;
    display: block;
  }
  
  .team-member h3 {
    font-size: 0.95rem;
  }
  
  .team-member p {
    font-size: 0.7rem;
  }
  
  /* Contact very small */
  .contact-info {
    padding: 0 10px;
  }
  
  .contact-info p {
    font-size: 0.75rem;
  }
  
  /* Footer very small */
  footer {
    padding: 20px 0;
  }
  
  .footer-content p {
    font-size: 0.7rem;
  }
  
  .social-links {
    gap: 12px;
  }
  
  .social-links svg {
    width: 18px;
    height: 18px;
  }
}

/* ========================================
   LANDSCAPE MOBILE ORIENTATION
   ======================================== */
@media (max-width: 1024px) and (orientation: landscape) {
  
  /* Hero landscape adjustments */
  .slider {
    height: 85vh;
  }
  
  .slide-content {
    padding: 25px 30px;
  }
  
  .slide-content h2 {
    font-size: 1.6rem;
  }
  
  .slide-content p {
    font-size: 0.85rem;
    margin-bottom: 18px;
  }
  
  /* Navigation landscape */
  .nav-menu ul {
    gap: 20px;
  }
  
  /* Services landscape */
  .service-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}