/* Responsive Styles for Golden Oryx Shipping */

/* Tablet Landscape & Below */
@media (max-width: 1024px) {
    .top-bar .quick-links {
        gap: 15px;
    }
    
    .top-bar .nav-link {
        font-size: 13px;
        padding: 5px 8px;
    }
    
    .navbar-nav {
        gap: 20px;
    }
    
    .gallery-top .details .title {
        font-size: 40px;
    }
    
    .s-heading .heading {
        font-size: 32px;
    }
    
    .top-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .qr-box {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Tablet Portrait & Below */
@media (max-width: 991px) {
    .top-bar {
        padding: 15px 0;
    }
    
    .logo-box {
        margin-right: 10px;
    }
    
    .logo-img {
        height: 100px;
        max-width: 320px;
    }
    
    .top-bar .quick-links {
        display: none !important;
    }
    
    .s-form {
        display: none !important;
    }
    
    .d-lg-none {
        display: flex !important;
        gap: 10px;
    }
    
    .open-search,
    .open-nav {
        background: transparent;
        border: none;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        padding: 5px 10px;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .collapse-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 2px solid var(--primary-color);
        background: #2c3e50;
    }
    
    .collapse-header .men-logo img {
        height: 50px;
        width: auto;
    }
    
    .collapse-header .menu-close {
        background: none;
        border: none;
        color: var(--primary-color);
        font-size: 35px;
        line-height: 1;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        box-shadow: 5px 0 20px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 9999;
        display: block !important;
        pointer-events: auto;
    }
    
    .navbar-collapse.show {
        left: 0;
    }
    
    /* Mobile Menu Backdrop */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
    
    /* Menu Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        display: block;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .navbar-nav {
        flex-direction: column !important;
        padding: 0;
        gap: 0 !important;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-nav .nav-link {
        padding: 15px 20px !important;
        width: 100%;
        display: block;
    }
    
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
    
    .dropdown-menu {
        display: none;
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border-left: 3px solid var(--primary-color);
        margin-left: 20px;
        border: none;
        border-radius: 0;
        background: #f8f9fa;
        padding: 0;
    }
    
    .dropdown-menu .dropdown-item {
        padding: 12px 20px;
        color: #333;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .dropdown-menu .dropdown-item:hover,
    .dropdown-menu .dropdown-item.active {
        background: var(--primary-color);
        color: #fff;
    }
    
    .slideshow {
        height: 500px;
    }
    
    .gallery-top .details .icon {
        width: 60px;
        height: 60px;
    }
    
    .gallery-top .details .title {
        font-size: 36px;
    }
    
    .gallery-top .details p {
        font-size: 16px;
    }
    
    .gallery-top .details a {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    .gallery-thumbs {
        height: 120px;
    }
    
    .slidenav-item .info .title {
        font-size: 16px;
    }
    
    .s-wrapper {
        padding: 60px 0;
    }
    
    .s-heading {
        margin-bottom: 40px;
    }
    
    .s-heading .heading {
        font-size: 30px;
    }
    
    .s-heading p {
        font-size: 16px;
    }
    
    .global-item {
        height: 320px;
    }
    
    .global-item .details {
        padding: 25px;
    }
    
    .global-item .details .title {
        font-size: 22px;
    }
    
    .global-item .details p {
        font-size: 14px;
    }
    
    .quote {
        padding: 50px 40px;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .quote .image img {
        max-width: 250px;
    }
    
    .quote .details .title {
        font-size: 32px;
    }
    
    .quote .details p {
        font-size: 15px;
    }
    
    .why-us,
    .about-us,
    .statistics,
    .sea-freight-details {
        padding: 60px 0;
    }
    
    .service-type-card {
        padding: 25px;
    }
    
    .service-type-card .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-type-card .service-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .service-type-card h3 {
        font-size: 20px;
    }
    
    .statistics .item {
        padding: 20px;
    }
    
    .statistics .item .counter {
        font-size: 36px;
    }
    
    .top-links {
        padding: 50px 0 30px;
    }
    
    .footer-bottom {
        padding: 30px 0 0;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Mobile Landscape & Below */
@media (max-width: 767px) {
    .top-bar {
        padding: 12px 0;
    }
    
    .logo-box {
        margin-right: 8px;
    }
    
    .logo-img {
        height: 110px;
        max-width: 350px;
    }
    
    .site-header {
        margin-bottom: 0;
    }
    
    .slideshow {
        height: 500px;
        margin-top: 0;
    }
    
    .gallery-top .details {
        display: flex;
        align-items: center;
        height: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .gallery-top .details .container {
        padding: 0 20px;
        width: 100%;
    }
    
    .gallery-top .details .icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    .gallery-top .details .title {
        font-size: 26px;
        margin-bottom: 12px;
        line-height: 1.2;
    }
    
    .gallery-top .details p {
        font-size: 13px;
        margin-bottom: 18px;
        line-height: 1.4;
    }
    
    .gallery-top .details .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }
    
    .gallery-top .details a {
        padding: 10px 20px;
        font-size: 13px;
        margin-right: 0;
    }
    
    .watch-video {
        font-size: 13px;
        padding: 8px 15px;
    }
    
    .gallery-thumbs {
        height: 90px;
    }
    
    .slidenav-item .info {
        padding: 10px;
    }
    
    .slidenav-item .info i {
        width: 30px;
        height: 30px;
        margin-bottom: 5px;
    }
    
    .slidenav-item .info .title {
        font-size: 14px;
        margin-bottom: 3px;
    }
    
    .slidenav-item .more {
        font-size: 12px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .swiper-button-next {
        right: 5px;
    }
    
    .swiper-button-prev {
        left: 5px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .gallery-top .details {
        padding-right: 50px;
        padding-left: 50px;
    }
    
    .s-wrapper {
        padding: 40px 0;
    }
    
    .s-wrapper.pt-0 {
        padding-top: 0 !important;
        margin-top: 0;
    }
    
    .s-heading {
        margin-bottom: 30px;
    }
    
    .s-heading .heading {
        font-size: 26px;
    }
    
    .s-heading p {
        font-size: 15px;
    }
    
    .services,
    .why-us,
    .about-us,
    .statistics {
        padding: 50px 0;
    }
    
    .global-items .col-sm-6 {
        padding: 0 15px;
    }
    
    .global-item {
        height: 300px;
        margin-bottom: 20px;
    }
    
    .global-item .details {
        padding: 20px;
    }
    
    .global-item .details i {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .global-item .details .title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .global-item .details p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .get-quote {
        margin: 50px 0;
    }
    
    .quote {
        padding: 40px 20px;
        gap: 25px;
    }
    
    .quote .image img {
        max-width: 200px;
    }
    
    .quote .details i {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .quote .details .title {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    .quote .details p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .quote .details a {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .about-us .intro {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav-tabs .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 30px 0;
    }
    
    .tab-pane p {
        font-size: 15px;
        text-align: left;
    }
    
    .statistics .row {
        gap: 20px;
    }
    
    .statistics .item {
        padding: 15px;
    }
    
    .statistics .item .icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .statistics .item .title {
        font-size: 14px;
    }
    
    .statistics .item .counter {
        font-size: 32px;
    }
    
    .top-links {
        padding: 40px 0 20px;
    }
    
    .top-content {
        gap: 30px;
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .qr-box {
        padding: 25px;
    }
    
    .qr-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .qr-code-wrapper {
        width: 140px;
        height: 140px;
    }
    
    .qr-text {
        font-size: 13px;
    }
    
    .top-content .title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .top-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .download-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .download-btn i {
        width: 18px;
        height: 18px;
    }
    
    .info .heading,
    .links .heading {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .info ul li {
        margin-bottom: 12px;
        font-size: 14px;
    }
    
    .links ul li {
        margin-bottom: 10px;
    }
    
    .links ul li a {
        font-size: 14px;
    }
    
    .footer-bottom {
        padding: 30px 0 0;
    }
    
    .about .heading,
    .social-media .heading,
    .payment .heading {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .about p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .social-media ul li a {
        width: 35px;
        height: 35px;
    }
    
    .social-media ul li img {
        width: 18px;
    }
    
    .payment ul li img {
        height: 25px;
    }
    
    .footer-logo {
        margin-top: 20px;
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .footer-logo img {
        max-width: 350px;
        height: auto;
    }
    
    .footer-logo-img {
        height: 140px !important;
        max-width: 450px !important;
    }
    
    .newsletter .heading {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .newsletter p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .copyrights {
        padding: 15px 0;
        margin-top: 30px;
    }
    
    .copyrights p {
        font-size: 13px;
        text-align: center;
    }
    
    .c-bar {
        bottom: 20px;
        right: 20px;
    }
    
    .c-bar ul {
        gap: 10px;
    }
    
    .c-bar ul li a {
        padding: 12px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    
    .c-bar ul li a span {
        display: none;
    }
    
    .c-bar ul li a i {
        width: 22px;
        height: 22px;
    }
    
    .scrolltop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 20px;
    }
    
    .scrolltop::before {
        font-size: 20px;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .logo-img {
        height: 100px;
        max-width: 320px;
    }
    
    .men-logo img {
        max-width: 200px;
    }
    
    .slideshow {
        height: 480px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .swiper-button-next {
        right: 2px;
    }
    
    .swiper-button-prev {
        left: 2px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 12px;
    }
    
    .gallery-top .details {
        padding-right: 45px;
        padding-left: 45px;
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    .gallery-top .details .icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .gallery-top .details .title {
        font-size: 22px;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    
    .gallery-top .details p {
        font-size: 12px;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .gallery-top .details a {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .watch-video {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .gallery-thumbs {
        height: 75px;
    }
    
    .slidenav-item .info .title {
        font-size: 12px;
    }
    
    .slidenav-item .more {
        display: none;
    }
    
    .s-wrapper {
        padding: 35px 0;
    }
    
    .s-wrapper.pt-0 {
        padding-top: 0 !important;
        margin-top: 0;
    }
    
    .s-heading .heading {
        font-size: 24px;
    }
    
    .global-item {
        height: 280px;
    }
    
    .global-item .details .title {
        font-size: 18px;
    }
    
    .quote .details .title {
        font-size: 24px;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .statistics .item .counter {
        font-size: 28px;
    }
    
    .statistics .item .title {
        font-size: 13px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .slideshow {
        height: 350px;
    }
    
    .gallery-top .details .title {
        font-size: 22px;
    }
    
    .gallery-thumbs {
        height: 70px;
    }
    
    .s-heading .heading {
        font-size: 22px;
    }
    
    .global-item {
        height: 260px;
    }
    
    .quote {
        padding: 30px 15px;
    }
    
    .quote .details .title {
        font-size: 22px;
    }
    
    .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .c-bar,
    .scrolltop,
    .swiper-button-next,
    .swiper-button-prev,
    .gallery-thumbs {
        display: none !important;
    }
    
    .slideshow {
        height: auto !important;
    }
    
    .gallery-top .swiper-slide:not(.swiper-slide-active) {
        display: none;
    }
    
    .site-footer {
        background: #fff !important;
        color: #000 !important;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .slideshow {
        height: 100vh;
    }
    
    .gallery-top .details .title {
        font-size: 24px;
    }
    
    .gallery-top .details p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .gallery-thumbs {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Keep the existing color scheme as designed */
    /* Add dark mode styles here if needed in the future */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .wow {
        visibility: visible !important;
    }
}

/* Specialized Transport Responsive */
@media (max-width: 991px) {
    .specialized-card .spec-icon {
        width: 60px;
        height: 60px;
    }
    
    .specialized-card .spec-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .specialized-features {
        padding: 30px 20px;
    }
    
    .warehouse-badge {
        bottom: 20px;
        right: 20px;
        padding: 15px 20px;
    }
    
    .warehouse-badge .badge-icon {
        width: 40px;
        height: 40px;
    }
    
    .warehouse-badge .badge-icon svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 767px) {
    .specialized-card {
        padding: 25px 15px;
    }
    
    .specialized-card h4 {
        font-size: 16px;
    }
    
    .specialized-features .feature-box {
        padding: 12px 15px;
        margin-bottom: 10px;
    }
    
    .specialized-features .feature-box span {
        font-size: 14px;
    }
    
    .benefit-item {
        padding: 15px;
    }
    
    .benefit-text h5 {
        font-size: 16px;
    }
    
    .warehouse-badge {
        bottom: 15px;
        right: 15px;
        padding: 12px 15px;
    }
    
    .warehouse-badge .badge-text strong {
        font-size: 16px;
    }
    
    .warehouse-badge .badge-text span {
        font-size: 12px;
    }
    
    .customs-category {
        padding: 25px 20px;
    }
    
    .category-icon {
        width: 70px;
        height: 70px;
    }
    
    .category-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .category-header h3 {
        font-size: 18px;
    }
    
    .customs-services li span {
        font-size: 14px;
    }
}

/* ============================================
   About Page Responsive Styles
   ============================================ */

@media (max-width: 991px) {
    .page-header {
        height: 350px;
    }
    
    .page-header .title {
        font-size: 36px;
    }
    
    .about-intro {
        padding: 60px 0;
    }
    
    .mission-vision,
    .core-values,
    .global-network,
    .why-choose {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .page-header {
        height: 300px;
    }
    
    .page-header .subtitle {
        font-size: 12px;
    }
    
    .page-header .title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .about-intro {
        padding: 50px 0;
    }
    
    .about-intro .about-content .lead {
        font-size: 16px;
    }
    
    .mission-box,
    .vision-box {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    .mission-vision,
    .core-values,
    .global-network,
    .why-choose {
        padding: 50px 0;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .cta-section .btn-light {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .team-member .member-image img {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .page-header {
        height: 250px;
    }
    
    .page-header .title {
        font-size: 24px;
    }
    
    .value-card,
    .feature-box {
        padding: 25px 20px;
    }
    
    .value-card .icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .value-card .icon-wrapper i {
        font-size: 30px;
    }
    
    .region-item {
        padding: 20px 15px;
    }
    
    .team-member .member-image img {
        height: 280px;
    }
    
    .team-member .member-info {
        padding: 20px 15px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .global-item:hover .image img {
        transform: none;
    }
    
    .c-bar ul li a:hover {
        transform: none;
    }
    
    .scrolltop:hover {
        transform: none;
    }
    
    /* Make touch targets larger */
    .nav-link,
    button,
    a {
        min-height: 44px;
        min-width: 44px;
    }
}
