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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

a {
    color: #524238;
    text-decoration: underline;
}

a:hover {
    color: #8B4513;
}

/* Email links - stand out style */
a[href^="mailto:"] {
    color: #8B4513;
    text-decoration: underline;
}

a[href^="mailto:"]:hover {
    color: #524238;
}

/* WhatsApp links - stand out style */
a[href*="wa.me"] {
    color: #8B4513;
    text-decoration: underline;
}

a[href*="wa.me"]:hover {
    color: #524238;
}

/* Social icons */
.social-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin: 0 4px 0 0;
}

body {
    background-color: #f1ece2;
    font-family: 'Lato', sans-serif;
    background-image: url('/assets/rice-paper.png');
    background-repeat: repeat;
    min-height: 100vh;
    position: relative;
}

.header {
    background-color: #f1ece2;
    background-image: url('/assets/tileable-wood-colored.png');
    background-repeat: repeat;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    gap: 20px;
}

.hamburger-menu {
    position: absolute;
    right: 20px;
}

.logo-link {
    display: block;
}

.logo-link object {
    pointer-events: none;
}

.logo-header {
    width: 100%;
    max-width: 800px;
    height: auto;
}

.hamburger-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-icon {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    background-color: #f1ece2;
    background-image: url('/assets/rice-paper.png');
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 2000;
}

.menu-overlay.active {
    display: block;
    transform: translateX(0);
}

.menu-overlay ul {
    list-style: none;
}

.menu-overlay li {
    margin-bottom: 25px;
}

.menu-overlay a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.menu-overlay a:hover {
    color: #8B4513;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.main-content {
    padding: 20px;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    max-width: 600px;
}

.contact-info address {
    font-style: normal;
    line-height: 1.6;
    margin-top: 10px;
}

.logo-main {
    max-width: 90%;
    max-height: 70vh;
    width: 400px;
    height: auto;
}

#map {
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 40px auto;
    display: block;
    align-self: flex-start;
}

.content-page {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
}

.content-page h1,
.content-page h2,
.content-page h3,
.content-page h4,
.content-page h5,
.content-page h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #524238;
    margin-bottom: 20px;
}

.content-page p {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #524238;
}

.content-page a {
    color: #524238;
    text-decoration: none;
}

.content-page a:hover {
    color: #8B4513;
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #524238;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    background-color: #f1ece2;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Popup Modal */
.popup-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #f1ece2;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.popup-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.popup-text {
    color: #524238;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.popup-text a {
    color: #8B4513;
    text-decoration: underline;
}

.popup-text a:hover {
    color: #524238;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #524238;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #8B4513;
    opacity: 0.8;
}

.hidden {
    display: none !important;
}

/* Breadcrumbs */
.breadcrumbs {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px 20px 0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs a {
    color: #8B4513;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span[aria-current="page"] {
    color: #524238;
    font-weight: 500;
}

.breadcrumbs li:not(:last-child)::after {
    content: ">";
    color: #524238;
    font-family: monospace;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: #524238;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    background-color: #f1ece2;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.footer-contact a {
    color: #8B4513;
    text-decoration: underline;
}

.footer-contact a:hover {
    color: #524238;
}

.footer-legal {
    font-size: 13px;
    margin: 5px 0 0;
}

.footer-legal a {
    color: #524238;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #8B4513;
    text-decoration: underline;
}

/* Lists in content */
.main-content ul,
.main-content ol {
    margin: 15px 0;
    text-align: left;
    padding-left: 15px !important;
}

.main-content ul {
    list-style-type: disc !important;
    list-style-position: inside !important;
}

.main-content ol {
    list-style-position: inside !important;
}

.main-content li {
    margin-bottom: 4px;
    line-height: 1.5;
    text-align: left !important;
}

/* Fix list marker alignment */
.main-content ul li::marker {
    color: #524238;
}

/* Tables */
.main-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #d1c7b7;
    border-radius: 6px;
    overflow: hidden;
}

.main-content th,
.main-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #d1c7b7;
}

.main-content th {
    background-color: #e8e0d0;
    color: #524238;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.main-content td {
    color: #524238;
    line-height: 1.5;
}

.main-content tr:hover {
    background-color: #fff8f0;
}

.main-content tr:last-child td {
    border-bottom: none;
}

/* Responsive tables */
@media (max-width: 600px) {
    .main-content table {
        display: block;
        overflow-x: auto;
        border-radius: 0;
    }
}
