/* Responsive Design */

@media (max-width: 1200px) {
  .section-title {
    font-size: 2.5rem;
  }
  .main-title {
    font-size: 2.8rem;
  }
  .equipment-section .card-content h3 {
    font-size: 1.1rem;
  }
  .navbar {
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    overflow: hidden;
  }
}

@media (max-width: 992px) {
  .nav-links li a {
    padding: 0.5rem;
  }
  .floating-nav.search-active .search-input-wrapper {
    width: 100%;
  }
  .content-wrapper {
    flex-direction: column;
    padding: 2rem 0;
  }
  .left-content {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
  }
  .right-content {
    width: 100%;
  }
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    cursor: pointer;
  }
  .footer-title::before {
    content: "+";
    position: absolute;
    right: 0;
  }
  .footer-links,
  .footer-contact {
    display: none;
    animation: slideDown 0.3s ease forwards;
  }
  .footer-links.active,
  .footer-contact.active {
    display: block;
  }
  .footer-section {
    padding: 3rem 0;
  }
  .mobile-bottom-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
  }

  .contact-card {
    border-radius: 50% !important;
    height: 300px;
    width: 300px;
    margin: auto;
  }

  .sign-up-section .left {
    padding: 0 !important;
  }

  .sign-up-section .container.d-flex {
    flex-direction: column;
  }

  .contact-section h1 {
    font-size: 35px;
    line-height: 38px;
  }
  .image-item {
    width: 200px;
    height: 300px;
  }
  .section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
  }
  .img-cat-container {
    max-height: 350px;
    max-width: 280px;
  }
  .footer-logo::before {
    content: none;
  }
  .main-cat h1 {
    font-size: 30px;
  }
  .hero-section .cards-container {
    gap: 0;
  }
  .content-wrapper {
    flex-direction: column;
  }

  .hero-section {
    padding: 0;
    padding-bottom: 56px;
    overflow: hidden;
  }

  .hero-section .description {
    margin: auto;
    text-align: center;
  }
  .left-content {
    width: 100%;
    padding: 40px 0;
    text-align: center;
  }
  .right-content {
    width: 100%;
    height: 50vh;
  }
  .footer-links a {
    font-size: 11px;
    line-height: normal;
  }
  .footer-contact a {
    font-size: 11px;
  }
  .main-title {
    font-size: 2.5rem;
  }
  .sm_50 {
    width: 50%;
  }
  .footer-contact a i {
    font-size: 12px;
  }
  .dining-setup {
    width: 200px;
    height: 200px;
    top: 14%;
    left: 31%;
  }
  footer .mb-4 {
    margin: 0 !important;
  }
  h4.footer-title {
    margin-top: 0 !important;
    font-size: 14px;
  }
  .dining-setup img {
    max-width: 280px;
  }
  .d-flex.flex-column.m-4 {
    margin: 0 !important;
  }
  /* .table {
    width: 200px;
    height: 100px;
  } */
  .equipment-section .section-title {
    margin: 0;
    font-size: 20px;
    white-space: nowrap;
  }
  .swiper-slide {
    width: 260px;
    margin-right: 20px;
  }
  .equipment-section .card-content {
    padding: 20px;
  }
  .equipment-section .card-content h3 {
    font-size: 18px;
  }
  .equipment-section .price {
    font-size: 20px;
  }
  .card-arch {
    min-height: 280px;
    min-width: 200px;
    gap: 15px;
  }
  .card-arch .card-icon {
    width: 50px;
    height: 50px;
  }
  .card-arch .card-icon img {
    width: 25px;
    height: 25px;
  }
  .card-arch .card-title {
    font-size: 16px;
  }
  .card-arch .card-text {
    font-size: 12px;
    line-height: 20px;
  }
  .stars-section .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .stars-section .content h1 {
    top: 10%;
  }
  .stars-section .testimonial-container {
    left: 0;
  }
  .cont-name {
    position: relative;
    right: 0;
    top: 26px;
  }
  .stars-section .author-image {
    align-self: flex-end;
  }
  .copyright {
    font-size: 12px;
  }
  .footer-pages-column {
    display: none;
  }
  .footer-section {
    padding: 40px 0 20px;
  }
  .footer-title {
    margin-bottom: 20px;
  }
  .footer-logo img {
    height: 35px;
    margin: auto;
    display: block;
  }
  .footer-logo {
    padding-bottom: 20px;
  }
  .footer-description {
    text-align: center;
  }
  .social-links {
    justify-content: center;
    margin-top: 0px !important;
  }
  .footer-bottom {
    text-align: center;
    margin-top: 10px;
    padding-top: 8px;
  }
  .footer-brand {
    margin-top: 20px;
  }
  .main-header .container {
    padding: 0;
  }
  .floating-nav {
    display: none;
  }
  .floating-nav {
    padding: 0.5rem;
  }
  .logo-img {
    height: 2rem;
  }
  .btn {
    padding: 0.5rem 1rem;
    font-size: 12px;
    min-width: 77px;
  }
  .auth-buttons {
    gap: 0.5rem;
  }
  .image-item {
    width: 100%;
    height: auto;
  }
  .section-title {
    font-size: 2rem;
  }
  .equipment-section .section-title {
    font-size: 1.5rem;
  }
  .swiper-slide {
    width: 85%;
  }
  .equipment-section .card-content {
    padding: 1rem;
  }
  .equipment-section .card-content h3 {
    font-size: 1rem;
  }
  .equipment-section .price {
    font-size: 1.1rem;
  }
  .footer-section {
    padding: 2rem 0;
  }
  .footer-title {
    margin-top: 1.5rem;
  }
  .footer-logo img {
    width: 120px;
  }
  .social-links {
    justify-content: center;
  }
  .footer-brand {
    margin-top: 1rem;
  }
  .stats-container {
    flex-direction: column;
    align-items: center;
    border-radius: 30px;
    padding: 20px;
    width: 90%;
  }

  .stats-item {
    margin-bottom: 20px;
  }
  .about-section-analysis .row {
    flex-direction: column;
  }

  .about-section-analysis .image-container-analysis {
    width: 100%;
    height: 70vh;
  }
  .about-section .about-text {
    padding: 0 10px;
  }

  .about-section-analysis .col-md-6 {
    padding: 0;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .stars-section .testimonial-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .main-cat h1 {
    font-size: 25px;
    line-height: 1.5;
  }
  img.black-image.d-inline-block.mb-1 {
    max-width: 89px;
  }
  .stars-section .author-image {
    margin: 1rem 0;
  }
  .main-title {
    font-size: 25px !important;
    line-height: normal;
  }
  .description {
    font-size: 0.9rem;
  }
  .card-arch {
    padding: 1.5rem;
  }
  .equipment-section .show-all-link {
    font-size: 13px !important;
    white-space: nowrap;
    gap: 0 !important;
  }
  .swiper-slide {
    width: 100%;
  }
  .mobile-nav-link {
    font-size: 0.8rem;
  }
  .image-container-analysis {
    height: 240px !important;
    min-height: 100px;
  }
  .image-container-analysis img {
    width: 98%;
    max-width: 160px;
    min-width: 60px;
  }
}

