/*
Theme Name: America Atlantic Trading
Theme URI: https://americaatlantictrading.com/
Author: LA4Dev (HM.DIGITAL SARL)
Author URI: https://la4dev.com/
Description: International Logistics, Freight Forwarding & Premium Export Theme
Version: 1.0
Text Domain: AAT
*/

/* --- AMERICA ATLANTIC TRADING UI --- */
:root {
  --primary-navy: #0A2540;
  --primary-blue: #005A9C;
  --accent-gold: #C5A059;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; color: var(--primary-blue); transition: all 0.3s ease; }
a:hover { color: var(--accent-gold); }

/* --- Multi-Language System --- */
body.lang-en .fr, body.lang-en .es, body.lang-en .it, body.lang-en .pt { display: none !important; }
body.lang-fr .en, body.lang-fr .es, body.lang-fr .it, body.lang-fr .pt { display: none !important; }
body.lang-es .en, body.lang-es .fr, body.lang-es .it, body.lang-es .pt { display: none !important; }
body.lang-it .en, body.lang-it .fr, body.lang-it .es, body.lang-it .pt { display: none !important; }
body.lang-pt .en, body.lang-pt .fr, body.lang-pt .es, body.lang-pt .it { display: none !important; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--primary-navy); }

/* --- Navigation --- */
header { position: sticky; top: 0; z-index: 1000; background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); border-bottom: 2px solid var(--accent-gold); box-shadow: var(--shadow-sm); }
nav { padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; }
.logo a { display: flex; align-items: center; gap: 5px; font-weight: 800; color: var(--primary-navy); font-size: 1.5rem; font-family: 'Montserrat', sans-serif; white-space: nowrap; flex-shrink: 0; }
.logo img { height: 55px; width: auto; object-fit: contain; }
.logo-text { font-size: 1.3rem; line-height: 1.1; display: flex; flex-direction: column; justify-content: center; }
.logo-text span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--accent-gold); letter-spacing: 2px; text-transform: uppercase;}
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--primary-navy); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; position: relative; white-space: nowrap;}
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent-gold); transition: width 0.3s; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }

