﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}



/*footer-------------------*/
/* --- LOWER SITE AREA (MO&CHA THEME) --- */
.lower-site-area-wrap {
    width: 100%;
    background-color: #FFF0F5; /* Back to the soft Pink-White base */
    padding: 80px 0 20px 0;
    /* Elegant Matcha Green top border */
    border-top: 6px solid #2d6a4f;
    font-family: 'Playfair Display', serif;
    position: relative;
    /* Subtle Gold Tint over the pink */
    background-image: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), transparent);
}

.lower-site-area-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
}

/* Brand Area */
.lower-site-area-logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1b4332; /* Deep Matcha Green */
    letter-spacing: 2px;
    margin: 0;
}

.lower-site-area-accent {
    color: #ffb7c5; /* Sakura Pink */
}

.lower-site-area-tagline {
    color: #2d6a4f;
    font-size: 1rem;
    margin-top: 10px;
    font-style: italic;
}

/* Headings */
.lower-site-area-heading {
    color: #1b4332;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ffb7c5;
    display: inline-block;
    padding-bottom: 5px;
}

/* Links List */
.lower-site-area-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lower-site-area-link {
    display: block;
    color: #4a4a4a;
    text-decoration: none;
    margin-bottom: 12px;
    font-family: sans-serif;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

    .lower-site-area-link:hover {
        color: #ffb7c5;
        padding-left: 8px;
    }

/* Visit Us Info */
.lower-site-area-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4a4a4a;
    font-family: sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

    .lower-site-area-info i {
        color: #2d6a4f; /* Matcha Green */
        margin-top: 3px;
        font-size: 0.95rem;
    }

/* Newsletter Form */
.lower-site-area-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.lower-site-area-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid #ffb7c5;
    padding: 12px;
    border-radius: 4px;
    outline: none;
}

.lower-site-area-submit {
    background: #2d6a4f; /* Matcha Green */
    color: #ffffff;
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.lower-site-area-socials {
    display: flex;
    gap: 20px;
}

.lower-site-area-social-icon {
    color: #1b4332;
    font-size: 1.4rem;
    transition: 0.3s;
}

    .lower-site-area-social-icon:hover {
        color: #ffb7c5;
        transform: translateY(-3px);
    }

/* Bottom Bar */
.lower-site-area-bottom {
    margin-top: 60px;
    padding: 20px 5% 0 5%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.lower-site-area-copy {
    color: #888;
    font-size: 0.85rem;
    font-family: sans-serif;
}

.lower-site-area-gold {
    color: #d4af37; /* Software Firm Gold Hint */
    font-weight: bold;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .lower-site-area-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .lower-site-area-socials {
        justify-content: center;
    }
}

/* ==========================================================================
   THE MATCHA SPOT: MODERN NAVBAR
   ========================================================================== */

.navbar-matcha-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(45, 106, 79, 0.12);
    box-shadow: 0 4px 24px rgba(27, 67, 50, 0.06);
    transition: box-shadow 0.3s ease;
}

/* Signature pink line - full width base component */
.navbar-matcha-bottom-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ffb7c5 18%, #ffb7c5 82%, transparent 100%);
}

.navbar-matcha-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    box-sizing: border-box;
}

/* --- LOGO --- */
.navbar-matcha-logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.navbar-matcha-logo-img {
    height: 52px;
    width: auto;
    max-width: 210px;
    display: block;
    margin: 0;
    padding: 0;
}

/* --- NAV MENU --- */
.navbar-matcha-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.navbar-matcha-item {
    list-style: none;
}

.navbar-matcha-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #2d6a4f;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 14px;
    border-radius: 30px;
    transition: color 0.25s ease, background 0.25s ease;
}

.navbar-matcha-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: #ffb7c5;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar-matcha-link:hover {
    color: #1b4332;
    background: rgba(255, 183, 197, 0.15);
}

.navbar-matcha-link:hover::after {
    transform: scaleX(1);
}

/* --- ACTIVE PAGE STATE --- */
.navbar-matcha-active {
    color: #1b4332;
    background: rgba(255, 183, 197, 0.16);
}

.navbar-matcha-active::after {
    transform: scaleX(1);
}

/* --- SCROLLED STATE --- */
.navbar-matcha-wrap.scrolled {
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.12);
}

/* --- GHOST BUTTON (Login / Logout) --- */
.navbar-matcha-ghost {
    background: transparent;
    color: #2d6a4f !important;
    border: 1.5px solid #2d6a4f;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.navbar-matcha-ghost::after {
    display: none;
}

.navbar-matcha-ghost:hover {
    background: rgba(45, 106, 79, 0.08);
    transform: translateY(-2px);
}

/* --- MOBILE TOGGLE HAMBURGER --- */
.navbar-matcha-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.navbar-matcha-bar {
    width: 26px;
    height: 2.5px;
    background: #1b4332;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-matcha-toggle.active .navbar-matcha-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.navbar-matcha-toggle.active .navbar-matcha-bar:nth-child(2) {
    opacity: 0;
}

.navbar-matcha-toggle.active .navbar-matcha-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --- RESPONSIVE MOBILE SYSTEM --- */
@media (max-width: 768px) {
    .navbar-matcha-container {
        height: 60px;
    }

    .navbar-matcha-logo-img {
        height: 44px;
    }

    .navbar-matcha-toggle {
        display: flex;
    }

    .navbar-matcha-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px 5% 24px;
        gap: 6px;
        border-bottom: 3px solid #ffb7c5;
        box-shadow: 0 18px 40px rgba(27, 67, 50, 0.12);
        display: none;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-matcha-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .navbar-matcha-link {
        display: block;
        padding: 13px 16px;
        border-radius: 14px;
        font-size: 0.95rem;
        background: rgba(45, 106, 79, 0.04);
    }

    .navbar-matcha-link::after {
        display: none;
    }

    .navbar-matcha-link:hover {
        background: rgba(255, 183, 197, 0.18);
    }

    .navbar-matcha-ghost {
        display: block;
        text-align: center;
        margin-top: 8px;
        padding: 14px 22px;
        font-size: 0.9rem;
    }
}




