
/* ================ */
/* MOBILE STYLES - CLEANED & ENHANCED */
/* ================ */

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
    position: absolute;
    right: 2rem;
    top: 1.5rem;
  }

  .mobile-menu-toggle span {
    width: 2rem;
    height: 0.25rem;
    background: #d4af37;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.4rem, 0.4rem);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.4rem, -0.4rem);
  }

  .mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: #d4af37;
    z-index: 101;
    cursor: pointer;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 6rem 2rem 2rem;
    z-index: 99;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    background: linear-gradient(135deg, #d4af37, #f4d273);
    color: #111;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-align: center;
    width: 80%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .nav-links a:hover {
    background: linear-gradient(135deg, #f4d273, #d4af37);
    color: #000;
  }

  .nav-btn, .submit-btn, .compact-gold-btn {
    transform: none !important;
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }

  .plane-banner-wrapper {
    display: none !important;
  }

  .gold-logo,
  .glow-logo {
    height: 150px !important;
    top: -5 !important;
    left: -10 !important;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .plan-btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }

  .form-card,
  .newsletter-content,
  .about-content {
    width: 95% !important;
    padding: 1.5rem !important;
    margin: 1rem auto !important;
  }

  .submit-btn {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .currency-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.5rem;
  }

  .plane-banner-text {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .plane-banner-img {
    width: 35px;
    margin-left: 8px;
  }

  a, button, input[type="submit"], input[type="radio"] + label {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }
}





/* ========== FINAL LAYOUT IMPROVEMENTS ========== */

@media (max-width: 768px) {
  /* Improve nav link spacing and fit */
  .nav-links {
    gap: 1.2rem;
    padding: 6rem 1rem 2rem;
    width: 100%;
  }

  .nav-links a {
    width: 90%;
    max-width: 280px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto;
    font-size: 0.95rem;
  }

  /* Improve header spacing and center logo */
  .logo img {
    width: 140px !important;
    margin: 1rem auto !important;
    display: block !important;
  }

  .hero-content {
    padding: 0 1rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  /* Button spacing */
  .plan-btn {
    width: 90%;
    max-width: 300px;
    margin: 0.8rem auto;
    font-size: 1rem;
  }

  /* Ensure social buttons don’t overlap */
  .social-links {
    right: 1rem;
    bottom: 1rem;
    gap: 0.8rem;
  }

  .social-links a i {
    font-size: 1.1rem;
    padding: 0.6rem;
  }

  /* Allow body to scroll properly */
  body {
    overflow-x: hidden;
  }
}


/* === FINAL ADJUSTMENTS BASED ON USER FEEDBACK === */
@media (max-width: 768px) {
  /* Transparent nav menu background */
  .nav-links {
    background: rgba(0, 0, 0, 0.92);
  }

  /* Hide social icons when nav is open */
  .nav-links.active ~ .social-links {
    display: none !important;
  }

  /* Match exchange button styling to others */
  #exchangeNavBtn {
    width: 90%;
    max-width: 280px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #d4af37, #f4d273);
    color: #111;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    border: none;
  }

  #exchangeNavBtn:hover {
    background: linear-gradient(135deg, #f4d273, #d4af37);
    color: #000;
  }
}


/* === FINAL TWEAKS: STRONGER TRANSPARENCY + FORCE HIDE SOCIAL ICONS === */
@media (max-width: 768px) {
  .nav-links {
    background: rgba(0, 0, 0, 0.75); /* More transparent */
  }

  body.nav-open .social-links {
    display: none !important;
  }
}


/* === FADE-IN ANIMATION FOR MOBILE MENU === */
@media (max-width: 768px) {
  .nav-links {
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .nav-links.active {
    opacity: 1;
  }
}


@media (max-width: 768px) {
  header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../images/dubai-night-mobile.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
  }
}



/* mobile.css - Mobile Styles */

@media only screen and (max-width: 768px) {
  .video-container {
    border-radius: 12px;
  }

  .video-container video {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }

  .video-toggle-btn {
    background: transparent;
    border: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    cursor: pointer;
    z-index: 2;
    opacity: 1;
  }

  .video-toggle-btn svg {
    width: 48px;
    height: 48px;
    stroke: #d4af37;
  }

  video::-webkit-media-controls-start-playback-button {
    display: none !important;
  }

  video::-webkit-media-controls {
    display: none !important;
  }
}


@media only screen and (max-width: 768px) {
  .video-showcase {
    background-image: url('/images/Video-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    height: 250px;
    padding: 20px 10px;
    position: relative; /* Ensure stacking context */
  }

  .video-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none; /* Let clicks go through */
  }

  .video-container {
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }
}





@media (max-width: 768px) {
  .continents-section {
    padding: 1rem;
  }

  .continents-section .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .continent-card {
    display: flex;
    flex-direction: row; /* stay horizontal */
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 100%;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 220px;
  }

  .continent-card.reverse {
    flex-direction: row-reverse;
  }

  .continent-text {
    flex: 1;
    max-width: 45%;
    text-align: left;
    color: #fff;
    z-index: 2;
  }

  .continent-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .continent-text p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: #ccc;
  }

  .continent-link {
    font-size: 0.9rem;
    color: #d4af37;
    text-decoration: none;
    display: inline-block;
    margin-top: 0.3rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
  }

  .continent-link:hover {
    border-color: #d4af37;
  }

  .continent-line {
    width: 40px;
    height: 2px;
    background-color: #d4af37;
    margin-bottom: 0.5rem;
  }

  .continent-image {
    flex: 0 0 auto;
    z-index: 2;
  }

  .continent-image img {
    width: 120px;
    max-width: 90%;
    height: auto;
    border-radius: 8px;
    border: 2px solid #d4af37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  }

  /* === BACKGROUNDS PER CONTINENT === */
  .continent-card:nth-of-type(1) {
    background-image: url("../images/Africa-Continent-background.jpg");
  }

  .continent-card:nth-of-type(2) {
    background-image: url("../images/Europe-Continent-background.jpg");
  }

  .continent-card:nth-of-type(3) {
    background-image: url("../images/Asia-Continent-background.jpg");
  }

  .continent-card:nth-of-type(4) {
    background-image: url("../images/MiddleEast-Continent-background.png");
  }

  .continent-card:nth-of-type(5) {
    background-image: url("../images/Australia-Continent-background.png");
  }

  .continent-card:nth-of-type(6) {
    background-image: url("../images/America-Continent-background.png");
  }

  .continent-card:nth-of-type(7) {
    background-image: url("../images/Antarctica-Continent-background.png");
  }
}






@media (max-width: 768px) {
  .partners-loop {
    padding: 30px 10px;
  }

  .partners-loop h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .logo-loop {
    width: 95%;
  }

  .logo-track {
    gap: 20px;
    animation-duration: s; /* slower on mobile */
  }

  .logo-track img {
    height: 35px;
  }
}

@media (max-width: 400px) {
  .logo-track {
    animation-duration: 40s;
  }

  .logo-track img {
    height: 30px;
  }
}





