/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Color Palette based on Sala Architect Logo */
    --primary-color: #9d917e; /* Warna Taupe/Emas pudar */
    --secondary-color: #2c2c2c;
    --light-bg: #f9f9f9;
    --dark-bg: #1a1a1a;
    --text-muted: #a0a0a0;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--secondary-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 1.5rem 0;
    background: transparent;
}
.navbar.scrolled {
    background-color: var(--dark-bg);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand img {
    height: 50px;
    border-radius: 50%;
}
.nav-link {
    color: #fff !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-left: 20px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}
.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    /* Placeholder Background - Ganti dengan render arsitektur asli jika ada */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1486325212027-8081e485255e?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}
.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    .hero-title { font-size: 4.5rem; }
}

.btn-sala {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}
.btn-sala:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* Services */
.service-card {
    padding: 40px;
    border: 1px solid #eee;
    transition: all 0.3s;
    height: 100%;
    background: #fff;
}
.service-card:hover {
    background: var(--dark-bg);
    border-color: var(--dark-bg);
    transform: translateY(-5px);
}
.service-card:hover h4, 
.service-card:hover p {
    color: #fff;
}
.service-card:hover .service-icon {
    color: #fff;
}
.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s;
}

/* Team Section Styles */
.team-card {
    text-align: center;
    transition: transform 0.3s ease;
}
.team-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4; /* Rasio Portrait Presisi */
}
.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(20%);
}
.team-card:hover .team-img {
    transform: scale(1.05);
    filter: grayscale(0%);
}
.team-card:hover {
    transform: translateY(-5px);
}
/* Social Overlay */
.team-social {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    transition: bottom 0.3s ease;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.team-card:hover .team-social {
    bottom: 0;
}
.team-social a {
    color: var(--secondary-color);
    font-size: 1.1rem;
    transition: color 0.3s;
}
.team-social a:hover {
    color: var(--primary-color);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}
.portfolio-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 80px 0 30px;
}
.footer-logo {
    height: 60px;
    border-radius: 50%;
}

/* --- FLOATING SOCIAL MEDIA --- */

.floating-social {
    position: fixed;
    top: 50%;
    right: 0; /* Menempel di kanan */
    transform: translateY(-50%); /* Agar pas di tengah vertikal */
    z-index: 9999; /* Pastikan selalu di atas elemen lain */
    display: flex;
    flex-direction: column;
}

.social-item {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color); /* Warna Gelap */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Garis pemisah tipis */
}

/* Efek Hover: Melebar sedikit ke kiri dan ganti warna */
.social-item:hover {
    width: 65px; 
    background-color: var(--primary-color); /* Warna Emas/Taupe */
    color: #fff;
}

/* Khusus WhatsApp agar lebih mencolok (Opsional, kalau mau warna hijau WA) */
/* .social-item.whatsapp:hover { background-color: #25d366; } */

/* Tooltip Text (Muncul saat hover) */
.tooltip-text {
    position: absolute;
    right: 70px; /* Muncul di sebelah kiri icon */
    background-color: var(--secondary-color);
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Panah kecil pada tooltip */
.tooltip-text::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--secondary-color);
}

.social-item:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    right: 80px; /* Sedikit animasi geser */
}

/* Sembunyikan di Layar HP agar tidak menutupi konten */
@media (max-width: 768px) {
    .floating-social {
        display: none; 
    }
}