/* --- Language Dropdown --- */
.lang-dropdown { position: relative; display: inline-block; }
.lang-dropdown-btn { background: transparent; border: 1px solid var(--border-light); color: var(--primary-navy); cursor: pointer; font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 4px; transition: all 0.3s ease; white-space: nowrap; }
.lang-dropdown-btn:hover { border-color: var(--accent-gold); }
.lang-dropdown-btn img { width: 20px; border-radius: 2px; }
.lang-dropdown-content { display: none; position: absolute; right: 0; top: calc(100% + 5px); background: var(--bg-white); min-width: 140px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-light); border-radius: 4px; overflow: hidden; z-index: 1001; }
.lang-dropdown-content.show { display: block; }
.lang-option { width: 100%; text-align: left; background: none; border: none; color: var(--text-dark); cursor: pointer; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 500; transition: background 0.2s; white-space: nowrap; }
.lang-option:hover { background: var(--bg-light); color: var(--primary-blue); }
.lang-option img { width: 20px; border-radius: 2px; }
.menu-toggle { display: none; background: none; border: none; color: var(--primary-navy); font-size: 1.8rem; cursor: pointer; flex-shrink: 0; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary-navy); color: #fff; padding: 0.9rem 1.8rem; border-radius: 4px; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; border: 2px solid var(--primary-navy); cursor: pointer; transition: all 0.3s ease; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--primary-navy); border-color: var(--primary-navy); }
.btn-gold { background: var(--accent-gold); border-color: var(--accent-gold); color: #fff;}
.btn-gold:hover { background: transparent; color: var(--accent-gold); border-color: var(--accent-gold); }

/* --- HERO SECTION --- */
.hero { 
    background: linear-gradient(90deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.6) 55%, rgba(10, 37, 64, 0.1) 100%), url('assets/images/America-Atlantic-Trading.webp') center/cover no-repeat; 
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    padding: 4rem 0; 
    text-align: left; 
    color: #fff; 
    width: 100%; 
}
.hero-content { max-width: 650px; }
.hero h1 { color: #fff; font-size: 3.8rem; margin-bottom: 1.5rem; line-height: 1.15; font-weight: 700;}
.hero h1 span { color: var(--accent-gold); }
.hero p { font-size: 1.15rem; color: #e2e8f0; margin-bottom: 3rem; font-family: 'Montserrat', sans-serif; font-weight: 300; line-height: 1.8;}

/* --- Sections & Custom Catalog Title --- */
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 1rem; padding-top: 4rem; position: relative; }
.section-subtitle { text-align: center; color: var(--accent-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4rem; font-size: 0.9rem; }
.catalog-main-title { font-size: 3rem; color: var(--primary-navy); text-transform: uppercase; letter-spacing: 2px; padding-bottom: 15px; font-family: 'Playfair Display', serif; position: relative; display: inline-block; margin: 0; }
.catalog-main-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background-color: var(--accent-gold); }
.category-title { text-align: left; color: var(--primary-navy); margin: 4rem 0 2rem; font-family: 'Playfair Display', serif; font-size: 2rem; border-bottom: 1px solid var(--border-light); padding-bottom: 10px;}

/* --- SEO Text Sections --- */
.seo-text-section { background: var(--bg-white); padding: 5rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.seo-text-content { text-align: center; }
.seo-text-content h2 { font-size: 2.2rem; margin-bottom: 1.5rem; color: var(--primary-navy); }
.seo-text-content p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.seo-text-content strong { color: var(--primary-blue); font-weight: 600; }

/* --- LOAD MORE & FILTERING --- */
.hidden-card { display: none !important; }
.load-more-container { text-align: center; margin-top: 2rem; margin-bottom: 4rem; }
.filter-container { display: flex; justify-content: flex-start; gap: 15px; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-btn { background: var(--bg-white); color: var(--primary-navy); border: 2px solid var(--primary-navy); padding: 0.6rem 1.5rem; border-radius: 4px; cursor: pointer; font-weight: 600; font-family: inherit; font-size: 0.85rem; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; }
.filter-btn.active, .filter-btn:hover { background: var(--primary-navy); color: #fff; }

/* --- Products Grid --- */
main { padding: 0 0 50px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-card { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid var(--border-light); display: flex; flex-direction: column;}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-gold); }
.product-img { height: 180px; background-color: var(--primary-navy); display: flex; align-items: center; justify-content: center; position: relative; }
.product-img i { font-size: 4rem; color: #fff; opacity: 0.2; }
.product-badge { position: absolute; top: 15px; right: 15px; background: var(--accent-gold); color: #fff; padding: 4px 12px; font-size: 0.8rem; font-weight: 700; border-radius: 20px; text-transform: uppercase; }
.product-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif; font-weight: 700; }
.product-origin { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 5px; }
.product-calibre { margin-bottom: 1rem; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.product-calibre label { font-weight: 600; color: var(--text-dark); }
.calibre-select { padding: 6px 10px; border: 1px solid var(--border-light); border-radius: 4px; font-family: inherit; color: var(--primary-navy); background-color: var(--bg-light); outline: none; cursor: pointer; width: 100%; font-weight: 500;}
.calibre-select:focus { border-color: var(--accent-gold); }
.product-price { font-size: 1.25rem; font-weight: 700; color: var(--primary-blue); margin-bottom: 1.5rem; margin-top: auto;}
.btn-wa { width: 100%; display: flex; background: #25D366; border-color: #25D366; color: white; }
.btn-wa:hover { background: #1ebe57; color: white; border-color: #1ebe57; }
.loading-spinner { text-align: center; width: 100%; grid-column: 1 / -1; padding: 3rem; color: var(--accent-gold); }

/* --- Team Grid --- */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem; margin-bottom: 5rem; }
.team-card { flex: 1 1 320px; max-width: 336px; background: var(--bg-white); padding: 2.5rem 1.5rem; border-radius: 8px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary-navy); position: relative; overflow: hidden; }
.team-card::before { content: ''; position: absolute; top: 0; right: 0; width: 60px; height: 60px; background: var(--accent-gold); opacity: 0.1; border-radius: 0 0 0 100%; }
.team-card h3 { font-size: 17px; margin-bottom: 5px; font-family: 'Montserrat', sans-serif; font-weight: 800; text-transform: uppercase; color: var(--primary-navy);}
.team-role { color: var(--accent-gold); font-weight: 700; font-size: 12px; text-transform: uppercase; margin-bottom: 1.5rem; letter-spacing: 1px; }
.team-contact { list-style: none; }
.team-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; color: var(--text-dark); font-size: 0.95rem; }
.team-contact li i { color: var(--primary-blue); margin-top: 4px; font-size: 1.1rem; width: 20px; text-align: center; }

/* --- Features --- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; background: var(--primary-navy); padding: 4rem 2rem; border-radius: 8px; color: white; margin: 4rem 0; }
.feature-box { text-align: center; }
.feature-box i { font-size: 3rem; color: var(--accent-gold); margin-bottom: 1.5rem; }
.feature-box h4 { color: white; margin-bottom: 1rem; font-family: 'Montserrat', sans-serif; font-size: 1.2rem; }
.feature-box p { font-size: 0.9rem; color: #cbd5e1; }

/* --- GLOBAL NETWORK MAP --- */
.network-section { background: var(--primary-navy); padding: 2rem 0; border-top: 4px solid var(--accent-gold); border-bottom: 4px solid var(--accent-gold); margin: 0; overflow: hidden; }
.network-header { text-align: center; margin-bottom: 3rem; padding: 0 1rem; }
.network-header h2 { color: #fff; font-size: 2.5rem; margin-bottom: 0.5rem; }
.network-header p { color: var(--accent-gold); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }

/* --- Interactive Map Controls & Zoom --- */
.map-filter-btn { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #cbd5e1; padding: 8px 18px; border-radius: 20px; cursor: pointer; transition: all 0.3s; font-family: inherit; font-size: 0.85rem; font-weight: 600; }
.map-filter-btn.active { background: var(--accent-gold); color: #fff; border-color: var(--accent-gold); box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }
.map-filter-btn:hover:not(.active) { background: rgba(255,255,255,0.1); color: #fff; }
.zoom-btn { background: var(--primary-blue); border: none; padding: 8px 12px; border-radius: 4px; color: #fff; cursor: pointer; transition: 0.2s; font-size: 1rem; }
.zoom-btn:hover { background: var(--accent-gold); }

.map-container { max-width: 1400px; margin: 0 auto; position: relative; padding: 0 1rem; }

/* --- FIXED PAN AND ZOOM WRAPPER --- */
.map-wrapper { 
  overflow: hidden; 
  cursor: grab; 
  border-radius: 12px; 
  background: #0d2a45;
  width: 100%;
  aspect-ratio: 2 / 1; 
  position: relative;
  touch-action: none; 
}
.map-wrapper:active { cursor: grabbing; }

.map-svg { 
  width: 100%; 
  height: 100%; 
  display: block; 
  transform-origin: 0 0; 
  transition: transform 0.2s ease;
  position: absolute;
  top: 0;
  left: 0;
}

/* --- Fix Mobile Safari Dark SVG issue --- */
.map-svg image {
  -webkit-filter: invert(1) brightness(1.5);
  filter: invert(1) brightness(1.5);
  opacity: 0.4;
}

/* --- Google Maps style Overlay Warning --- */
.map-overlay-msg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(10, 37, 64, 0.85); color: #fff; padding: 12px 24px;
  border-radius: 30px; font-weight: 600; font-size: 0.95rem; font-family: 'Montserrat', sans-serif;
  pointer-events: none; opacity: 0; transition: opacity 0.3s ease; z-index: 10;
  white-space: nowrap; text-align: center;
}
.map-overlay-msg.show { opacity: 1; }

/* --- LOGISTICS & TRADE SERVICES --- */
.logistics-section { background: var(--bg-white); padding: 5rem 0; border-top: 1px solid var(--border-light); }
.logistics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-top: 3rem; }
.logistic-card { text-align: center; padding: 2.5rem 1.5rem; border-radius: 8px; background: var(--bg-light); border: 1px solid var(--border-light); transition: transform 0.3s, box-shadow 0.3s; }
.logistic-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-gold); }
.logistic-card i { font-size: 2.5rem; color: var(--primary-blue); margin-bottom: 1.5rem; display: inline-flex; justify-content: center; align-items: center; width: 80px; height: 80px; background: rgba(0, 90, 156, 0.1); border-radius: 50%; transition: all 0.3s ease; }
.logistic-card:hover i { background: var(--primary-navy); color: var(--accent-gold); }
.logistic-card h4 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; color: var(--primary-navy); margin-bottom: 1rem; font-weight: 700; text-transform: uppercase; }
.logistic-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* --- NETWORK & TRUST SECTION --- */
 #network-trust { padding-bottom: 70px; }
.network-trust-minimal { background-color: var(--bg-light); padding: 6rem 0; border-top: 1px solid var(--border-light); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; margin-top: 3rem; }
.trust-card { background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 8px; padding: 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: var(--shadow-sm); }
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-gold); }
.trust-card-header h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--primary-navy); margin-bottom: 2rem; position: relative; padding-bottom: 15px; }
.trust-card-header h3::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background-color: var(--accent-gold); }
.trust-card-body { width: 100%; display: flex; justify-content: center; align-items: center; flex-grow: 1; }
.trust-image { max-width: 100%; height: auto; max-height: 280px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.04)); }

