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

:root {
    --primary-yellow: #FFD600;
    --secondary-black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --bg-gray: #E8E8E8;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 26px;
    font-weight: 800;
    color: var(--secondary-black);
    letter-spacing: -0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-brand .logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active {
    color: var(--secondary-black);
    font-weight: 700;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Contact Hero Section */
.contact-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #E8EEF2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 214, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 20s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-50px, 50px);
    }
}

.contact-hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hero p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
}

/* Contact Content Section */
.contact-content {
    padding: 100px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

/* Contact Info */
.contact-info {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-info.animated {
    opacity: 1;
    transform: translateX(0);
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-yellow);
}

.contact-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 50px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.4s ease;
}

.info-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(10px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary-black);
    transition: all 0.4s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

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

/* Contact Form */
.contact-form-wrapper {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-form-wrapper.animated {
    opacity: 1;
    transform: translateX(0);
}

.contact-form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 4px rgba(255, 214, 0, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: var(--secondary-black);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    background: var(--primary-yellow);
    color: var(--secondary-black);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 214, 0, 0.4);
}

.submit-btn svg {
    transition: transform 0.4s ease;
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

/* Map Section */
.map-section {
    height: 500px;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.map-overlay {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.map-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.map-overlay p {
    font-size: 16px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-menu li {
        padding: 15px 40px;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .contact-hero {
        padding: 140px 0 60px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-form {
        padding: 30px;
    }

    .map-section {
        height: 400px;
    }

    .map-overlay {
        padding: 20px 30px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .info-item {
        flex-direction: column;
    }
}

/* Footer */
.footer {
    background: var(--secondary-black, #000000);
    color: var(--white, #ffffff);
    padding: 80px 0 40px;
}

.footer .container {
    max-width: 1200px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-company-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-yellow, #FFD600);
}

.footer-info p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-yellow, #FFD600);
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white, #ffffff);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-yellow, #FFD600);
    color: var(--secondary-black, #000000);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-info p {
        font-size: 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social {
        justify-content: flex-start;
    }
}
