/* Color Palette Variables derived from the Yemen Mandi Logo */
:root {
    --color-bg: #f5f4f0;
    --color-card-bg: #ffffff;
    --color-red: #D31D24;
    --color-red-dark: #b1161c;
    --color-gold: #E68B1C;
    --color-gold-light: #f5a623;
    --color-teal: #0B7D86;
    --color-text-dark: #2c2523;
    --color-text-muted: #6e6460;
    --color-border: #eae6e1;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    line-height: 1.6;
}

.page-container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: space-between;
}

/* Header Section */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-colored:hover {
    transform: scale(1.03);
}

/* Main Content Center Area */
.main-content {
    width: 100%;
    max-width: 720px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto 0;
    animation: fadeIn 1.2s ease-out;
}

/* Styled Card for the content */
.content-card {
    background-color: var(--color-card-bg);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(211, 29, 36, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Accent border at the top matching logo colors */
.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--color-red) 0%, var(--color-gold) 50%, var(--color-teal) 100%);
}

/* Image Showcase */
.image-wrapper {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    border: 2px solid var(--color-border);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.image-wrapper:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(44, 37, 35, 0.3) 100%);
    pointer-events: none;
}

/* Typography & Messages */
.construction-message {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-red);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.sub-message {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Decorative Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: 0.5rem;
}

.divider .line {
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.divider .dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-teal);
    border-radius: 50%;
}

/* Footer Section */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    animation: fadeInUp 1s ease-out;
}

/* Grayscale Logo in Footer */
.logo-grayscale {
    height: 80px;
    filter: grayscale(100%);
    opacity: 0.35;
    transition: all 0.3s ease;
}

.logo-grayscale:hover {
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.6;
}

/* Credit Link */
.credit {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.credit a {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease, border-bottom 0.2s ease;
    border-bottom: 1px solid transparent;
}

.credit a:hover {
    color: var(--color-gold);
    border-bottom: 1px solid var(--color-gold);
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .logo {
        height: 110px;
    }
    
    .content-card {
        padding: 1.75rem;
        border-radius: 20px;
    }
    
    .image-wrapper {
        height: 250px;
        margin-bottom: 1.5rem;
    }
    
    .construction-message {
        font-size: 1.85rem;
    }
    
    .sub-message {
        font-size: 1rem;
    }
    
    .logo-grayscale {
        height: 65px;
    }
}
