/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --purple-primary: #6b3f80;
    --purple-overlay: rgba(107, 63, 128, 0.74);
    --dark-card: #3d3d3d;
    --dark-card-secondary: #4a4a4a;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #b0b0b0;
    --gray-bg: #d4d4d4;
    --success-green: #10b981;
    --error-red: #ef4444;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-white);
    background-color: #000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* ============================================
   Header
   ============================================ */
.header {
    background: #ffffff;
    padding: 20px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 96px;
    width: auto;
}

.header-phone {
    text-align: right;
}

.phone-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.phone-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(var(--purple-overlay), var(--purple-overlay)), 
                url('../images/pattern-bg.jpg') center/cover;
    background-color: var(--purple-primary);
    padding: 60px 24px 80px;
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--dark-card);
    border-radius: 12px;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-white);
}

.hero-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--dark-card-secondary);
    color: var(--text-white);
    border: 1px solid #666;
}

.btn-primary:hover {
    background: #555;
    opacity: 1;
}

.btn-secondary {
    background: var(--dark-card-secondary);
    color: var(--text-white);
    border: 1px solid #666;
}

.btn-secondary:hover {
    background: #555;
    opacity: 1;
}

.btn-submit {
    background: var(--purple-primary);
    color: var(--text-white);
    padding: 14px 32px;
    font-size: 15px;
}

.btn-submit:hover {
    background: #7d4a94;
    opacity: 1;
}

/* ============================================
   Contact Info Section
   ============================================ */
.contact-info {
    background: var(--gray-bg);
    padding: 60px 24px;
}

.contact-info-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-item {
    text-align: center;
    color: #333;
}

.contact-icon {
    margin-bottom: 16px;
    color: #333;
}

.contact-item h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.contact-item a {
    font-size: 16px;
    color: #555;
}

.contact-item a:hover {
    color: var(--purple-primary);
}

/* ============================================
   Contact Form Section
   ============================================ */
.contact-section {
    background: linear-gradient(var(--purple-overlay), var(--purple-overlay)), 
                url('../images/pattern-bg.jpg') center/cover;
    background-color: var(--purple-primary);
    padding: 80px 24px;
    display: flex;
    justify-content: center;
}

.contact-card {
    background: var(--dark-card);
    border-radius: 12px;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.contact-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.contact-card-form {
    color: var(--text-white);
}

.form-subtitle {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.contact-card-form h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-card-form > p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ============================================
   Form Styles
   ============================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input,
.form-group textarea {
    background: var(--text-white);
    border: none;
    border-radius: 4px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: #333;
    transition: box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 63, 128, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.privacy-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--text-light);
    margin: 8px 0;
}

.privacy-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text-muted);
}

.privacy-notice strong {
    color: var(--text-white);
}

/* ============================================
   Alerts
   ============================================ */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success-green);
    color: #a7f3d0;
}

.alert-success svg {
    color: var(--success-green);
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--error-red);
    color: #fecaca;
}

.alert-error svg {
    color: var(--error-red);
}

.alert p {
    margin: 0;
}

.alert p + p {
    margin-top: 4px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #1a1a1a;
    padding: 24px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-credit {
    color: #888;
}

.footer-credit a {
    color: var(--purple-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: #7d4a94;
    text-decoration: underline;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .header-phone {
        text-align: center;
    }
    
    .hero-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-info-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
    
    .contact-card-image {
        order: -1;
    }
    
    .contact-card-form h2 {
        font-size: 28px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 16px 60px;
    }
    
    .hero-card,
    .contact-card {
        padding: 24px;
    }
    
    .hero-content h1,
    .contact-card-form h2 {
        font-size: 24px;
    }
    
    .phone-number {
        font-size: 20px;
    }
}
