@font-face {
    font-family: 'Vexillum';
    src: url('/fonts/Vexillum-Regular.woff2') format('woff2'),
         url('/fonts/Vexillum-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
:root {
    --color-text: #1a1a1a;
    --color-white: #ffffff;
    --color-secondary: #2b2b2b;
    --accent-emerald: #7B0828;
    --accent-gold: #c9a55c;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-shadow: 0 20px 50px rgba(0,0,0,0.12);
    --shadow-soft: 0 15px 40px rgba(0,0,0,0.15);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", sans-serif;
}

body {
  background-image: url("Images/wave-line2.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/*-----------------------------------------
HEADER
-----------------------------------------*/
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  z-index: 100;
  transition: all 0.3s ease;
}

header:hover {
  transform: scale(1.01);
}

header h1 {
  font-size: 2.2em;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-emerald);
}

/* Logo */
.logo-container {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.logo {
  height: 50px;
  cursor: pointer;
}

/* Language toggle button */
.lang-toggle {
  position: absolute;
  right: 160px;
  top: 50%;
  transform: translateY(-50%);
}

.lang-toggle button {
  background: var(--accent-gold);
  color: var(--color-black);
  border: none;
  border-radius: 30px;
  padding: 8px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle button:hover {
  background: #b89347;
}

/*-----------------------------------------
SIDE PANEL
-----------------------------------------*/
.side-panel {
  height: 100%;
  width: 0;
  position: fixed;
  right: 0;
  top: 0;
  background: var(--color-secondary);
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 80px;
  box-shadow: -10px 0 40px rgba(112, 109, 109, 0.35);
  z-index: 200;
}
.side-panel {
    transition: width 0.4s ease; /* already exists, good */
}

.side-btn {
    transition: background 0.3s ease, opacity 0.3s ease;
}

.side-panel a {
  display: block;
  padding: 18px 35px;
  font-size: 1.4em;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.25s ease;
}

.side-panel a:hover {
  color: var(--accent-gold);
  padding-left: 45px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2em;
  color: var(--color-white);
}

.side-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--accent-emerald);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1.1em;
  cursor: pointer;
  transition: 0.3s;
}

.side-btn:hover {
  background: var(--ui-hover);
}

/*-----------------------------------------
CONTACT SECTION - True Liquid Glass
-----------------------------------------*/
.contact-section {
    padding: 280px 150px 200px;
    display: flex;
    justify-content: center;
    font-family: 'Vexillum', serif; /* applied to the entire section */
}

.contact-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 75px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(4px) saturate(180%) contrast(120%) brightness(105%);
    -webkit-backdrop-filter: blur(6px) saturate(180%) contrast(120%) brightness(105%);
    overflow: hidden;
}

/* Edge-only blur */
.contact-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;

    backdrop-filter: blur(5px) saturate(180%) contrast(120%) brightness(105%);
    -webkit-backdrop-filter: blur(8px) saturate(180%) contrast(120%) brightness(105%);

    mask-image: radial-gradient(circle at center, rgba(123, 8, 40, 0.15) 0%, rgba(201, 165, 92, 0.25) 100%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(123, 8, 40, 0.15) 0%, rgba(201, 165, 92, 0.25) 100%);

    pointer-events: none;
    z-index: 0;
}

/* Reflective sheen */
.contact-container::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -40%;
    width: 180%;
    height: 180%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255,255,255,0) 70%);
    transform: rotate(-20deg);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

/* Title and subtitle stay above glass layers */
.contact-title,
.contact-subtext,
.contact-form {
    position: relative;
    z-index: 1;
    font-family: 'Vexillum', serif; /* applied specifically to titles and text */
}

.contact-title {
    font-size: 3em;
    color: var(--accent-emerald);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700; /* optional bold for luxury feel */
}

.contact-subtext {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555;
    font-weight: 400;
}

/* Form fields */
.contact-form label {
    display: block;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.9);
    font-size: 1em;
    resize: none;
    font-family: 'Vexillum', serif; /* form input font */
}

/* Send button */
.send-btn {
    padding: 12px 30px;
    border-radius: 40px;
    border: 1px solid var(--accent-gold);
    background: transparent;
    color: var(--accent-gold);
    font-size: 1em;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    transition: 0.3s;
    position: relative;
    z-index: 1;
    font-family: 'Vexillum', serif; /* button font */
    font-weight: 600;
}

.send-btn:hover {
    background: var(--accent-gold);
    color: black;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: var(--color-secondary);
    color: #cfcfcf;
    margin-top: 40px;
    font-family: 'Vexillum', serif; /* footer font consistent */
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background: var(--color-secondary);
    color: #cfcfcf;
    margin-top: 40px;
}

/* Responsive */
/*-----------------------------------------
MOBILE RESPONSIVE FIXES
-----------------------------------------*/
@media screen and (max-width: 768px) {
    
    /* Body background adjustments */
    body {
        background-size: contain; /* make wave image scale better */
        background-position: top center;
    }

    /* Header */
    header {
        height: 60px;
        padding: 0 10px;
        justify-content: center;
    }

    header h1 {
        font-size: 1.6em;
        letter-spacing: 1px;
    }

    /* Logo */
    .logo-container {
        left: 10px;
    }

    .logo {
        height: 40px;
    }

    /* Language toggle */
    .lang-toggle {
        right: 10px;
    }

    .lang-toggle button {
        padding: 6px 12px;
        font-size: 0.9em;
    }

    /* Side panel button */
    .side-btn {
        top: 15px;
        right: 10px;
        font-size: 1em;
        padding: 8px 16px;
    }

    /* Side panel links */
    .side-panel a {
        padding: 14px 25px;
        font-size: 1.2em;
    }

    .side-panel a:hover {
        padding-left: 30px;
    }

    /* Contact section */
    .contact-section {
        padding: 150px 20px 80px; /* reduce top/bottom padding */
        flex-direction: column;
    }

    .contact-container {
        padding: 25px;
        max-width: 95%;
        border-radius: 15px;
    }

    .contact-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .contact-subtext {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .send-btn {
        padding: 10px 25px;
        font-size: 0.95em;
    }

    /* Footer */
    footer {
        padding: 20px;
        font-size: 0.9em;
    }

}