/* ====================================
   MHOMES RESORT - COMING SOON PAGE
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    color: #333333;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(179, 217, 255, 0.08) 100%);
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(179, 217, 255, 0.08) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(179, 217, 255, 0.08) 0%, rgba(139, 69, 19, 0.08) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(139, 69, 19, 0.08) 0%, rgba(179, 217, 255, 0.08) 100%);
    }
}

/* Container */
.container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 40px 40px 40px 40px;
    max-width: 900px;
    width: 100%;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.08);
    animation: slideUp 0.8s ease-out;
    border: 1px solid rgba(179, 217, 255, 0.3);
    }

    /* Responsive Images */
    img, .gallery-img, .logo-img {
        max-width: 100%;
        height: auto;
        display: block;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.header {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
    margin-left: -70px;
    margin-top: -70px;
}

.logo-img {
    width: 200px;
    height: 225px;
    object-fit: contain;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #8B4513;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    text-align: center;
    margin: 0;
    line-height: 1;
}

.tagline {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Coming Soon Section */
.coming-soon {
    text-align: center;
    margin-bottom: 50px;
    margin-top: -180px;
}

.coming-soon-title {
    font-size: 52px;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coming-soon-text {
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 15px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coming-soon-description {
    font-size: 16px;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Gallery */
.gallery {
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    animation: scaleIn 0.6s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.5s; }
.gallery-item:nth-child(2) { animation-delay: 0.6s; }
.gallery-item:nth-child(3) { animation-delay: 0.7s; }
.gallery-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

/* Countdown Timer */
.countdown {
    background: linear-gradient(135deg, #f5f5f5 0%, #efe8e8 100%);
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.9s both;
    border: 2px solid rgba(179, 217, 255, 0.3);
}

.countdown-title {
    text-align: center;
    font-size: 22px;
    color: #8B4513;
    margin-bottom: 25px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-items: center;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.timer-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #8B4513 0%, #b3d9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.timer-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    font-size: 14px;
    color: #999;
}

.footer p {
    margin: 5px 0;
}

.footer p:last-child {
    color: #8B4513;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Playfair Display', serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .header {
        margin-bottom: 30px;
    }

    .logo-img {
        width: 45px;
        height: 45px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-name {
        font-size: 36px;
    }

    .coming-soon-title {
        font-size: 36px;
    }

    .coming-soon-text {
        font-size: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .timer-number {
        font-size: 36px;
        min-width: 70px;
    }

    .email-form {
        flex-direction: column;
    }

    .email-input {
        min-width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }
    .coming-soon-description {
        margin-top: 30px;
    }

    .logo-img {
        width: 500px;
        height: auto;
        margin-left: 100%;
        margin-top: -40px;
    }
    .brand-name {
        font-size: 22px;
        text-align: left;
    }
    .header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
        width: 100%;
        padding-top: 0;
    }
    .logo {
        margin-left: 0;
        margin-top: -10px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
    }
    .logo-img {
        width: 150px;
        height: auto;
    }
    .coming-soon-title {
        font-size: 28px;
        text-align: center;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: 5px;
    }
    .coming-soon {
        margin-top: -50px;
        display: block;
        text-align: center;
    }

    .tagline {
        font-size: 14px;
    }

    .coming-soon-title {
        font-size: 28px;
    }

    .coming-soon-text {
        font-size: 18px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-img {
        height: 200px;
    }

    .countdown {
        padding: 25px;
    }

    .timer-number {
        font-size: 28px;
    }

    .timer-label {
        font-size: 12px;
    }

    .cta-text {
        font-size: 16px;
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    .logo {
        margin-left: 0;
        margin-top: 0;
    }
}
