:root {
    --primary-color: #c5a059;
    --bg-color: #ffffff;
    --text-color: #4a4a4a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-x: hidden;
}

.header-bar {
    width: 100%;
    height: 100px;
    background: linear-gradient(to right, #a85d5d, #d48585, #a85d5d);
    flex-shrink: 0;
}

.container {
    text-align: center;
    padding: 0 2rem 2rem 2rem;
    width: 100%;
    animation: fadeIn 1.5s ease-out;
}

.content {
    margin: 0;
    padding: 0;
}

.logo-container {
    margin-bottom: 0;
    margin-top: -85px;
    text-align: left;
    /* desktop: logo on the left */
    padding-left: 2rem;
}

.logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    border: 12px solid white;
    border-radius: 50%;
    background-color: white;
}

.logo:hover {
    transform: scale(1.02);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-top: -5rem;
    /* works for large screens, overridden on smaller */
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.message {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    font-style: italic;
}

.social-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0 10px;
}

.social-btn:hover {
    background-color: #b08d4b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 📱 Phones – keep logo top-left, smaller, no overlap */
@media (max-width: 600px) {

    .container {
        text-align: center;
        padding: 0 1rem 2rem 1rem;
    }

    .logo-container {
        text-align: left;
        /* ✅ stay on the left */
        margin-top: -40px;
        /* less aggressive negative margin */
        padding-left: 1rem;
        /* small left padding for breathing room */
    }

    .logo {
        max-width: 140px;
        /* smaller logo on phones */
        border-width: 8px;
    }

    .title {
        font-size: 2.2rem;
        margin-top: 0;
        /* ✅ prevents overlap with logo */
    }

    .message {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .social-btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
}

/* 📲 Tablets (iPad etc.) – fix overlapping text */
@media (min-width: 601px) and (max-width: 1024px) {

    .logo-container {
        margin-top: -60px;
        /* slightly reduced so logo still overlaps header nicely */
    }

    .logo {
        max-width: 220px;
        /* a bit smaller than desktop */
    }

    .title {
        margin-top: -2rem;
        /* ✅ much less negative = no overlap */
        font-size: 3rem;
    }

    .message {
        font-size: 1.05rem;
    }
}