/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL format */
    --background: 0 0% 0%;
    --foreground: 0 0% 98%;
    --primary: 18 100% 58%;
    --primary-foreground: 0 0% 0%;
    --muted: 0 0% 15%;
    --muted-foreground: 0 0% 64%;
    --border: 0 0% 20%;
    --input: 0 0% 20%;
    --accent: 45 100% 51%;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(18 100% 58%), hsl(45 100% 51%));
    --gradient-subtle: linear-gradient(180deg, hsl(0 0% 0%), hsl(0 0% 5%));
    
    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(18 100% 58% / 0.3);
    --shadow-glow: 0 0 40px hsl(18 100% 58% / 0.4);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: hsl(var(--background) / 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-link {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.nav-link:hover {
    color: hsl(var(--primary));
}

/* Contact Section */
.contact-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Form */
.contact-form-wrapper {
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    color: hsl(var(--foreground));
    font-size: 1rem;
    transition: var(--transition-smooth);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: hsl(var(--muted-foreground));
}

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

/* Success Message */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    gap: 1rem;
}

.form-success svg {
    color: hsl(var(--primary));
    width: 64px;
    height: 64px;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.form-success p {
    color: hsl(var(--muted-foreground));
}

/* Contact Information */
.contact-info {
    position: sticky;
    top: 6rem;
}

.contact-info-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info-subtitle {
    color: hsl(var(--muted-foreground));
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-detail {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: hsl(var(--primary));
}

.contact-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.25rem;
}

.contact-value {
    color: hsl(var(--foreground));
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
}

a.contact-value:hover {
    color: hsl(var(--primary));
}

/* Contact CTA Box */
.contact-cta {
    background: hsl(var(--muted));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.contact-cta h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-cta p {
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: none;
    font-family: inherit;
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: hsl(var(--primary-foreground));
    box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}

.btn-outline:hover {
    background: hsl(var(--muted));
    border-color: hsl(var(--primary));
}

.btn-icon,
.btn-icon-left {
    width: 20px;
    height: 20px;
}


/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        position: static;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 6rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
}

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

.contact-form-wrapper,
.contact-info {
    animation: fadeIn 0.6s ease-out;
}

.contact-info {
    animation-delay: 0.2s;
}