/* Print styles */

@media print {
  .section-title {
    color: var(--text-color-dark);
    text-shadow: none;
  }
}

.image-section {
  height: 125vh;
  position: relative;
  overflow: hidden;
}

.image-container {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.image-item {
  position: absolute;
  width: 400px;
  height: 600px;
  transform-style: preserve-3d;
}

/* All images start at the same position (layered) */

.back-image {
  z-index: 1;
  transform: translateZ(-100px);
}

.middle-image {
  z-index: 2;
  transform: translateZ(0);
}

.front-image {
  z-index: 3;
  transform: translateZ(100px);
}

.image-section .section-title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-color-light);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-shadow: var(--text-shadow);
  z-index: 10;
  opacity: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Typography optimization for different screen sizes */

/* Additional responsive typography */

@media (min-width: 1200px) {
  .section-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 576px) {
  .img-cat-container {
    min-height: 200px;
    max-width: 100%;
  }
}

@media (max-width: 1200px) {
  .card-arch {
    min-height: 320px;
    min-width: 240px;
    gap: 25px;
  }
  .card-arch .card-icon {
    width: 60px;
    height: 60px;
  }
  .card-arch .card-icon img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 992px) {
  .card-arch {
    min-height: 300px;
    min-width: 220px;
    gap: 20px;
    padding: 10px 10px;
  }
  .card-arch .card-title {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .card-arch {
    min-height: 218px;
    min-width: 180px;
    gap: 12px;
    padding: 8px 8px;
  }
  .card-arch .card-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 0.5rem;
  }
  .card-arch .card-icon img {
    width: 22px;
    height: 22px;
  }
  .card-arch .card-title {
    font-size: 14px;
  }
  .card-arch .card-text {
    font-size: 11px;
    line-height: 18px;
  }
}

/* Footer Responsive Styles */

