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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f5f1;
    color: #333;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 10;
    overflow-y: auto;
}

/* Header Styles */
header {
    text-align: center;
    padding: 1.5rem 0;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #4a4a4a;
}

/* Main Styles */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
}

/* Countdown Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.countdown-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    min-width: 80px;
    color: #333;
}

.time-label {
    font-size: 1rem;
    color: #c19a6b;
    margin-top: 0.5rem;
}

/* Status Tag */
.status-tag {
    background-color: #f8f5f1;
    color: #c19a6b;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    display: inline-block;
}

/* Coming Soon Title */
.coming-soon-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

/* Completion Message Styles */
.completion-message {
    text-align: center;
    margin-bottom: 2rem;
}

.completion-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    letter-spacing: 1px;
}

.completion-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #c19a6b;
    letter-spacing: 1px;
}

/* Description */
.description {
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    color: #666;
    font-size: 1.1rem;
}

/* Subscription Container for iframe */
.subscription-container {
    width: 100%;
    max-width: 540px;
    margin: 0 auto 2rem;
    background-color: transparent;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Make the iframe responsive */
.subscription-container iframe {
    width: 100%;
    height: 305px;
    border: none;
    display: block;
}

/* Subscription Form */
.subscription-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    margin-bottom: 1rem;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    transition: border-color 0.3s;
}

input[type="email"]:focus {
    border-color: #c19a6b;
    outline: none;
}

.subscribe-btn {
    padding: 1rem 2rem;
    background-color: #c19a6b;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
}

.subscribe-btn:hover {
    background-color: #aa8255;
}

.subscription-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    height: 20px;
}

.success {
    color: #2ecc71;
}

.error {
    color: #e74c3c;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 2rem 0 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0e7db;
    color: #c19a6b;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background-color: #c19a6b;
    color: white;
}

.copyright {
    font-size: 0.9rem;
    color: #888;
}

/* Background Decorations */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.book-decoration {
    position: absolute;
    background-color: rgba(193, 154, 107, 0.1);
    border-radius: 50%;
}

.book-decoration.left {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.book-decoration.right {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .countdown-container {
        gap: 1rem;
    }

    .time-number {
        font-size: 2.5rem;
        min-width: 60px;
    }

    .coming-soon-title {
        font-size: 2.5rem;
    }

    .completion-title {
        font-size: 2.5rem;
    }

    .completion-subtitle {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .subscription-form {
        width: 90%;
        margin-bottom: 0.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    main {
        padding: 0;
    }

    header {
        padding: 1rem 0;
    }

    footer {
        padding: 1.5rem 0 1rem;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        gap: 0.7rem;
    }

    .time-number {
        font-size: 1.8rem;
        min-width: 45px;
    }

    .time-label {
        font-size: 0.7rem;
        margin-top: 0.3rem;
    }

    .coming-soon-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }

    .completion-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .completion-subtitle {
        font-size: 1rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .book-decoration.left {
        width: 200px;
        height: 200px;
        top: -50px;
        left: -50px;
    }

    .book-decoration.right {
        width: 250px;
        height: 250px;
        bottom: -100px;
        right: -100px;
    }

    .description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }

    .container {
        padding: 1rem 0.8rem;
    }

    .status-tag {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .social-links {
        gap: 1.2rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .copyright {
        font-size: 0.8rem;
    }

    input[type="email"] {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .subscribe-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .subscription-form {
        flex-direction: row;
    }

    .subscribe-btn {
        width: auto;
        white-space: nowrap;
    }
}

/* Additional size adjustments for very small screens */
@media (max-width: 375px) {
    .countdown-container {
        gap: 0.5rem;
    }

    .time-number {
        font-size: 1.6rem;
        min-width: 40px;
    }

    .time-label {
        font-size: 0.65rem;
    }

    header h1 {
        font-size: 1.6rem;
    }

    .coming-soon-title {
        font-size: 1.6rem;
    }

    .completion-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .completion-subtitle {
        font-size: 0.9rem;
    }

    .container {
        padding: 0.8rem 0.5rem;
    }

    .description {
        padding: 0 0.5rem;
    }
}
