/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #000;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    pointer-events: auto;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 2rem;
    font-weight: 800;
    color: #E12B2B;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 400;
    color: #fff;
    letter-spacing: 6px;
    margin-top: 2px;
}

.header-contact {
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    transition: opacity 0.2s;
}

.header-contact:hover {
    opacity: 0.7;
}

/* === SWIPER SLIDER === */
.main-slider {
    width: 100%;
    height: 100vh;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 0 60px;
    padding-top: 80px;
    max-width: 65%;
}

/* === SLIDE TYPOGRAPHY === */
.slide-title {
    font-size: clamp(3.5rem, 7.5vw, 7rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.swiper-slide-active .slide-title {
    opacity: 1;
    transform: translateY(0);
}

.text-white { color: #ffffff; }
.text-red { color: #E12B2B; }

.slide-subtitle {
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 450px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.swiper-slide-active .slide-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* === CTA BUTTON === */
.slide-cta {
    display: inline-flex;
    align-items: center;
    background: rgba(240, 240, 240, 0.92);
    border-radius: 40px;
    padding: 12px 28px;
    gap: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s, background 0.3s;
}

.swiper-slide-active .slide-cta {
    opacity: 1;
    transform: translateY(0);
}

.slide-cta:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.03);
}

.cta-brand {
    font-size: 1.3rem;
    padding-right: 16px;
}

.cta-divider {
    width: 1px;
    height: 24px;
    background: #ccc;
}

.cta-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    padding-left: 16px;
}

/* === NAVIGATION ARROWS === */
.nav-prev, .nav-next {
    position: absolute;
    bottom: 40px;
    z-index: 50;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.3s, transform 0.2s;
    user-select: none;
}

.nav-prev {
    left: 60px;
}

.nav-next {
    right: 60px;
}

.nav-prev:hover, .nav-next:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.nav-prev span, .nav-next span {
    font-size: 1.8rem;
    color: #fff;
    line-height: 1;
}

/* === CUSTOM PAGINATION === */
.custom-pagination {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.pagination-current, .pagination-total {
    font-variant-numeric: tabular-nums;
    min-width: 24px;
    text-align: center;
}

.pagination-progress {
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.pagination-progress-bar {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 16.66%;
    transition: width 0.5s ease;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .site-header {
        padding: 24px 30px;
    }
    
    .slide-content {
        padding: 0 30px;
        padding-top: 80px;
        max-width: 80%;
    }
    
    .nav-prev { left: 30px; }
    .nav-next { right: 30px; }
    
    .pagination-progress {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 20px 24px;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 0.55rem;
        letter-spacing: 4px;
    }
    
    .header-contact {
        font-size: 0.9rem;
    }
    
    .slide-content {
        padding: 0 24px;
        padding-top: 80px;
        max-width: 100%;
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
    
    .nav-prev, .nav-next {
        width: 44px;
        height: 44px;
        bottom: 24px;
    }
    
    .nav-prev { left: 20px; }
    .nav-next { right: 20px; }
    
    .nav-prev span, .nav-next span {
        font-size: 1.4rem;
    }
    
    .custom-pagination {
        bottom: 32px;
    }
    
    .pagination-progress {
        width: 120px;
    }
}

/* === CONTACT PAGE === */
html:has(.page-contact),
html:has(.page-contact) body {
    overflow: visible;
    overflow-y: auto;
    height: auto;
}

.page-contact {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
    background: #ffffff;
    color: #000;
}

.page-contact .site-header {
    position: relative;
    background: #ffffff;
    padding: 24px 60px;
    border-bottom: none;
}

.page-contact .logo-main {
    color: #E12B2B;
}

.page-contact .logo-sub {
    color: #333;
}

.page-contact .header-contact {
    color: #000;
    font-weight: 500;
}

/* Map Section */
.map-section {
    width: 100%;
    height: 420px;
    background: #eee;
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%);
}

/* Map Address Overlay */
.map-address-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    padding: 16px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    max-width: 320px;
}

.map-address-text {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Contact Content Section */
.contact-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-area h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin-bottom: 28px;
}

.contact-info-area p {
    font-size: 1rem;
    color: #000;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-meta-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.contact-meta-value {
    font-size: 0.95rem;
    color: #333;
    margin-top: 4px;
}

/* Contact Form */
.contact-form-area .form-group {
    margin-bottom: 20px;
}

.contact-form-area label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
}

.contact-form-area input,
.contact-form-area textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd6e2;
    border-radius: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    background: #f5f8fa;
    transition: border-color 0.2s;
}

.contact-form-area input:focus,
.contact-form-area textarea:focus {
    border-color: #ff7a59;
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    display: inline-block;
    padding: 12px 36px;
    background: #ff7a59;
    color: #fff;
    border: 1px solid #ff7a59;
    border-radius: 4px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.btn-submit:hover {
    background: #e8603a;
    border-color: #e8603a;
    color: #fff;
}

/* Footer with curved divider */
.contact-footer-wrapper {
    position: relative;
    margin-top: 0;
}

.footer-curve {
    position: relative;
    height: 80px;
    background: #fff;
    overflow: hidden;
}

.footer-curve svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contact-footer {
    background: #111;
    padding: 60px 60px 40px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo .logo-main {
    font-size: 1.5rem;
    color: #E12B2B;
}

.footer-logo .logo-sub {
    color: #666;
    font-size: 0.6rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #555;
    margin: 0;
}

/* Scroll-to-top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    z-index: 100;
    transition: all 0.2s;
}

.scroll-top:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .page-contact .site-header {
        padding: 20px 24px;
    }
    
    .map-section {
        height: 300px;
    }
    
    .map-address-overlay {
        top: 12px;
        left: 12px;
        max-width: 250px;
        padding: 12px 14px;
    }
    
    .map-address-text {
        font-size: 0.75rem;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        padding: 40px 24px 60px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-footer {
        padding: 40px 24px 30px;
    }
}

