/* ============================================
   JM TRAVEL - CSS PURO (HTML/CSS/JS Vanilla)
   ============================================ */

/* Variables */
:root {
    --primary: #1e5a96;
    --primary-foreground: #ffffff;
    --accent: #FF6B35;
    --accent-foreground: #ffffff;
    --background: #ffffff;
    --foreground: #1a1a1a;
    --card: #ffffff;
    --card-foreground: #1a1a1a;
    --secondary: #f8f8f8;
    --secondary-foreground: #1a1a1a;
    --muted: #e8e8e8;
    --muted-foreground: #666666;
    --border: #e0e0e0;
    --input: #f5f5f5;
    --radius: 0.75rem;
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.3px;
}

h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 6vw, 3rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 4vw, 1.875rem);
    font-weight: 700;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Container */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 1280px;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .header-container {
        height: 5rem;
    }
}

.logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: 3.5rem;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .logo {
        height: 5rem;
    }
}

/* Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-block;
    }
}

/* Mobile Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    width: 1.5rem;
    height: 0.2rem;
    background-color: var(--foreground);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

.nav-mobile {
    display: none;
    padding-bottom: 1rem;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-link-mobile {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--foreground);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 0.5rem;
}

.nav-link-mobile:hover {
    background-color: var(--secondary);
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: scale(1.05);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #0f3460;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-secondary:hover {
    background-color: #e55a2b;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.btn-mobile-full {
    width: 100%;
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 9999px;
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-animated {
    display: block;
    min-height: 1.2em;
    color: white;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    max-width: 48rem;
    margin: 0 auto 1.5rem;
    font-weight: 600;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    padding-top: 1.5rem;
    width: 100%;
    max-width: 600px;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        width: auto;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-indicator p {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.icon-scroll {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--accent);
    stroke-width: 2;
}

.icon-small {
    width: 1rem;
    height: 1rem;
}

/* Destinations Section */
.destinations {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .destinations {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.destination-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    position: relative;
}

.destination-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.destination-card.featured {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .destination-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
}

.destination-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

.destination-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.destination-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.destination-content h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.destination-content p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    flex: 1;
}

.destination-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.destination-info span {
    display: block;
}

/* Safari Banner */
.safari-banner {
    background: linear-gradient(135deg, rgba(30, 90, 150, 0.8) 0%, rgba(15, 52, 96, 0.8) 100%), url('https://images.unsplash.com/photo-1516426122078-c23e76319801?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

@media (max-width: 768px) {
    .safari-banner {
        background-attachment: scroll;
    }
}

.safari-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.safari-banner p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--secondary);
}

@media (min-width: 768px) {
    .features {
        padding: 6rem 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, #2a6fb5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* Corporate Section */
.corporate {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .corporate {
        padding: 6rem 0;
    }
}

.corporate-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.corporate-content p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.corporate-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit {
    background: var(--secondary);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--accent);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit::before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 0.5rem;
}

.benefit:nth-child(1)::before {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
}

.benefit:nth-child(2)::before {
    background: linear-gradient(135deg, #1e5a96, #2d7ab8);
}

.benefit:nth-child(3)::before {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
}

.benefit:nth-child(4)::before {
    background: linear-gradient(135deg, #1e5a96, #2d7ab8);
}

.benefit h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* Quote Form Section */
.quote-form-section {
    padding: 4rem 0;
    background-color: var(--secondary);
}

@media (min-width: 768px) {
    .quote-form-section {
        padding: 6rem 0;
    }
}

.quote-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 600px;
    margin: 2rem auto 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .quote-form {
        padding: 3rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--input);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 90, 150, 0.1);
}

.whatsapp-alternative {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--muted-foreground);
}

.whatsapp-alternative a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.whatsapp-alternative a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: white;
    color: var(--foreground);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--foreground);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--muted-foreground);
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reclame-aqui {
    display: inline-block;
    margin-top: 1rem;
}

.reclame-aqui img {
    height: 80px;
    width: auto;
    transition: var(--transition);
    opacity: 0.9;
}

.reclame-aqui:hover img {
    opacity: 1;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--muted);
    color: var(--accent);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 40;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-button svg {
    width: 32px;
    height: 32px;
}

@media (max-width: 640px) {
    .whatsapp-button {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero {
        height: 80vh;
    }

    .destinations-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-in {
    animation: slideInUp 0.5s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}
