/* ========================================
   ÉLNARA MOTOR - Unveiling 2026
   Dark Navy & Gold Theme
   ======================================== */

/* ----- Google Fonts ----- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* ----- CSS Variables ----- */
:root {
    --navy: #0a1628;
    --navy-light: #1a2744;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --white: #ffffff;
    --gray: #8a93a1;
    --border-gold: rgba(201, 162, 39, 0.3);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--navy);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ----- Header ----- */
.header {
    background: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.btn-nav {
    background: var(--navy);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ----- Main Content ----- */
.main {
    margin-top: 115px;
    background: linear-gradient(135deg, var(--navy) 0%, #0d1f35 100%);
    min-height: calc(100vh - 115px);
}

/* ----- Hero Section ----- */
.hero {
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--border-gold);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.badge-icon {
    font-size: 1rem;
}

/* Hero Title */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.gold-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

/* Hero Description */
.hero-description {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Outline Button */
.btn-outline {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 15px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

/* Hero Image */
.hero-image {
    position: relative;
    border: 2px solid var(--border-gold);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 
        0 0 60px rgba(201, 162, 39, 0.2),
        inset 0 0 60px rgba(201, 162, 39, 0.05);
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
}

/* ----- Newsletter Section ----- */
.newsletter {
    border-top: 1px solid var(--border-gold);
    padding: 30px 0;
    margin-top: 40px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.newsletter-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    overflow: hidden;
}

.newsletter-input {
    background: transparent;
    border: none;
    padding: 14px 20px;
    color: var(--white);
    font-size: 0.9rem;
    width: 300px;
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--gray);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold:hover {
    background: var(--gold-light);
}

/* ----- Footer ----- */
.footer {
    background: var(--navy);
    border-top: 1px solid var(--border-gold);
    padding: 20px 0;
    text-align: center;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.divider {
    color: var(--gold);
    margin: 0 15px;
}

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

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* ----- Large Desktop (1400px+) ----- */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-content {
        gap: 80px;
    }
    
    .hero-image {
        padding: 30px;
    }
    
    .newsletter-input {
        width: 350px;
    }
}

/* ----- Desktop / Laptop (1024px - 1399px) ----- */
@media (max-width: 1200px) {
    .container {
        padding: 0 35px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        gap: 50px;
    }
}

/* ----- Tablet Landscape / Small Laptop (768px - 1023px) ----- */
@media (max-width: 1023px) {
    .container {
        padding: 0 30px;
    }
    
    .logo img {
        height: 90px;
    }
    
    .btn-nav {
        padding: 10px 22px;
        font-size: 0.85rem;
    }
    
    .main {
        margin-top: 100px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn-outline {
        padding: 12px 28px;
        font-size: 0.8rem;
    }
    
    .hero-image {
        padding: 15px;
    }
    
    .newsletter-content {
        gap: 25px;
    }
    
    .newsletter-input {
        width: 250px;
    }
}

/* ----- Tablet Portrait / Large Phone (768px - 1023px stacked) ----- */
@media (max-width: 900px) {
    .container {
        padding: 0 25px;
    }
    
    .logo img {
        height: 80px;
    }
    
    .btn-nav {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .main {
        margin-top: 95px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        margin: 0 auto 35px;
        max-width: 100%;
    }
    
    .badge {
        margin-bottom: 20px;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .newsletter {
        padding: 25px 0;
    }
    
    .newsletter-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 400px;
    }
    
    .newsletter-input {
        width: 100%;
        flex: 1;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
}

/* ----- Mobile Landscape / Small Tablet (480px - 767px) ----- */
@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 15px 0;
        height: 80px;
    }
    
    .logo img {
        height: 70px;
    }
    
    .btn-nav {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .main {
        margin-top: 80px;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }
    
    .gold-text {
        display: block;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .btn-outline {
        padding: 12px 25px;
        font-size: 0.75rem;
    }
    
    .hero-image {
        padding: 12px;
        border-radius: 15px;
    }
    
    .hero-image img {
        border-radius: 10px;
    }
    
    .badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .newsletter {
        padding: 20px 0;
        margin-top: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .newsletter-input {
        padding: 12px 16px;
        width: 100%;
        border-bottom: 1px solid var(--border-gold);
    }
    
    .btn-gold {
        padding: 12px 20px;
        width: 100%;
    }
    
    .footer {
        padding: 15px 0;
    }
    
    .footer-text {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .divider {
        margin: 0 8px;
    }
}

/* ----- Mobile Portrait (320px - 479px) ----- */
@media (max-width: 479px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 10px 0;
        height: auto;
        min-height: 70px;
    }
    
    .logo {
        background: var(--white);
        padding: 6px 12px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        max-width: 160px;
    }
    
    .logo img {
        height: 55px;
        width: auto;
        max-width: 140px;
        object-fit: contain;
        display: block;
    }
    
    .btn-nav {
        padding: 10px 16px;
        font-size: 0.75rem;
        font-weight: 600;
        border-radius: 8px;
    }
    
    .main {
        margin-top: 80px;
    }
    
    .hero {
        padding: 25px 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }
    
    .btn-outline {
        padding: 10px 20px;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    .hero-image {
        padding: 10px;
        border-radius: 12px;
    }
    
    .hero-image img {
        border-radius: 8px;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 6px 12px;
        margin-bottom: 15px;
    }
    
    .badge-icon {
        font-size: 0.9rem;
    }
    
    .newsletter-label {
        font-size: 0.85rem;
    }
    
    .newsletter-input::placeholder {
        font-size: 0.85rem;
    }
    
    .btn-gold {
        font-size: 0.75rem;
    }
    
    .footer-text {
        font-size: 0.6rem;
        line-height: 1.6;
    }
    
    .divider {
        display: block;
        margin: 3px 0;
        opacity: 0;
    }
}

/* ----- Small Mobile (320px and below) ----- */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
    
    .btn-outline {
        padding: 10px 18px;
        font-size: 0.65rem;
    }
    
    .btn-nav {
        padding: 6px 12px;
        font-size: 0.65rem;
    }
    
    .footer-text {
        font-size: 0.55rem;
    }
}

/* ----- Height-based queries for landscape phones ----- */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        height: 65px;
    }
    
    .logo img {
        height: 55px;
    }
    
    .main {
        margin-top: 65px;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description br {
        display: none;
    }
}
