/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Two column layout for desktop */
.two-column-layout {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.left-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin-bottom: 2rem;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}

.text-content {
    margin-bottom: 2rem;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon svg,
.social-svg {
    width: 100%;
    height: 100%;
}

/* Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    background-color: #000000;
    padding: 0.5rem;
    border: 1px solid #333;
    max-width: 400px;
    width: auto;
}


/* Mobile responsive styles - No scroll optimization */
@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
        gap: 1rem;
        height: 100vh;
        overflow: hidden;
    }
    
    .left-column, .right-column {
        min-height: 0;
        flex: 1;
        justify-content: center;
    }
    
    .container {
        flex-direction: column;
        padding: 0.5rem;
        height: 100vh;
        overflow: visible;
    }
    
    .logo-section {
        padding: 0.5rem;
        flex-shrink: 0;
    }
    
    .logo {
        max-height: 20vh;
        width: auto;
    }
    
    .content-section {
        padding: 0.5rem;
        text-align: center;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 0;
    }
    
    .text-content {
        margin-bottom: 1rem;
        flex-shrink: 1;
        overflow: hidden;
    }
    
    .text-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 1rem;
        flex-shrink: 0;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
    }
    
    /* Mobile input adjustments */
    .mobile-input-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .mobile-main-input {
        background: transparent;
        border: 0.5px solid #ffffff;
        color: #ffffff;
        font-size: 0.9rem;
        padding: 0.5rem;
        outline: none;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
    
    .mobile-main-input::placeholder {
        color: #cccccc;
    }
    
    .mobile-find-us-button {
        background: #ffffff;
        color: #000000;
        border: none;
        padding: 0.5rem;
        font-size: 0.8rem;
        font-weight: bold;
        text-transform: uppercase;
        cursor: pointer;
        white-space: nowrap;
        width: 100%;
    }
    
    .mobile-find-us-button:hover {
        opacity: 0.9;
    }
    
    /* Hide desktop input on mobile */
    .desktop-input {
        display: none !important;
    }
    
    /* Show mobile input on mobile */
    .mobile-input {
        display: flex !important;
    }
    
    .popup-content {
        padding: 1rem;
    }
    
    .popup-message {
        font-size: 1rem;
    }
}

/* New main input section styles */
.main-input-section {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}


.main-input-container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px; /* Match logo width */
}

.main-input {
    background: transparent;
    border: 0.5px solid #ffffff;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.75rem 120px 0.75rem 1rem;
    outline: none;
    width: 100%; /* Full width of container */
    box-sizing: border-box;
}

.main-input::placeholder {
    color: #cccccc;
}

.main-find-us-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.main-find-us-button:hover {
    opacity: 0.9;
}

/* Compact popup styles */
.compact-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.compact-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 1rem;
    padding: 0.5rem;
    outline: none;
    flex: 1;
    min-width: 0;
}

.compact-input::placeholder {
    color: #cccccc;
}

.compact-find-us-button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
}

.compact-find-us-button:hover {
    opacity: 0.9;
}

.compact-close-popup {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.compact-close-popup:hover {
    opacity: 0.7;
}

/* FIND US button in popup */
.find-us-button {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
}

.find-us-button:hover {
    opacity: 0.9;
}

/* Logo size increase and vertical centering */
.logo {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    width: 500px;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem;
}


/* For desktop screens (min-width: 769px) */
@media (min-width: 769px) {
    /* Hide mobile input on desktop */
    .main-input-section.mobile-input {
        display: none !important;
    }
    
    /* Ensure desktop input is visible on desktop */
    .main-input-section.desktop-input {
        display: flex !important;
    }
}

/* For mobile screens, handled in existing max-width: 768px media query */

@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }
    
    .logo-section,
    .content-section {
        padding: 0.5rem;
    }
    
    .text-content p {
        font-size: 0.9rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .main-input {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    .main-find-us-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}