/* --- STANDALONE IMAGE SECTION --- */
.standalone-image-container { display: flex; justify-content: center; margin-top: 4rem; margin-bottom: 2rem; width: 100%; }
.standalone-image-wrapper { width: 80%; max-width: 900px; border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--border-light); background: var(--bg-white); padding: 1.5rem; }
.standalone-image-wrapper:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-gold); }
.standalone-image { width: 100%; height: auto; object-fit: contain; display: block; border-radius: 4px; }

/* --- CTA CATALOG SECTION --- */
.cta-catalog-container { padding: 0 1.5rem; max-width: 1100px; margin: 5rem auto; }
.cta-catalog-section { background: linear-gradient(135deg, var(--primary-navy) 0%, #0d2a45 100%); padding: 5rem 2rem; text-align: center; border-radius: 12px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; border: 1px solid rgba(197, 160, 89, 0.2); }
.cta-catalog-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--accent-gold); }
.cta-title { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: #ffffff; margin-bottom: 1.5rem; }
.cta-description { font-size: 1.1rem; color: #cbd5e1; max-width: 750px; margin: 0 auto 3rem auto; line-height: 1.8; }
.cta-btn { font-size: 1.05rem; padding: 1.2rem 3rem; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

/* --- IMAGE ZOOM & MODAL STYLES --- */
.image-zoom-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.zoom-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 37, 64, 0.7); /* AAT Navy Blue */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-zoom-wrapper:hover .zoom-overlay {
    opacity: 1;
}

.zoom-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Full Screen Modal */
.aat-modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    padding-top: 50px; 
    left: 0; top: 0; width: 100%; height: 100%; 
    background-color: rgba(10, 37, 64, 0.95); 
    align-items: center;
    justify-content: center;
}

.aat-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

.aat-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #c5a059; /* AAT Gold */
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform: scale(0.95); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/* --- STRATEGIC PARTNERS --- */
.ai-intro-text { max-width: 900px; margin: 0 auto 3rem auto; text-align: center; }
.ai-intro-text p { font-size: 1.1rem; color: var(--primary-blue); line-height: 1.8; font-style: italic; font-family: 'Playfair Display', serif; }
.partners-swiper { width: 100%; padding: 2rem 0; }
.partners-swiper .swiper-wrapper { transition-timing-function: linear !important; }
.partner-slide { display: flex; justify-content: center; align-items: center; height: 100px; }
.partner-slide a { display: flex; width: 100%; height: 100%; justify-content: center; align-items: center; }
.partner-slide img { max-width: 100%; max-height: 80px; object-fit: contain; filter: grayscale(100%) opacity(0.6); transition: all 0.4s ease; }
.partner-slide a:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.05); }

