/* =============================================
   CONTACT PAGE — Glamour Girl
   ============================================= */

:root {
    --bg1: #d5b398;
    --bg2: #cca585;
    --dark-bg1: #e7ae7f;
    --brand: #cc8152;
    --light-brand: #e9945f;
    --border: #aa896e;
    --border-dark: #886c55;
    --light-border: #cca585;
    --white: #fff;
    --dark: #1a1a1a;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body { overflow-x: hidden; scroll-behavior: smooth; }

/* =============================================
   NAVBAR
   ============================================= */

.navbar {
    background: rgba(213, 179, 152, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.35s ease,
                box-shadow 0.35s ease;
}

.navbar.navbar-hidden  { transform: translateY(-100%) !important; }
.navbar.navbar-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.14); }

.navbar ul { margin:0; padding:0; display:flex; list-style:none; align-items:center; }
.navbar li { position: relative; }

.navbar .navbar-nav .nav-item a,
.navbar .navbar-nav .nav-item a.nav-tab { text-transform: none; }

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    padding: 15px 0 15px 15px;
    margin-right: 15px;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    transition: color 0.3s ease;
    text-decoration: none;
    position: relative;
}

.navbar a:not(.btn):not(.navbar-brand)::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 15px;
    width: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar a:hover,
.navbar .active,
.navbar li:hover > a { color: #fff; text-decoration: none; }

.navbar a:not(.btn):not(.navbar-brand):hover::after,
.navbar li:hover > a:not(.btn):not(.navbar-brand)::after { width: calc(100% - 30px); }

.navbar .nav-contact {
    color: #fff;
}

.navbar .nav-contact::after {
    background: var(--bg1);
    width: calc(100% - 30px);
    opacity: 0.55;
}

.navbar .nav-contact:hover::after {
    opacity: 1;
}

.navbar-brand img {
    width: 130px;
    height: auto;
    margin-left: 15px;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        border: 1.5px solid rgba(255,255,255,0.6) !important;
        border-radius: 8px;
        padding: 6px 12px;
        margin-right: 15px;
        box-shadow: none !important;
    }
    .navbar-toggler-icon { filter: brightness(0) invert(1); }
    .navbar-brand { margin-right: auto; }
    .navbar-brand img { width: 90px; }
    .navbar-collapse {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: rgb(213, 179, 152) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        padding: 16px 20px 28px !important;
        box-shadow: 0 12px 40px rgba(0,0,0,0.3);
        z-index: 999;
        transform: none !important;
    }
    .navbar-nav {
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
        margin-top: 0 !important;
        gap: 2px;
    }
    .navbar-nav .nav-item { width: 100%; text-align: center; margin: 2px 0 !important; }
    .navbar a, .navbar a:focus {
        justify-content: center !important;
        padding: 12px 20px !important;
        margin-right: 0 !important;
        font-size: 15px !important;
        color: rgba(255,255,255,0.9) !important;
        border-radius: 8px;
        white-space: normal !important;
    }
    .navbar a:hover { background: rgba(255,255,255,0.07); }
    .navbar a:not(.btn)::after { display: none; }
    .navbar .btn-brand { margin: 14px auto 4px !important; display: inline-flex !important; font-size: 14px !important; }
}

/* =============================================
   HERO
   ============================================= */

#contact-hero {
    position: relative;
    padding: 200px 20px 120px;
    background: linear-gradient(160deg, #b8936f 0%, #a07a5a 35%, #c9a68a 65%, var(--bg1) 100%);
    overflow: hidden;
    text-align: center;
}

#contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(255,220,180,0.18) 0%, transparent 65%);
    pointer-events: none;
}

.contact-hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.contact-hero-shapes .shape-1 { width: 420px; height: 420px; top: -100px; right: -80px; }
.contact-hero-shapes .shape-2 { width: 240px; height: 240px; bottom: -60px; left: -40px; }

.contact-hero-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }

.contact-hero-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}

#contact-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

#contact-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin: 0 auto;
}

.hero-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    margin: 22px auto;
    border-radius: 2px;
}

/* =============================================
   CONTACT MAIN SECTION
   ============================================= */

#contact-main {
    background: #faf7f4;
    padding: 90px 0 100px;
}

/* ---- Form Card ---- */
.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    box-shadow: 0 8px 48px rgba(136,108,85,0.10);
    border: 1px solid rgba(213,179,152,0.22);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form-card form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3a2e25;
    margin-bottom: 6px;
}

.contact-form-subtitle {
    font-size: 15px;
    color: var(--border);
    margin-bottom: 32px;
}

/* ---- Input Fields ---- */
.form-field {
    position: relative;
    margin-bottom: 20px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1.5px solid rgba(213,179,152,0.45);
    border-radius: 12px;
    background: #faf7f4;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Nunito Sans', Arial, sans-serif;
    color: #3a2e25;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(170,137,110,0.6); }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(204,129,82,0.12);
}

.form-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aa896e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-color: #faf7f4;
    padding-right: 36px;
    color: #3a2e25;
}

.form-field select option[value=""] { color: rgba(170,137,110,0.6); }

.form-field textarea { resize: vertical; min-height: 600px; }

.form-field:has(textarea) {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-field:has(textarea) textarea {
    flex: 1;
}

/* Field labels */
.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--border-dark);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