@media (max-width: 991px) {
  .footer-title {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Update footer responsive styles */

@media (max-width: 991px) {
  .footer-section {
    padding-bottom: 80px;
    /* Make room for mobile nav */
  }
  .mobile-bottom-nav {
    display: block;
  }
  .footer-title {
    cursor: default;
    padding: 0;
    margin-bottom: 15px;
  }
  .footer-title::before {
    display: none;
  }
  .footer-links,
  .footer-contact {
    display: block;
    height: auto;
    opacity: 1;
  }
  .footer-links li,
  .footer-contact li {
    margin-bottom: 10px;
  }
}

/* Responsive profile Design */
@media (max-width: 576px) {
  .profile-section {
    padding-top: 60px;
    margin-top: 24px;
  }

  .sidebar {
    /* width: 100%; */
    transform: translateX(-104%);
    height: auto;
  }

  .sidebar.active {
    transform: translateX(-10px);
    height: 100vh;
  }

  .main-content {
    margin-left: 0;
    padding: 1rem;
  }

  .mobile-toggle {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.5rem;
    font-size: 1rem;
  }

  .user-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .user-name {
    font-size: 1rem;
  }

  .user-email {
    font-size: 0.8rem;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .nav-link i {
    font-size: 1rem;
  }

  .content-title {
    font-size: 1.5rem;
  }

  .content-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  .section-title i {
    margin-right: 0.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .form-control {
    font-size: 0.9rem;
    padding: 0.4rem 0.75rem;
  }

  .profile-photo-upload {
    height: 150px;
  }

  .upload-area {
    width: 50px;
    height: 50px;
  }

  .upload-area i {
    font-size: 1.25rem;
  }

  .upload-instructions {
    font-size: 0.8rem;
  }

  .btn-cancel,
  .btn-primary {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .table th,
  .table td {
    font-size: 0.8rem;
    padding: 0.5rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .btn-outline-primary,
  .btn-outline-danger {
    font-size: 0.85rem;
    padding: 0.2rem 0.75rem;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .profile-section {
    padding-top: 80px;
  }

  .sidebar {
    width: 240px;
  }

  .main-content {
    margin-left: 240px;
    padding: 1.5rem;
  }

  .user-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }

  .user-name {
    font-size: 1.1rem;
  }

  .user-email {
    font-size: 0.85rem;
  }

  .nav-link {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }

  .nav-link i {
    font-size: 1.05rem;
  }

  .content-title {
    font-size: 1.6rem;
  }

  .content-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }

  .stat-card {
    padding: 1.25rem;
  }

  .stat-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .form-control {
    font-size: 0.9rem;
    padding: 0.45rem 0.75rem;
  }

  .profile-photo-upload {
    height: 200px;
  }

  .upload-area {
    width: 55px;
    height: 55px;
  }

  .upload-area i {
    font-size: 1.4rem;
  }

  .upload-instructions {
    font-size: 0.85rem;
  }

  .btn-cancel,
  .btn-primary {
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
  }

  .table th,
  .table td {
    font-size: 0.85rem;
    padding: 0.6rem;
  }

  .card-title {
    font-size: 1.15rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .btn-outline-primary,
  .btn-outline-danger {
    font-size: 0.9rem;
    padding: 0.25rem 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sidebar {
    width: 260px;
  }

  .main-content {
    margin-left: 260px;
    padding: 1.75rem;
  }

  .content-title {
    font-size: 1.7rem;
  }

  .content-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  .stat-card {
    padding: 1.75rem;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .form-control {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }

  .profile-photo-upload {
    height: 250px;
  }

  .upload-area {
    width: 60px;
    height: 60px;
  }

  .upload-area i {
    font-size: 1.5rem;
  }

  .upload-instructions {
    font-size: 0.9rem;
  }

  .btn-cancel,
  .btn-primary {
    font-size: 0.95rem;
    padding: 0.6rem 1.75rem;
  }

  .table th,
  .table td {
    font-size: 0.9rem;
    padding: 0.75rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-text {
    font-size: 0.95rem;
  }
}

@media (min-width: 1025px) {
  .main-content {
    padding: 2rem;
  }

  .content-title {
    font-size: 2rem;
  }

  .content-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  .stat-card {
    padding: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .form-control {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .profile-photo-upload {
    height: 280px;
  }

  .table th,
  .table td {
    font-size: 0.95rem;
    padding: 0.75rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-text {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Status Badges */
.status-badge {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active {
  background-color: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status-pending {
  background-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

#wishlist-section .equipment-card .card-content h3,
#wishlist-section .equipment-card .card-content .price {
  color: #fff !important;
}

#wishlist-section .add-to-cart {
  border: 1px solid #d9d9d9;
}