/* ---------- reset ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ---------- CSS variables ---------- */
:root {
    --color-bg:        #f5f2ee;
    --color-white:     #ffffff;
    --color-dark:      #1a1a1a;
    --color-mid:       #555555;
    --color-light:     #888888;
    --color-border:    #e0dbd4;
    --color-card:      #f0ece7;
    --color-accent:    #2a2a2a;
    --color-header:    #e7dfd4;

    --font-display:    'Playfair Display', serif;
    --font-body:       'Lato', sans-serif;

    --radius-sm:       8px;
    --radius-md:       12px;
    --radius-lg:       16px;

    --shadow-sm:       0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md:       0 4px 20px rgba(0, 0, 0, 0.10);

    --transition:      0.25s ease;

    --container-pad:   40px;
    --header-height:   64px;
}

/* ---------- base ---------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ---------- header ---------- */
#main-header {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-height);
    background-color: var(--color-header);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-pad);
    transition: box-shadow var(--transition);
}

#main-header.scrolled {
    box-shadow: var(--shadow-sm);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 140px;
    width: auto;
    display: block;
    object-fit: contain;
    position: relative;
    top: 8px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
}

/* Nav */
nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-mid);
    letter-spacing: 0.02em;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-dark);
    border-bottom-color: var(--color-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* nav for mobilee */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 20px var(--container-pad);
    z-index: 199;
    flex-direction: column;
    gap: 18px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-mid);
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
    transition: color var(--transition);
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--color-dark); }

/* ---------- buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid var(--color-dark);
    transition: background-color var(--transition), color var(--transition), transform var(--transition);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--color-dark);
    padding: 11px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid var(--color-dark);
    transition: background-color var(--transition), color var(--transition);
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* ---------- section heading ---------- */
.section-heading {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 28px;
}

html {
    scroll-behavior: smooth;
}

/* ---------- Footer parrtttt okkkk---------- */


footer {
    background-color: #E7E2D8; 
    padding: 60px 5% 20px 5%;
    color: #1A1A1A;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px; 
    flex-wrap: wrap; 
}

.footer-col {
    display: flex;
    flex-direction: column;
}


.footer-left {
    flex: 1;
    min-width: 220px;
}

.footer-center {
    flex: 1.2;
    min-width: 280px;
}

.footer-right {
    flex: 1.5;
    min-width: 320px; 
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    color: #4A4A4A;
}

.footer-divider {
    width: 40px;
    height: 2px;
    background-color: #9C7A5D; 
    margin: 20px 0;
}

/* --- left column socialsss --- */
.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1A1A1A;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-item:hover {
    opacity: 0.6;
}

.social-icon {
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

/* --- left column socialsss --- */

.social-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 0.95rem;
    font-weight: 600;

    color: #1A1A1A;

    text-decoration: none;

    transition: opacity 0.3s ease;
}

.social-item:hover {
    opacity: 0.6;
}

.social-icon {
    width: 20px;
    height: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.2rem;
}

/* SVG SOCIAL ICON */
.social-icon-img {
    width: 18px;
    height: 18px;

    object-fit: contain;

    flex-shrink: 0;
}

.social-icon-svg {
    width: 18px;
    height: 18px;

    flex-shrink: 0;

    color: #1A1A1A;

    position: relative;
    top: 1px;
}

/* ---  --- */
.footer-center h3 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1A1A1A;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    color: #333333;
}

.contact-icon {
    width: 18px;
    height: 18px;
}

/* --- Kolom Kanan: Brand (Teks Manual) --- */
.footer-right h2 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #5C4A3D; /* old money stylee awwww */
    margin-bottom: 5px; 
}

.footer-right p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #333333;
    max-width: 95%; 
}

/* --- copyright parttttt --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.1); 
    font-size: 0.85rem;
    color: #1A1A1A;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal a {
    color: #1A1A1A;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-legal a:hover {
    opacity: 0.6;
}

/* --- this is for mobile ok ok ok --- */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 50px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}