/*
Theme Name: Sentosa Lintas Samudra
Author: IT Dept
Description: Custom theme for PT Sentosa Lintas Samudra - Final Master (Light Theme & Fixed Grid)
Version: 2.0
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066CC;
    --ocean-blue: #00A8E8;
    --light-blue: #E6F3FF;
    --coral: #FF6B6B;
    --sunset-orange: #FF8E53;
    --white: #FFFFFF;
    --dark: #1A1A2E;
    --gray: #6B7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* ========================================= */
/* NAVIGATION & HEADER                       */
/* ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.logo {
    display: flex;
    flex-direction: row; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none;
}

.logo img {
    height: 50px; 
    width: auto;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    border-left: 2px solid #E5E7EB; 
    padding-left: 15px; 
}

.brand-text .pt-name {
    font-family: 'Montserrat', sans-serif; 
    font-size: 1.15rem;
    font-weight: 800; 
    background: linear-gradient(135deg, #002244 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.brand-text .company-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sunset-orange); 
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--ocean-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ocean-blue);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ========================================= */
/* HERO SECTION                              */
/* ========================================= */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 50%, #FFF5F0 100%);
    display: flex;
    align-items: center;
    padding: 6rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,168,232,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--coral), var(--sunset-orange));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-blue), var(--ocean-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--ocean-blue));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,102,204,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    bottom: 20%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 10%;
    right: -5%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card .icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--ocean-blue), var(--primary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* ========================================= */
/* ABOUT SECTION                             */
/* ========================================= */
.about {
    padding: 6rem 5%;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--coral), var(--sunset-orange));
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255,107,107,0.3);
}

.experience-badge .number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-blue);
    border-radius: 15px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========================================= */
/* VISION & MISSION SECTION                  */
/* ========================================= */
.vision-mission {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary-blue), var(--ocean-blue));
    color: white;
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vm-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}

.vm-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.vm-card p, .vm-card ul {
    line-height: 1.8;
    opacity: 0.95;
}

.vm-card ul {
    list-style: none;
    padding: 0;
}

.vm-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.vm-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sunset-orange);
    font-weight: bold;
}

/* ========================================= */
/* SERVICES SECTION                          */
/* ========================================= */
.services {
    padding: 6rem 5%;
    background: var(--light-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--ocean-blue));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--light-blue), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ========================================= */
/* HISTORY TIMELINE                          */
/* ========================================= */
.history {
    padding: 6rem 5%;
    background: white;
}

.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--ocean-blue));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 400px;
    margin: 0 2rem;
    position: relative;
    transition: transform 0.3s;
}

.timeline-content:hover {
    transform: scale(1.05);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-blue);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -62px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -62px;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--coral), var(--sunset-orange));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.timeline-content h4 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.timeline-content p:last-child {
    margin-bottom: 0;
}

/* ========================================= */
/* VALUES SECTION                            */
/* ========================================= */
.values {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #FFF5F0, white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--ocean-blue);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-blue), white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.value-card h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================= */
/* PARTNERS SECTION                          */
/* ========================================= */
.partners {
    padding: 6rem 5%;
    background: #F8F9FA; 
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    background: white;
    padding: 1.5rem; 
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    height: auto; 
    min-height: 160px; 
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.partner-logo .logo-wrap {
    height: 60px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem; 
    width: 100%;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%; 
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
    object-fit: contain; 
}

.partner-logo .partner-name {
    font-size: 0.75rem; 
    color: var(--gray); 
    font-weight: 600; 
    line-height: 1.2;
    margin-top: auto; 
    display: block;
    width: 100%;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-logo:hover .partner-name {
    color: var(--dark); 
}

/* ========================================= */
/* CONTACT SECTION                           */
/* ========================================= */
.contact {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--dark), #16213E);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,168,232,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info > p {
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-item div strong {
    display: block;
    margin-bottom: 0.2rem;
}

.contact-item div span {
    opacity: 0.8;
    font-size: 0.95rem;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-family: inherit;
    transition: background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255,255,255,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

/* ========================================= */
/* FOOTER                                    */
/* ========================================= */
footer {
    background: #0F0F23;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ocean-blue);
}

.footer-text {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ========================================= */
/* ANIMATIONS                                */
/* ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ========================================= */
/* HAMBURGER MENU STYLING                    */
/* ========================================= */
.hamburger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.hamburger-bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger-menu.toggle .hamburger-bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}
.hamburger-menu.toggle .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.toggle .hamburger-bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* ========================================= */
/* MOBILE & TABLET RESPONSIVE                */
/* ========================================= */
@media (max-width: 1024px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: -100%; 
        width: 250px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98); 
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin-bottom: 2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem; 
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center; 
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 3rem;
    }

    .floating-card {
        display: none; 
    }

    .about-grid,
    .vm-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 80px;
        padding-right: 0;
    }

    .timeline-content::before,
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -52px;
        right: auto;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Smartphone Layar Kecil */
@media (max-width: 480px) {
    .brand-text .pt-name {
        font-size: 0.95rem; 
    }
    .brand-text .company-tagline {
        font-size: 0.65rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .vm-card {
        padding: 2rem;
    }
}