* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
}

/* NAVBAR */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
    padding: 20px 200px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    gap: 24px;
}

nav .logo {
    color: #fff;
    font-size: 1.25rem;
    margin-right: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Perbesar logo secara visual tanpa mengubah tinggi navbar */
nav .logo img {
    /* tetap pakai height asli agar layout navbar tidak berubah */
    height: 600px; 
    width: auto;
    max-width: 1660px;
    object-fit: contain;
    display: block;

    /* scale untuk terlihat lebih besar tapi tidak mengubah layout */
    transform: scale(1.15);
    transform-origin: left center;
    transition: transform 180ms ease;
}

/* sesuaikan skala di layar kecil agar tidak menumpuk */
@media (max-width: 900px) {
    nav .logo img {
        transform: scale(1.05);
    }
}

/* opsional: kembalikan ukuran saat hover (jika mau efek) */
nav .logo img:hover {
    transform: scale(1.18);
}

/* Desktop: sedikit lebih besar */
@media (min-width: 901px) {
    nav .logo img {
        height: 48px;
        max-width: 180px;
    }
}

/* Mobile: perkecil agar muat di layar sempit */
@media (max-width: 900px) {
    nav .logo img {
        height: 36px;
        max-width: 140px;
    }
}

/* Very small screens */
@media (max-width: 420px) {
    nav .logo img {
        height: 30px;
        max-width: 120px;
    }
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    display: inline-block;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f39c12;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #f39c12;
}

/* HERO */
.hero {
    margin-top: 80px;
    min-height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: left;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    z-index: 1;
    position: relative;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero h1 {
    font-size: 56px;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
    animation: fadeInDown 0.8s ease;
}

.hero p {
    font-size: 18px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease;
    margin: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease 0.2s both;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    border: none;
    cursor: pointer;
    width: fit-content;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

.hero-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    position: relative;
}

.hero-img-main {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInRight 0.8s ease;
}

.hero-img-top {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInRight 0.8s ease 0.1s both;
}

.hero-img-mid {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-img-bottom {
    display: none;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    padding: 60px 50px;
    background: white;
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section > * {
    position: relative;
    z-index: 1;
}

.section h2 {
    margin-bottom: 15px;
    font-size: 40px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.section > p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* ABOUT SECTION */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
    margin-top: 40px;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-subtitle {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding-bottom: 15px;
    border-bottom: 3px solid #2c3e50;
    margin: 0;
}

.about-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-item h4 {
    font-size: 22px;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f39c12;
    display: inline-block;
}

.about-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

.about-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 15px;
    width: 100%;
}

.about-img-1 {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-img-2 {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-img-3 {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-img-4 {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-img-5 {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.about-img-6 {
    display: none;
}

.about-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.3);
}

/* GALERI GRID */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.galeri-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    border: 2px solid transparent;
}

.galeri-grid img:hover {
    transform: scale(1.1) rotate(1deg);
    box-shadow: 0 12px 30px rgba(243, 156, 18, 0.3);
    border-color: #f39c12;
}

/* IDE DESAIN */
.ide-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* <- ini membuat baris pendek (mis. 2 item) berada di tengah */
    gap: 28px;
    align-items: flex-start;
    padding: 12px 8px;
    box-sizing: border-box;
}

.ide-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    flex: 0 0 30%;      /* tiga kartu per baris pada layar besar */
    max-width: 340px;
    box-sizing: border-box;
}

.ide-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.ide-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.ide-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ide-card:hover .ide-card-image img {
    transform: scale(1.05);
}

.ide-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.ide-card-content h3 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
}

.ide-card-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    flex-grow: 1;
}

.ide-card-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.btn-view-interior {
    flex: 1;
    padding: 10px 16px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-view-interior:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.btn-like {
    width: 40px;
    height: 40px;
    padding: 0;
    background: #f5f5f5;
    color: #999;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-like:hover {
    background: #ffecec;
    color: #e74c3c;
    transform: scale(1.1);
}

/* POPUP MODAL */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 900px;
    width: 100%;
    padding: 0;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 30px 40px 20px 40px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.modal-content h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.modal-body {
    padding: 30px 40px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.modal-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.modal-content img:hover {
    transform: scale(1.02);
}

.modal-description {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #f39c12;
}

.modal-description h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.modal-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}
.close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 32px;
    color: #999;
    transition: color 0.3s ease;
    font-weight: bold;
}

.close:hover {
    color: #f39c12;
}

/* CONTACT SECTION */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.contact-info {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 30px;
    border-radius: 12px;
    color: white;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #fff;
}

.info-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-of-type {
    border-bottom: none;
}

.info-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #f39c12;
}

.info-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: #f39c12;
    color: #2c3e50;
    border-color: #f39c12;
}

footer {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
    color: white;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
        gap: 0;
    }

    nav .logo img {
        height: 32px;
        max-width: 120px;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
    }

    .hamburger-line {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(90deg, #2c3e50 0%, #34495e 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
        padding: 50px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    nav ul[data-visible="true"] {
        transform: translateX(0);
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    nav ul li a:hover {
        background: rgba(243, 156, 18, 0.1);
        color: #f39c12;
    }

    .hero {
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .hero-img-main {
        grid-column: 1;
        grid-row: 1;
        height: 300px;
    }

    .hero-img-top {
        display: none;
    }

    .hero-img-mid {
        display: none;
    }

    .section {
        padding: 40px 20px;
        width: 95%;
    }

    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ide-container {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .modal-content {
        padding: 25px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .about-img-1,
    .about-img-2,
    .about-img-3,
    .about-img-4,
    .about-img-5 {
        grid-column: 1 !important;
        grid-row: auto !important;
        height: 200px;
    }
}

@media (max-width: 700px) {
    nav {
        padding: 12px 16px;
    }
    nav ul {
        gap: 25px;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    nav ul {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        flex-direction: row !important;
        gap: 20px !important;
        padding: 0 !important;
        transform: none !important;
        box-shadow: none !important;
    }

    nav ul li {
        width: auto !important;
        text-align: left !important;
    }

    nav ul li a {
        padding: 8px 12px !important;
        font-size: 16px !important;
        border-radius: 0 !important;
    }
}
