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

:root {
    /* Colors */
    --primary-teal: #2D5A5A;
    --cream: #F5F5F0;
    --warm-white: #FDFDF8;
    --text-dark: #2C2C2C;
    --text-medium: #5A5A5A;
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-normal: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--cream) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

/* Animations - only applied after page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

body.loaded .content {
    animation: fadeInUp 0.8s ease-out;
}

body.loaded .logo-container {
    animation: fadeIn 0.8s ease-out 0.1s both;
}

body.loaded .tagline {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

body.loaded .sub-tagline {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

body.loaded .social-links {
    animation: fadeIn 0.8s ease-out 0.4s both;
}

body.loaded .footer {
    animation: fadeIn 0.8s ease-out 0.5s both;
}

/* Logo */
.logo-container {
    margin-bottom: 1.5rem;
}

.logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    transition: transform var(--transition-normal);
}

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

/* Tagline */
.tagline {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.sub-tagline {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 400;
    color: var(--text-medium);
    font-style: italic;
    margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin: 0 auto 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(45, 90, 90, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 90, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(45, 90, 90, 0.2);
}

.social-link:active {
    transform: translateY(-1px);
}

/* Social link hover colors */
.instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.instagram-link:hover .social-icon {
    color: white;
}

.facebook-link:hover {
    background: #1877F2;
    color: white;
}

.facebook-link:hover .social-icon {
    color: white;
}

.email-link:hover {
    background: var(--primary-teal);
    color: white;
}

.email-link:hover .social-icon {
    color: white;
}

/* Social Icons */
.social-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-teal);
    transition: color var(--transition-normal);
    flex-shrink: 0;
}

.social-text {
    font-weight: 600;
}

/* Footer */
.footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(45, 90, 90, 0.1);
}

.footer p {
    color: var(--text-medium);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .logo {
        max-width: 280px;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    .social-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .logo {
        max-width: 240px;
    }

    .social-links {
        flex-direction: column;
        gap: 0.875rem;
    }

    .social-link {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    .footer {
        margin-top: 1.5rem;
    }
}

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

.social-link:focus-visible {
    outline: 3px solid var(--primary-teal);
    outline-offset: 4px;
}

/* Print styles */
@media print {
    body {
        background: white;
    }
    
    .social-link {
        box-shadow: none;
        border: 1px solid var(--text-dark);
    }
}