/* --- Contact Form --- */
.contact-section-wrapper { background: var(--bg-white); border: 1px solid var(--border-light); padding: 4rem 2rem; border-radius: 8px; text-align: center; margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; box-shadow: var(--shadow-sm); }
.contact-form-widget { max-width: 100%; margin: 0 auto; text-align: left; }
.contactf-name, .contactf-email, .contactf-message { margin-bottom: 1.2rem; }
.contact-form-input { width: 100%; background: var(--bg-light); border: 1px solid var(--border-light); color: var(--text-dark); padding: 1.2rem; border-radius: 4px; font-family: inherit; transition: all 0.3s ease; font-size: 0.95rem; box-sizing: border-box;}
.contact-form-input:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1); background: var(--bg-white); }
#form-input-message { resize: vertical; min-height: 120px; }
.custom-select-container { position: relative; width: 100%; margin-bottom: 1.2rem; }
.custom-select-trigger { background: var(--bg-light); border: 1px solid var(--border-light); color: var(--text-muted); padding: 1.2rem; border-radius: 4px; font-family: inherit; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; box-sizing: border-box;}
.custom-select-trigger:hover { border-color: var(--accent-gold); }
.custom-select-container.open .custom-select-trigger { border-color: var(--accent-gold); background: var(--bg-white); box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1); color: var(--text-dark);}
.custom-select-options { position: absolute; display: none; top: calc(100% + 5px); left: 0; right: 0; background: var(--bg-white); border: 1px solid var(--border-light); border-radius: 4px; z-index: 1000; max-height: 250px; overflow-y: auto; box-shadow: var(--shadow-lg); text-align: left;}
.custom-select-options.show { display: block; }
.custom-option { padding: 1rem 1.2rem; color: var(--text-dark); font-size: 0.95rem; cursor: pointer; border-bottom: 1px solid var(--bg-light); }
.custom-option:hover { background: var(--bg-light); color: var(--primary-blue); }
.contact-form-button-submit { width: 100%; padding: 1.2rem; margin-top: 1rem; border-radius: 4px; }
.contact-form-error-message { color: #ef4444; margin-top: 1rem; font-weight: 600; text-align: center; }
.contact-form-success-message { color: #22c55e; margin-top: 1rem; font-weight: 600; text-align: center; }

/* --- Phone Input overrides --- */
.iti { width: 100%; display: block; margin-bottom: 1.2rem; }
.iti__flag {background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");}
@media (min-resolution: 2x) { .iti__flag {background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");} }

/* --- Legal Pages --- */
.legal-page-container { background: var(--bg-white); padding: 3rem; border-radius: 8px; margin: 3rem auto 5rem auto; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);}
.page-title { font-size: 2.2rem; color: var(--primary-navy); margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 2px solid var(--accent-gold); font-family: 'Playfair Display', serif; }
.page-body h2 { font-size: 1.4rem; color: var(--primary-blue); margin-top: 2.5rem; margin-bottom: 1rem; }
.page-body p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1rem; line-height: 1.8;}
.page-body ul { margin-bottom: 1.5rem; padding-left: 1.5rem; color: var(--text-muted); }

/* --- Animations --- */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- Footer --- */
footer { background: var(--primary-navy); color: #fff; padding: 4rem 0 2rem 0; border-top: 4px solid var(--accent-gold); margin-top: auto;}
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.footer-logo { display: flex; align-items: center; gap: 5px; margin-bottom: 1.5rem; }
.footer-logo img { height: 50px; width: auto; margin-bottom: 0; filter: brightness(0) invert(1); flex-shrink: 0; }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.1; color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem; white-space: nowrap; margin: 0; }
.footer-logo-text span { font-size: 0.85rem; font-weight: 600; color: var(--accent-gold); letter-spacing: 2px; text-transform: uppercase; }
.footer-col h4 { color: var(--accent-gold); margin-bottom: 1.5rem; font-family: 'Montserrat', sans-serif; font-size: 1.1rem; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: #cbd5e1; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); max-width: 1100px; margin: 3rem auto 0 auto; padding: 2rem 1.5rem 0 1.5rem; text-align: center;}
.legal-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 1.5rem;}
.legal-links a { color: #cbd5e1; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px; transition: color 0.3s;}
.legal-links a:hover { color: var(--accent-gold); }
.copyright { font-size: 0.85rem; color: #94a3b8; }

/* --- CUSTOM COOKIE NOTICE --- */
#cookieChoiceInfo { display: none !important; }
.custom-cookie-notice { position: fixed; bottom: 20px; left: 20px; z-index: 9999; background-color: var(--bg-white); border: 1px solid var(--border-light); border-radius: 8px; padding: 1.2rem 1.5rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 20px; max-width: 450px; font-family: 'Montserrat', sans-serif; transform: translateY(150%); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.custom-cookie-notice.show { transform: translateY(0); }
.cookie-text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; font-weight: 500; }
.cookie-text a { color: var(--primary-blue); text-decoration: underline; display: inline-flex; align-items: center; gap: 4px; margin-left: 3px; transition: color 0.3s; }
.cookie-text a:hover { color: var(--accent-gold); }
.cookie-btn { background-color: var(--primary-navy); color: #fff; border: 2px solid var(--primary-navy); padding: 0.7rem 1.2rem; border-radius: 4px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.3s ease; font-family: inherit; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.cookie-btn:hover { background-color: transparent; color: var(--primary-navy); }

/* --- Responsive Queries --- */
/* --- Responsive Queries --- */
@media (max-width: 1024px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-white); padding: 2rem; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border-light);}
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .nav-right .btn { display: none; }
  .logo a { flex-shrink: 1; font-size: 1.2rem; }
  .hero { padding: 4rem 1rem; min-height: 80vh; background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85)), url('assets/images/America-Atlantic-Trading.webp') center/cover no-repeat; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .seo-text-section { padding: 3rem 0; }
  .seo-text-content h2 { font-size: 1.8rem; }
  .catalog-main-title { font-size: 2.2rem; }
  .contact-section-wrapper { padding: 2rem 1rem; border-radius: 0; border-left: none; border-right: none;}
  .legal-page-container { padding: 1.5rem; margin: 2rem 1rem;}
  .team-card { flex: 1 1 100%; max-width: 100%; }
}

@media (max-width: 768px) {
  nav { padding: 0.8rem 1rem; }
  .logo a { font-size: 0.95rem; gap: 10px; }
  .logo img { height: 40px; }
  .logo-text span { font-size: 0.7rem; }
  .footer-logo img { height: 40px; }
  .footer-logo-text { font-size: 1.2rem; }
  .footer-logo-text span { font-size: 0.7rem; }
  .map-filter-btn { padding: 6px 12px; font-size: 0.75rem; }
  .trust-partners-grid { grid-template-columns: 1fr; gap: 3rem; padding: 2rem 1rem; }
  .partner-logo { padding: 2.5rem; }
  .standalone-image-wrapper { width: 95%; padding: 1rem; }
  .cta-title { font-size: 2rem; }
  .cta-catalog-section { padding: 4rem 1.5rem; }
  .aat-modal-content { max-width: 95%; }
  .aat-modal-close { top: 10px; right: 20px; font-size: 30px; }
}

@media (max-width: 480px) {
  nav { padding: 0.6rem 0.5rem; }
  .logo a { font-size: 0.8rem; gap: 6px; flex-shrink: 1; overflow: hidden; }
  .logo img { height: 26px; width: auto; flex-shrink: 0; }
  .logo-text { display: flex; flex-direction: column; justify-content: center; }
  .logo-text span { font-size: 0.6rem; letter-spacing: 1px; }
  .nav-right { gap: 0.4rem; flex-shrink: 0; }
  .lang-dropdown-btn { padding: 4px 6px; font-size: 0.7rem; gap: 4px; }
  .lang-dropdown-btn img { width: 14px; }
  .menu-toggle { font-size: 1.4rem; padding-left: 2px; }
  .footer-logo { gap: 8px; }
  .footer-logo img { height: 32px; }
  .footer-logo-text { font-size: 1rem; }
  .footer-logo-text span { font-size: 0.6rem; letter-spacing: 1px; }
  .custom-cookie-notice { bottom: 10px; left: 10px; right: 10px; max-width: calc(100% - 20px); flex-direction: column; text-align: center; gap: 15px; padding: 1.2rem; }
  .cookie-btn { width: 100%; }
}