/* style.css */

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #050505;
    color: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Decorative Orange Glows */
.glow-orange {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #ff6b00;
    filter: blur(150px);
    opacity: 0.4;
    z-index: -1;
}
.top-right { top: -100px; right: -100px; }
.bottom-left { bottom: -100px; left: -100px; }

/* Main Card Container */
.main-card {
    background: #0f0f0f;
    width: 90%;
    max-width: 1100px;
    
    /* Flexible height to fit content */
    height: auto;
    min-height: 80vh;
    
    border-radius: 30px;
    padding: 40px 60px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid #2a2a2a;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative; 
    z-index: 100;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #e0e0e0;
}
.logo .dot { color: #ff6b00; }

.nav-right {
    display: flex;
    align-items: center;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    width: 30px;
    height: 25px;
    display: flex; /* Always visible now */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 101;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #e0e0e0;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation (X Shape) */
.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* --- HERO SECTION --- */
.hero-section {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Left Column */
.text-content {
    flex: 1;
    max-width: 500px;
}

h3 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.highlight { color: #ff6b00; }

.subtitle {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Form Styling */
.subscribe-form-left {
    max-width: 450px;
    margin-bottom: 15px;
}

.email-input-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.email-input-wrapper input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 130px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}
.email-input-wrapper input:focus { border-color: #666; }

.email-input-wrapper button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 25px;
    background-color: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
    text-transform: uppercase;
}
.email-input-wrapper button:hover { background-color: #e55e00; }

/* Disabled button state */
.email-input-wrapper button:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-note {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

/* Right Column */
.right-column-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.image-box {
    width: 90%;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Hide Google Badge */
.grecaptcha-badge { visibility: hidden; }


/* --- MODAL STYLES (Popup) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    border: 1px solid #333;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-content p {
    color: #b0b0b0;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-content button {
    background-color: #ff6b00;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.modal-content button:hover { background-color: #e55e00; }


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    .main-card {
        height: auto;
        min-height: 90vh;
        padding: 30px 20px;
        justify-content: flex-start;
    }
    
    .hero-section {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .right-column-content {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .image-box { max-height: 300px; }

    .text-content {
        text-align: center;
        max-width: 100%;
    }

    .subscribe-form-left { margin: 0 auto 15px auto; }

    h3 { font-size: 2.5rem; }
}