/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: radial-gradient(circle at center, #a71c20 0%, #25256b 100%);
    min-height: 100vh;
    padding: 20px 20px 20px 20px;
    background-attachment: fixed;
    background-size: cover;
}

.container {
    max-width: 400px;
    margin: 25px auto 80px auto;
    background: white;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4), 0 25px 50px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #a71c20 0%, #25256b 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    
    transition: transform 0.3s ease;
    object-fit: contain;
    background: white;
    padding: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 10px 30px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo:hover {
    transform: scale(1.05);
}

.name-section {
    margin-top: 15px;
}

.name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ecf0f1;
    margin-bottom: 5px;
}

.company {
    font-size: 1.4rem;
    color: #bdc3c7;
    font-weight: 400;
}

/* Main Content */
.main-content {
    padding: 30px 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: inset 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a71c20 0%, #25256b 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card-icon i {
    color: white;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #a71c20;
}

.address {
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.action-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.action-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.action-btn-whatsapp i {
    font-size: 2.1rem;
    transform: translateX(1px);
}

.action-btn-contact {
    background: linear-gradient(135deg, #25256b 0%, #a71c20 100%);
    position: relative;
}

.action-btn-contact i {
    transform: translateX(2px);
}

.action-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.action-btn-email {
    background: linear-gradient(135deg, #a71c20 0%, #25256b 100%);
}

.action-btn-call {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.action-btn-contact {
    background: linear-gradient(135deg, #25256b 0%, #a71c20 100%);
}

/* Mobile adjustments for action buttons */
@media (max-width: 768px) {
    .action-buttons {
        gap: 35px;
        padding: 0 15px;
    }
    
    .action-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    body {
        padding: 20px 15px 0 15px;
    }
    
    .container {
        margin: 5px auto 20px auto;
    }
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.footer p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 35px;
    }
    
    .header {
        padding: 25px 15px;
    }
    
    .name {
        font-size: 1.9rem;
    }
    
    .main-content {
        padding: 25px 15px;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .action-buttons {
        flex-direction: row;
        gap: 30px;
    }
    
    .btn {
        padding: 12px 20px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .container {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .contact-card {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .contact-card:hover {
        background: #3a3a3a;
    }
    
    .contact-link {
        color: #ffffff;
    }
    
    .address {
        color: #ffffff;
    }
    
    .btn-secondary {
        background: #2d2d2d;
        color: #ffffff;
        border-color: #404040;
    }
    
    .btn-secondary:hover {
        background: #3a3a3a;
    }
    
    .footer {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .footer p {
        color: #b0b0b0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.contact-link:focus,
.btn:focus {
    outline: 2px solid #a71c20;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .container {
        box-shadow: none;
        border-radius: 0;
    }
    
    .action-buttons {
        display: none;
    }
}
