:root {
    --main-color: #1a1a1a;
    --accent-color: #d4af37;
    --bg-color: #f5f5f5;
    --overlay: rgba(0, 0, 0, 0.7);
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

main {
    padding-top: 0;
}

/* --- Header --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    height: 10vh;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

header h1 {
    font-size: 1.2rem;
    margin: 0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2vh;
    width: auto;
    margin-top: 0;
    margin-right: 7vh;
}

.logo {
    max-width: 80px;
    height: auto;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* --- Hamburger --- */

/* Main appearance of hamburgerio */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1100;
    position: fixed;
    top: 20px;
    right: 20px;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 5px;
    transition: 0.3s ease;
}

/* When active – animation into X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Show hamburger for mobile devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: fixed;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 1rem;
        z-index: 1000;
    }

    nav.active {
        display: flex;
    }
}


.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    display: block;
}


/* --- Hero sekction --- */

.hero {
    height: 100vh;
    padding: 0;
    margin: 0;
}

.hero-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    /* transparent background */
    border-radius: 10px;
}

.hero-wrapper img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-wrapper img:hover {
    transform: scale(1.05);
}

/* --- Common sections --- */
section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: auto;
}

section h3 {
    margin-top: 0;
    color: var(--main-color);
}

.contact-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Overlay background effect */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--overlay);
    z-index: 999;
}

/* --- Mobile menu --- */
@media (max-width: 768px) {
    nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 250px;
        background-color: rgba(26, 26, 26, 0.7);
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 2rem;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }

    nav.open {
        transform: translateX(0);
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-overlay.active {
        display: block;
    }
}

.carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.slides {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    flex-shrink: 0;
}

.carousel-btn {
    display: none;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

footer {
    width: 100%;
    padding: 1.5rem 2rem;
    background-color: #1a1a1a;
    /* same sa for menu */
    color: white;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
}