/* Hide the unused field-line spans */
.form-field .field-line { display: none; }

/* ---- Submit Button ---- */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, var(--border-dark), var(--brand));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    padding: 16px 40px;
    margin-top: 8px;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 20px rgba(136,108,85,0.3);
}

.btn-submit:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(136,108,85,0.38);
}

.btn-submit:active,
.btn-submit:focus,
.btn-submit:focus-visible {
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { opacity: 0.7; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Feedback Messages ---- */
.form-feedback {
    display: none;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    margin-top: 20px;
    animation: fadeSlideIn 0.4s ease;
}

.form-feedback.success {
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.35);
    color: #2e7d32;
}

.form-feedback.error {
    background: rgba(244,67,54,0.08);
    border: 1px solid rgba(244,67,54,0.3);
    color: #c62828;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Info Cards ---- */
.contact-info-stack { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 28px 26px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: 1px solid rgba(213,179,152,0.2);
    box-shadow: 0 4px 20px rgba(170,137,110,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(170,137,110,0.14);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(213,179,152,0.25), rgba(204,129,82,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--brand);
    flex-shrink: 0;
}

.info-body h5 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aa896e;
    margin-bottom: 6px;
}

.info-body a,
.info-body p {
    font-size: 15px;
    color: #3a2e25;
    text-decoration: none;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

.info-body a:hover { color: var(--brand); }

/* ---- Social Icons ---- */
.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}
.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(170,137,110,0.12);
    border: 1px solid rgba(170,137,110,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand) !important;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
}
.contact-socials a:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff !important;
    transform: translateY(-3px);
}

/* ---- Hours Table ---- */
.hours-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours-table td { padding: 4px 0; font-size: 14px; color: #3a2e25; }
.hours-table td:last-child { text-align: right; color: #aa896e; font-weight: 600; }
.hours-table tr.closed td { color: #ccc; }
.hours-table tr.today td { color: var(--brand); font-weight: 700; }

/* ---- Map Card ---- */
.contact-map-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(213,179,152,0.2);
    box-shadow: 0 4px 20px rgba(170,137,110,0.08);
    margin-top: 20px;
}

.contact-map-card iframe { display: block; width: 100%; height: 200px; border: none; }

/* =============================================
   FOOTER SECTION
   ============================================= */

.footer-logo {
    max-width: 160px;
    display: block;
    margin: 0 auto 24px auto;
}

.footer-section {
    background: linear-gradient(180deg, var(--border-dark) 0%, #7a6350 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -150px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(213,179,152,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-top { padding: 90px 0 60px; position: relative; z-index: 1; }

.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }

.footer-about {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255,255,255,0.6);
    text-align: justify;
    margin-bottom: 28px;
}

.footer-socials { display: flex; gap: 10px; }

.footer-social-link {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.35s ease;
}

.footer-social-link:hover {
    background: var(--bg1);
    border-color: var(--bg1);
    color: var(--border-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(170,137,110,0.3);
}

.footer-section .footer-social-link .fab,
.footer-section .footer-social-link .fa {
    background: none !important; color: inherit !important;
    width: auto !important; height: auto !important;
    padding: 0 !important; margin: 0 !important;
    font-size: 16px !important; line-height: 1; border: none;
    display: flex; align-items: center; justify-content: center;
}

.footer-section .footer-social-link:hover .fab,
.footer-section .footer-social-link:hover .fa {
    color: var(--border-dark) !important;
    background: none !important;
    transform: none; opacity: 1;
}

.footer-heading {
    font-size: 14px; font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 6px;
}

.footer-heading-line {
    width: 30px; height: 2px;
    background: var(--bg1);
    border-radius: 2px; margin-bottom: 28px;
    transition: width 0.4s ease;
}

.footer-contact:hover .footer-heading-line,
.footer-hours:hover .footer-heading-line { width: 60px; }

.footer-map-wrapper {
    margin-bottom: 24px; border-radius: 16px; overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-contact-list { list-style: none; padding: 0; margin: 0; }

.footer-contact-list li {
    display: flex; align-items: center; gap: 14px; padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7); font-size: 14px;
}

.footer-contact-list li:last-child { border-bottom: none; }

.footer-contact-list a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-contact-list a:hover { color: var(--bg1); }

.footer-contact-list i {
    width: 32px; height: 32px;
    border-radius: 8px; background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--bg1); flex-shrink: 0;
}

.footer-hours-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
}

.footer-hours-list li:last-child { border-bottom: none; }
.footer-hours-list .day-name { color: rgba(255,255,255,0.7); }
.footer-hours-list .day-hours { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-hours-list .day-hours.closed { color: rgba(255,255,255,0.25); }
.footer-hours-list li.today .day-name { color: var(--bg1); font-weight: 700; }
.footer-hours-list li.today .day-hours { color: var(--bg1); }

.footer-bottom {
    padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center; position: relative; z-index: 1;
}

.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); margin: 0; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 991px) {
    .contact-form-card { padding: 36px 28px; }
    .contact-info-stack { margin-top: 40px; }
}

@media (max-width: 576px) {
    #contact-hero { padding: 130px 16px 60px; }
    .contact-form-card { padding: 28px 20px; }
    .contact-info-card { padding: 22px 18px; }
}
