@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #004a99;
    --primary-light: #0066cc;
    --secondary: #0f172a;
    --accent: #ff5f00;
    --bg: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Header & Nav */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1300px;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

header.scrolled {
    top: 10px;
    background: var(--white);
    box-shadow: var(--shadow);
    width: 90%;
}

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

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px -10px rgba(0, 74, 153, 0.5);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 30px -10px rgba(0, 74, 153, 0.4);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-4px);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.7)), url('assets/images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    padding: 150px 0;
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 500;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.service-showcase {
    display: flex;
    align-items: center;
    gap: 80px;
}

.service-showcase.reverse {
    flex-direction: row-reverse;
}

.service-img {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-lg);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-showcase:hover .service-img img {
    transform: scale(1.05);
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-number {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.5;
    letter-spacing: 2px;
}

.service-info h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
}

.service-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.service-link {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.service-link:hover {
    transform: translateX(10px);
}

@media (max-width: 992px) {
    .service-showcase, .service-showcase.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .service-img {
        height: 350px;
        width: 100%;
    }
}

/* Gallery Section */
.gallery {
    padding: 150px 0;
    background-color: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 60px;
    background: var(--bg);
    padding: 0.8rem;
    border-radius: 50px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: none;
    background: transparent;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.gallery-container {
    position: relative;
    padding: 0 50px;
}

.gallery-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 40px 0;
    scrollbar-width: none;
}

.gallery-wrapper::-webkit-scrollbar {
    display: none;
}

.gallery-grid {
    display: flex;
    gap: 2rem;
    width: max-content;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 350px;
    aspect-ratio: 4/5;
    background: var(--bg);
    flex-shrink: 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.slider-btn {
    background: var(--white);
    color: var(--secondary);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 150px 0;
}

.contact-card {
    background: var(--secondary);
    background-image: radial-gradient(circle at top right, rgba(0, 74, 153, 0.3), transparent);
    border-radius: var(--radius-lg);
    padding: 6rem 4rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.contact-card h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.contact-card p {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.contact-btn {
    background: var(--white);
    color: var(--secondary);
    text-decoration: none;
    padding: 1.5rem 3.5rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.contact-btn.alt {
    background: var(--primary);
    color: var(--white);
}

.contact-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    padding: 50px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: var(--white);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .contact-card { padding: 2rem; }
    .contact-btn { width: 100%; justify-content: center; }
}

.floating-wa {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #25d366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-wa:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.5rem;
    }
}

/* Showcase Reveal Extensions */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition);
}

.reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Language Switcher */
.lang-switcher {
    list-style: none;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary);
    color: var(--white);
}
