/* Base Styles */
:root {
    /* Fonts */
    --font-body: 'Nunito', sans-serif;
    --font-serif: 'DM Serif Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.5;
    font-weight: 400;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Typography */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

h1, h2 {
    font-family: var(--font-serif);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.875rem;
}

/* Buttons */
.primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.primary-button {
    background: var(--primary);
    color: var(--light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 158, 188, 0.15);
}

.secondary-button {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--light);
    transition: all 0.3s ease;
    color: var(--dark);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-light);
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background-color: var(--success-light);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.alert-warning {
    background-color: rgba(255, 165, 0, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.alert-error {
    background-color: var(--error-light);
    color: var(--error);
    border: 1px solid var(--error-border);
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: var(--info);
    border: 1px solid var(--info);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
    padding: 2rem;
}

.modal-content {
    background: var(--light);
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--dark);
}

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--dark);
}

.modal-body {
    padding: 2rem;
    color: var(--dark);
}

.modal.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .modal {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 1rem auto;
    }
    
    .modal-header h2 {
        font-size: 1.75rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

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

/* Footer Styles */
footer {
    margin-top: auto;
}

.footer-dark {
    background: var(--primary);
    color: var(--light);
    padding: 2rem 0;
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    height: 24px;
    width: auto;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .footer-simple {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .footer-simple {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions button {
    min-width: 120px;
} 