/* CSS Reset & Variables */
:root {
    --primary: #0a2342; /* Royal Blue */
    --secondary: #c5a059; /* Gold */
    --secondary-hover: #b08d4b;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --off-white: #f9f9f9;
    --bg-light: #f4f6f8;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.text-gold {
    color: var(--secondary);
}

.text-center {
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.btn-slide {
    display: inline-block;
    padding: 15px 35px;
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
}

.btn-slide:hover::before {
    width: 100%;
}

.btn-outline {
    display: inline-block;
    padding: 14px 34px;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    border-radius: 2px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-text {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-text:hover {
    color: var(--secondary);
    gap: 10px;
}

.btn-white {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border-radius: 50px;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1); /* Subtle zoom for parallax later or static nice crop */
    /* animation: zoomIn 20s infinite alternate; */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 35, 66, 0.85) 0%, rgba(10, 35, 66, 0.4) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.7s;
}

.hero-buttons {
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.9s;
    display: flex;
    gap: 20px;
}

/* Stats */
.stats {
    background: var(--white);
    padding: 40px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 5px;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 30px;
    box-shadow: var(--shadow);
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    max-width: 200px;
}

.floating-badge span {
    color: var(--secondary);
    font-weight: 700;
    display: block;
}

.section-label {
    color: var(--secondary);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(197, 160, 89, 0.2);
    color: var(--secondary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-style: normal;
}

/* Services */
.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 4px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA */
.cta {
    background: var(--primary);
    color: var(--white);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.cta-content p {
    opacity: 0.8;
    font-size: 1.1rem;
}

/* Contact / Footer */
.contact {
    background: #05162b;
    color: rgba(255,255,255,0.7);
    padding-bottom: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-logo {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* Footer Contact Items - Icon dan Teks sebaris */
.footer-contact .contact-item {
    margin-bottom: 15px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: baseline !important;
    gap: 10px !important;
}

.footer-contact .contact-item .contact-icon {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    display: inline !important;
    font-size: 1em !important;
    line-height: inherit !important;
    vertical-align: baseline !important;
}

.footer-contact .contact-item .contact-text {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.line {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px;
    transition: var(--transition);
}

/* Mobile Navigation Menu */
@media (max-width: 900px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
    }

    .nav-links a.btn-primary {
        margin-top: 20px;
        text-align: center;
    }

    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

@media (min-width: 901px) {
    .menu-overlay {
        display: none;
    }
}

/* Hamburger animation when toggled */
.hamburger.toggle .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.toggle .line:nth-child(2) {
    opacity: 0;
}

.hamburger.toggle .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-grid, .cta-container, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .cta-container {
        text-align: center;
    }

    .img-wrapper {
        margin-bottom: 40px;
    }

    .floating-badge {
        right: 0;
        padding: 20px;
    }

    .footer-contact p {
        font-size: 0.9rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn-slide,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }

    .stats {
        margin-top: -40px;
        padding: 30px 0;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-label {
        font-size: 0.8rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .btn-white {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .footer-grid {
        gap: 30px;
        padding-bottom: 30px;
    }

    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-contact .contact-item .contact-text {
        font-size: 0.85rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 400px) {
    .container {
        width: 92%;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .brand-logo {
        height: 32px;
    }

    .brand {
        gap: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .floating-badge {
        padding: 15px;
        font-size: 1.2rem;
        bottom: -10px;
    }

    .stat-item h3 {
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-item {
        height: 250px;
    }

    .portfolio-overlay {
        padding: 20px;
    }

    .portfolio-overlay h4 {
        font-size: 1.1rem;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    height: 300px; /* Fixed height for uniformity */
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

