:root {
    --primary-orange: #f05c36;
    --dark-text: #1a1a1a;
    --gray-text: #666666;
    --light-bg: #fdfdfd;
    --box-border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background: url('assets/bg5.png') no-repeat center bottom / cover;
    background-color: var(--light-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

.main-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

/* Left Content Section */
.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3rem 10%;
    z-index: 10;
}

header .logo {
    max-width: 350px;
    height: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
}

.text-content {
    max-width: 500px;
}

.cursive-text {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--primary-orange);
    display: block;
    margin-bottom: -10px;
    margin-left: 2px;
}

.main-heading {
    font-family: 'Dancing Script', cursive;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary-orange);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
}

/* Subscribe Box */
.subscribe-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--box-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    max-width: 400px;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.subscribe-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.icon-wrapper {
    width: 45px;
    height: 45px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.subscribe-text {
    flex: 1;
}

.subscribe-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.subscribe-text p {
    font-size: 0.75rem;
    color: var(--gray-text);
    line-height: 1.3;
}

.arrow-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark-text);
    padding: 0.5rem;
    transition: transform 0.2s ease;
}

.arrow-btn:hover {
    transform: translateX(3px);
}

/* Contact Info */
.contact-info {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--dark-text);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-icon:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
}

/* Right Image Section */
.image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.construction-img {
    display: none; /* Hidden on desktop */
    max-width: 120%;
    width: 800px;
    height: auto;
    object-fit: contain;
    position: relative;
    right: 5%;
    bottom: -5%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .content-section {
        padding: 3rem 5%;
    }
    
    .main-heading {
        font-size: 4.5rem;
    }
    
    .construction-img {
        width: 100%;
        right: 0;
    }
}

@media (max-width: 768px) {
    body {
        background: #F9F4EF; /* Warm off-white/beige from attachment */
    }
    
    .main-container {
        flex-direction: column;
    }
    
    .content-section {
        padding: 2rem 5%;
        text-align: center;
        align-items: center;
        order: 1; /* Content below image on mobile, or above? Usually logo top, then image, then text */
    }
    
    header {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    main {
        margin-top: 1rem;
    }
    
    .text-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .subscribe-box {
        text-align: left;
    }
    
    .image-section {
        order: 2;
        padding: 2rem;
        min-height: 300px;
    }
    
    .construction-img {
        display: block; /* Show on mobile */
        width: 100%;
        max-width: 500px;
        right: auto;
        bottom: auto;
        animation: none; /* Disable float on mobile to save performance/battery if desired, or keep it */
    }
}

@media (max-width: 480px) {
    .cursive-text {
        font-size: 2.5rem;
    }
    
    .main-heading {
        font-size: 3.5rem;
    }
    
    header .logo {
        max-width: 200px;
    }
    
    .subscribe-box {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .arrow-btn {
        transform: rotate(90deg);
    }
    
    .arrow-btn:hover {
        transform: rotate(90deg) translateY(3px);
    }
}

/* Popup Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.modal-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-text);
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--primary-orange);
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.modal-content p {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--box-border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-orange);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #d94b29;
    transform: translateY(-2px);
}

.success-message {
    display: none;
    text-align: center;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #e8f5e9;
    border-radius: 8px;
}

.success-message i {
    margin-right: 5px;
}
