/*
 * Family Room - Brand Style Guide Implementation
 *
 * Color Palette:
 * CORAL PINK: #ef5467 (CMYK: 0/79/45/0, RGB: 239/84/103)
 * SUNGLOW: #ffce43 (CMYK: 0/20/80/0, RGB: 255/206/67)
 * DIRT PURPLE: #875469 (CMYK: 43/68/36/24, RGB: 135/84/105)
 * MELLOW YELLOW: #ffe291 (CMYK: 0/11/52/0, RGB: 255/226/145)
 *
 * Typography:
 * Logo: Sour Gummy
 * Body Text: Montserrat Regular
 */

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

:root {
    --coral-pink: #ef5467;
    --sunglow: #ffce43;
    --dirt-purple: #875469;
    --mellow-yellow: #ffe291;
    --white: #ffffff;
    --black: #000000;
}

body {
    font-family: 'Montserrat', sans-serif;
    /* background: linear-gradient(135deg, var(--coral-pink) 0%, #f26b7a 100%); */
    background-color: var(--coral-pink);
    min-height: 100vh;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--white);
    overflow-x: auto;
}

.container {
    text-align: center;
    max-width: 900px;
    min-width: 280px;
    width: 100%;
    animation: fadeIn 0.8s ease-in;
}

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

/* Logo Styles */
.logo-container {
    margin-bottom: 40px;
    animation: slideDown 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-icon {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-complete {
    width: 100%;
    max-width: 600px;
    height: auto;
    transition: transform 0.3s ease;
    background: transparent;
}

.logo-complete:hover {
    transform: scale(1.02);
}

.logo-text {
    font-family: 'Sour Gummy', cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.logo-family,
.logo-room {
    color: var(--sunglow);
    font-weight: 500;
    line-height: 1;
}

.logo-family {
    font-size: 5rem;
    letter-spacing: 2px;
}

.logo-room {
    font-size: 5rem;
    letter-spacing: 2px;
}

/* Tagline */
.tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--mellow-yellow);
    margin-bottom: 60px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

/* Social and Contact Section */
.social-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.social-icons {
    display: flex;
    gap: 30px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background-color: var(--sunglow);
    color: var(--coral-pink);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

/* Contact Info */
.contact-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.contact-info p {
    margin: 0;
}

.email-link {
    color: var(--mellow-yellow);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.email-link:hover {
    border-bottom-color: var(--mellow-yellow);
    text-shadow: 0 0 10px rgba(255, 206, 67, 0.5);
}

/* Responsive Design */

/* Tablets */
@media (max-width: 768px) {
    .logo-icon {
        width: 140px;
        height: 140px;
    }

    .logo-complete {
        max-width: 500px;
    }

    .logo-family,
    .logo-room {
        font-size: 4rem;
    }

    .tagline {
        font-size: 1.1rem;
        margin-bottom: 50px;
        padding: 0 20px;
        white-space: normal;
    }

    .social-icons {
        gap: 25px;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-info {
        font-size: 1rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .logo-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }

    .logo-complete {
        max-width: 280px;
    }

    .logo-family,
    .logo-room {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .tagline {
        font-size: 0.75rem;
        margin-bottom: 30px;
        padding: 0 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .social-contact {
        gap: 25px;
    }

    .social-icons {
        gap: 20px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-info {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .contact-info p {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 380px) {
    .tagline {
        font-size: 0.73rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 360px) {
    body {
        padding: 8px;
    }

    .logo-icon {
        width: 80px;
        height: 80px;
    }

    .logo-complete {
        max-width: 260px;
    }

    .logo-container {
        margin-bottom: 15px;
    }

    .logo-family,
    .logo-room {
        font-size: 2rem;
    }

    .tagline {
        font-size: 0.68rem;
        margin-bottom: 20px;
        padding: 0 5px;
        white-space: nowrap;
        overflow: visible;
    }

    .social-contact {
        gap: 20px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .contact-info {
        font-size: 0.75rem;
    }
}

/* Extra Small (Galaxy Z Fold cover screen) */
@media (max-width: 344px) {
    body {
        padding: 5px;
    }

    .container {
        padding: 10px 5px;
    }

    .logo-container {
        margin-bottom: 12px;
    }

    .logo-complete {
        max-width: 240px;
    }

    .tagline {
        font-size: 0.62rem;
        margin-bottom: 15px;
        padding: 0 3px;
        line-height: 1.3;
    }

    .social-contact {
        gap: 15px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .contact-info {
        font-size: 0.7rem;
    }
}

@media (max-height: 600px) {
    body {
        padding: 10px;
    }

    .logo-container {
        margin-bottom: 20px;
    }

    .logo-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .logo-complete {
        max-width: 300px;
    }

    .logo-family,
    .logo-room {
        font-size: 2rem;
    }

    .tagline {
        font-size: 0.9rem;
        margin-bottom: 20px;
        white-space: normal;
    }

    .social-contact {
        gap: 15px;
    }

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

/* High Resolution Displays */
@media (min-width: 1200px) {
    .container {
        max-width: 1000px;
    }

    .logo-icon {
        width: 200px;
        height: 200px;
    }

    .logo-complete {
        max-width: 700px;
    }

    .logo-family,
    .logo-room {
        font-size: 6rem;
    }

    .tagline {
        font-size: 1.5rem;
        margin-bottom: 70px;
        white-space: nowrap;
    }

    .social-link {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .contact-info {
        font-size: 1.2rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: var(--coral-pink);
    }

    .social-link {
        border: 2px solid var(--coral-pink);
    }

    .email-link {
        color: var(--coral-pink);
        text-decoration: underline;
    }
}
