/* CSS Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables */
:root {
    --color-primary: #910E11;
    --color-secondary: #FFF5F0;
    --color-accent: #3A6842;
    --color-white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    background-color: var(--color-secondary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 16px;
}

.container {
    max-width: 448px;
    width: 100%;
    padding: 16px 24px;
}

/* Profile Header */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.5s ease-out forwards;
}

.profile-image {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    border: 4px solid var(--color-white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    object-fit: cover;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.4s ease-out 0.1s forwards;
}

.profile-title {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.2s forwards;
}

.profile-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-accent);
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.3s forwards;
}

/* Buttons Section */
.buttons-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 64px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    transform: translateY(10px);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button.primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

/* Button animations with staggered delays */
.buttons-section .cta-button:nth-child(1) { 
    animation: fadeInUp 0.3s ease-out 0.35s forwards; 
}
.buttons-section .cta-button:nth-child(2) { 
    animation: fadeInUp 0.3s ease-out 0.4s forwards; 
}
.buttons-section .cta-button:nth-child(3) { 
    animation: fadeInUp 0.3s ease-out 0.45s forwards; 
}

.secondary-section .cta-button {
    animation: fadeInUp 0.3s ease-out 0.55s forwards;
}

.cta-button i {
    font-size: 1.25rem;
}

/* Divider */
.divider {
    display: flex;
    justify-content: center;
    margin: 16px 0;
    opacity: 0;
    transform: scaleX(0);
    animation: scaleInX 0.4s ease-out 0.5s forwards;
}

.divider-line {
    width: 50%;
    height: 1px;
    background-color: var(--color-primary);
    opacity: 0.2;
}

/* Secondary Button Section */
.secondary-section {
    padding-bottom: 12px;
}

/* Location Card */
.location-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin: 12px 0;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.4s ease-out 0.6s forwards;
}

.location-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.location-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.location-icon {
    color: var(--color-primary);
    font-size: 1.25rem;
}

.location-address {
    font-size: 0.875rem;
    color: var(--color-accent);
    line-height: 1.6;
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.location-address:hover {
    text-decoration: underline;
}

.map-container {
    margin-top: 16px;
    border-radius: 8px;
    overflow: hidden;
    height: 192px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    opacity: 0;
    animation: fadeIn 0.4s ease-out 0.7s forwards;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-primary);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: scale(0);
}

.social-button:nth-child(1) { 
    animation: scaleIn 0.3s ease-out 0.8s forwards; 
}
.social-button:nth-child(2) { 
    animation: scaleIn 0.3s ease-out 0.9s forwards; 
}

.social-button:hover {
    background-color: rgba(145, 14, 17, 0.1);
    transform: scale(1.1);
}

.social-button i {
    font-size: 1.5rem;
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleInX {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}
