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

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Fixed background that stays at viewport height */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.container {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background: rgba(245, 245, 245, 0.95); */
}

/* Header Styles */
.header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 10;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 1px;
}

.hamburger {
    display: none;
    /* display: flex; */
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Title Section */
.title-section {
    text-align: center;
    margin: 28px 0 96px 0;
    z-index: 5;
}

.main-title {
    font-size: 48px;
    font-weight: 900;
    color: #2c3e50;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 400;
    letter-spacing: 1px;
}

.location {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 400;
    /* letter-spacing: 8px; */
}

/* Footer */
.footer {
    font-family: 'Arial', sans-serif;
    text-align: center;
    padding: 16px 0;
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    font-weight: 300;
    font-size: 12px;
}

.designer {
    color: #2c3e50;
    /* font-weight: 500; */
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.year {
    font-style: italic;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .main-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
}

/* Mailing List Section */
.mailing-list-section {
    min-height: 100vh;
    /* background: rgba(245, 245, 245, 0.98); */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.mailing-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(44, 62, 80, 0.1);
}

.mailing-header {
    background: rgba(44, 62, 80, 0.05);
    padding: 40px 50px 30px 50px;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}

.mailing-content {
    padding: 50px;
}

.mailing-header h2 {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 900;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
}

.mailing-subtitle {
    color: #2c3e50;
    font-size: 16px;
    margin: 0 0 40px 0;
    line-height: 1.6;
    text-align: center;
    font-weight: 300;
    opacity: 0.8;
}

.mailing-form {
    margin-bottom: 30px;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid rgba(44, 62, 80, 0.2);
}

.input-group:last-of-type {
    border-bottom: 1px solid rgba(44, 62, 80, 0.2);
}

.input-label {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    font-family: 'Arial', sans-serif;
}

input[type="email"], input[type="text"], textarea {
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 16px;
    color: #2c3e50;
    outline: none;
    text-align: right;
    min-width: 250px;
    font-family: 'Arial', sans-serif;
    font-weight: 300;
    width: 100%;
    resize: vertical;
}

textarea {
    min-height: 80px;
    line-height: 1.4;
}

/* input[type="email"]:focus, input[type="text"]:focus {
    background: rgba(44, 62, 80, 0.05);
    padding: 8px 12px;
    border-radius: 2px;
} */

input[type="email"]::placeholder, input[type="text"]::placeholder, textarea::placeholder {
    color: rgba(44, 62, 80, 0.4);
    font-style: italic;
    font-weight: 300;
}

.submit-btn {
    width: 100%;
    padding: 20px 20px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 40px;
    font-family: 'Arial', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: #34495e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

.submit-btn:active {
    background: #1a252f;
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.loading {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.message {
    margin-top: 25px;
    padding: 15px 20px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.message.success {
    background: rgba(56, 161, 105, 0.1);
    color: #2c3e50;
    border: 1px solid rgba(56, 161, 105, 0.3);
}

.message.error {
    background: rgba(229, 62, 62, 0.1);
    color: #2c3e50;
    border: 1px solid rgba(229, 62, 62, 0.3);
}

.privacy-text {
    font-size: 12px;
    color: rgba(44, 62, 80, 0.6);
    margin-top: 30px;
    line-height: 1.4;
    text-align: center;
    font-style: italic;
    font-weight: 300;
}

/* Mailing List Responsive */
@media (max-width: 768px) {
    .mailing-header {
        padding: 30px 30px 20px 30px;
    }
    
    .mailing-content {
        padding: 30px;
    }
    
    .mailing-header h2 {
        font-size: 24px;
        letter-spacing: 1px;
    }
    
    .input-label {
        font-size: 12px;
    }
    
    input[type="email"], input[type="text"], textarea {
        min-width: 180px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 28px 0;
    }

    .mailing-container {
        margin: 20px 10px;
    }
    
    .mailing-header {
        padding: 25px 20px 15px 20px;
    }
    
    .mailing-content {
        padding: 25px 20px;
    }
    
    .mailing-header h2 {
        font-size: 20px;
    }
    
    .mailing-subtitle {
        font-size: 14px;
        margin-bottom: 0px;
    }
    
    .input-group {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
        margin: 0;
    }
    
    .input-label {
        margin-bottom: 10px;
    }
    
    input[type="email"], input[type="text"], textarea {
        width: 100%;
        text-align: left;
        min-width: unset;
    }
}