/* Layout Fixes for UI Improvements */

/* Contact Section Layout Improvements */
.contact {
    padding: 4rem 0;
    background: var(--bg-darker);
}

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

/* Enhanced Contact Grid Balance */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Info Section Improvements */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    height: fit-content;
}

/* Contact Item Compact Design */
.contact-item {
    padding: 1rem;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.contact-details h4 {
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.contact-details p {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

/* Quick Contact Optimized */
.quick-contact {
    padding: 1rem;
    margin-bottom: 1.2rem;
}

.quick-contact h4 {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.quick-contact-buttons {
    gap: 0.5rem;
}

.quick-btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.7rem;
    min-height: 32px;
}

/* Working Hours Compact */
.working-hours {
    padding: 1rem;
}

.working-hours h4 {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.hours-item {
    font-size: 0.75rem;
    padding: 0.15rem 0;
}

.day {
    font-weight: 500;
}

.time {
    font-size: 0.7rem;
}

/* Form Section Optimization */
.contact-form-section {
    padding: 2rem;
    min-height: fit-content;
}

.form-header h3 {
    font-size: 1.2rem;
}

.form-header p {
    font-size: 0.8rem;
}

.contact-form {
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px 10px 40px;
    font-size: 0.85rem;
}

.form-group textarea {
    min-height: 100px;
    padding-left: 14px;
}

/* Footer Social Links - Remove Inline Styles */
.footer-social {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    justify-content: flex-start;
    align-items: center;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-normal) ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

.footer-social a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Navigation Improvements */
.nav-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Improved Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    position: fixed;
    top: 70px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-normal);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    z-index: 1000;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal) ease;
}

.breadcrumb.visible {
    opacity: 1;
    visibility: visible;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: var(--text-muted);
}

/* Enhanced Section Indicators */
.section-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid var(--bg-card);
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    position: relative;
}

.section-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.section-dot:hover {
    background: var(--primary-color);
}

.section-dot::after {
    content: attr(data-section);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-small);
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast) ease;
    margin-right: 0.5rem;
    border: 1px solid var(--border-color);
}

.section-dot:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mobile Section Indicators */
@media (max-width: 768px) {
    .section-indicator {
        display: none;
    }
    
    .breadcrumb {
        position: relative;
        top: 0;
        right: 0;
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
}
.footer-social {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
    justify-content: flex-start;
    align-items: center;
    max-width: 200px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border-radius: 6px;
}

.footer-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 170, 0.3);
}

/* Footer Content Spacing */
.footer-content {
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    font-size: 0.85rem;
}

.footer-contact p {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

/* Footer Bottom Spacing */
.footer-bottom {
    padding-top: 1.5rem;
    gap: 0.8rem;
}

.footer-terminal {
    font-size: 0.75rem;
}

.footer-links-bottom a {
    font-size: 0.75rem;
}

/* Responsive Improvements */
@media (max-width: 1200px) {
    .footer-social {
        gap: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 2rem;
    }
    
    .footer-social {
        gap: 0.9rem;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .quick-contact-buttons {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .quick-btn {
        padding: 0.6rem;
        font-size: 0.75rem;
    }
    
    /* Footer responsive improvements */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-brand {
        max-width: 100%;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
        gap: 1.2rem;
        margin-top: 1rem;
        max-width: 100%;
    }
    
    .footer-social a {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-form-section {
        padding: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
    }
    
    /* Mobile footer social improvements */
    .footer-social {
        justify-content: center !important;
        gap: 1rem;
        flex-wrap: wrap;
        max-width: 100%;
        margin: 1.2rem auto 0;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-brand p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
}

/* Additional improvements for visual balance */
.contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Footer Brand Social Media Layout */
.footer-brand {
    display: flex;
    flex-direction: column;
    max-width: 280px;
}

.footer-brand h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* Remove conflicting grid layout */

/* Ensure consistent spacing */
.section-header {
    margin-bottom: 2.5rem;
}

.section-title {
    margin-bottom: 0.8rem;
}

.section-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
}
