/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #191919;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #343a40;
    --border-color: #dee2e6;
    --success-bg: #d4edda;
    --success-text: #155724;
    --error-bg: #f8d7da;
    --error-text: #721c24;
    --header-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --footer-bg: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
}

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

body {
    font-family: 'Public Sans', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    padding: 0.5rem 0;

}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    text-align: center;
}

.logo {
    max-width: 100px;
    height: auto;
    display: inline-block;
}

.logo img {
    max-width: 100%;
    height: auto;
    border-radius: 0.625rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); /* ← Optional extra shadow */
}

.logo-text {
    color: var(--primary-color); 
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

/* Main Content */
.main-content {
    flex: 1;
    width: 100%;
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 1rem auto;
    padding: 1rem;
}

h1.main-title {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

h2 {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
}

/* Button Styles */
button, .btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary, button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover, button[type="submit"]:hover {
    background-color: #000;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-2px);
}

.btn-small {
    width: auto;
    max-width: 250px;
    margin: 1.25rem auto 0;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.alert.error {
    background-color: var(--error-bg);
    color: var(--error-text);
    border-color: #f5c6cb;
}

.alert.success {
    background-color: var(--success-bg);
    color: var(--success-text);
    border-color: #c3e6cb;
}

/* Search Styles */
.search-input-group {
    max-width: 300px;
    margin: 0 auto;
}

.search-button-group {
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
}

.search-result {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--border-color);
    gap: 0.5rem;
}

.search-result p {
    margin: 0;
}

.search-result .btn {
    margin-top: 1rem;
    align-self: stretch;
}

.center-link {
    text-align: center;
    margin-top: 1.5rem;
}

/* Footer Styles */
.footer {
    background: var(--footer-bg);
    color: white;
    padding: 1.875rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.support-text {
    margin-bottom: 1.25rem;
}

.support-text p {
    font-size: 1.125rem;
    margin-bottom: 0.9375rem;
    color: #ecf0f1;
}

.whatsapp-button {
    margin: 1.25rem 0;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--whatsapp-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 3.125rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
    font-size: 1.25rem;
}

.footer-info {
    margin-top: 1.5625rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-info p {
    margin: 0.3125rem 0;
    color: #bdc3c7;
    font-size: 0.875rem;
}

.copyright {
    font-size: 0.75rem !important;
    color: #95a5a6 !important;
    margin-top: 0.625rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .container {
        margin: 1rem auto;
        padding: 0.5rem;
    }
    
    h1.main-title {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .footer {
        padding: 1.5625rem 0;
    }
    
    .support-text p {
        font-size: 1rem;
    }
    
    .whatsapp-link {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .search-input-group,
    .search-button-group {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 120px;
    }
    
    .logo-text {
        font-size: 1.125rem;
    }
    
    .header {
        padding: 0.3rem 0;
    }
    
    h1.main-title {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .footer {
        padding: 1.25rem 0;
    }
    
    .support-text p {
        font-size: 0.9375rem;
    }
    
    .whatsapp-link {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    .footer-info p {
        font-size: 0.75rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }
}