/* ==========================================
   TRUST LINE CARGO - MASTER CSS
   Fully Responsive Design System
   ========================================== */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* COLOR VARIABLES */
:root {
    --navy-blue: #0B1C2D;
    --navy-light: #1a3a52;
    --yellow: #F5B301;
    --yellow-dark: #d69f01;
    --white: #FFFFFF;
    --bg-light: #F5F7FA;
    --bg-gradient: linear-gradient(135deg, #0B1C2D 0%, #1a3a52 100%);
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --whatsapp-green: #25D366;
    --success-green: #10B981;
    --border-light: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

/* RESPONSIVE TYPOGRAPHY */
h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--navy-blue);
    line-height: 1.2;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy-blue);
    line-height: 1.3;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 0.875rem;
}

h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--navy-blue);
    line-height: 1.4;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin-bottom: 0.75rem;
}

h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--navy-blue);
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 0.625rem;
}

p {
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.lead-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.8;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* SECTION STYLES */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--yellow);
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--yellow) 0%, #FFCA28 100%);
    color: var(--navy-blue);
    box-shadow: 0 4px 15px rgba(245, 179, 1, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 179, 1, 0.4);
}

.btn-secondary {
    background: var(--bg-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 28, 45, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(11, 28, 45, 0.4);
}

/* TOP CTA BAR - MOBILE ONLY */
.top-cta-bar {
    background: linear-gradient(90deg, var(--yellow) 0%, #FFCA28 100%);
    color: var(--navy-blue);
    padding: 0.625rem 0;
    text-align: center;
    font-weight: 600;
    font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: var(--shadow-md);
}

/* HEADER */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
}

.logo img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* MOBILE MENU */
.menu-toggle {
    display: block;
    font-size: 1.5rem;
    color: var(--navy-blue);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
}

nav.active {
    display: block;
}

nav ul {
    list-style: none;
}

nav ul li {
    border-bottom: 1px solid var(--border-light);
}

nav ul li a {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--navy-blue);
    font-weight: 500;
    font-size: clamp(0.9375rem, 1.5vw, 1rem);
    transition: all 0.3s;
}

nav ul li a:hover {
    background-color: var(--bg-light);
    color: var(--yellow);
    padding-left: 1.5rem;
}

/* FOOTER */
footer {
    background: var(--bg-gradient);
    color: var(--white);
    padding: 2.5rem 0 1.25rem;
    margin-top: 3rem;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow) 0%, #FFCA28 100%);
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--yellow);
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section ul {
    color: rgba(255,255,255,0.9);
    font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.9);
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--yellow);
}

.footer-logo img {
    height: 40px;
    width: auto;
    
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: clamp(0.8125rem, 1.5vw, 0.875rem);
}

/* FLOATING CTAs - RIGHT CORNER */
.floating-ctas {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.35);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.call-btn {
    background: var(--bg-gradient);
}

/* UTILITY CLASSES */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* EXTRA SMALL DEVICES (360px and below) */
@media (max-width: 360px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .logo img {
        height: 60px;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .floating-ctas {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
}

/* TABLET STYLES */
@media (min-width: 768px) {
    html {
        font-size: 17px;
    }
    
    .top-cta-bar {
        display: none;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .logo img {
        height: 60px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    nav {
        display: block;
        position: static;
        box-shadow: none;
    }
    
    nav ul {
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
    }
    
    nav ul li {
        border: none;
    }
    
    nav ul li a {
        padding: 0.625rem 1rem;
        border-radius: 6px;
    }
    
    nav ul li a:hover {
        padding-left: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-ctas {
        bottom: 30px;
        right: 30px;
        gap: 15px;
    }
    
    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

/* DESKTOP STYLES */
@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
    }
}

/* LARGE DESKTOP */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}