/* ============================================
   CONTACT PAGE STYLES
   Requires: common.css (loader, header, footer)
============================================ */


/* ============================================
   SHARED ELEMENTS
============================================ */
.eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 18px;
}

.gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 25px 0 30px;
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 18px 45px;
    border-radius: 50px;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(201, 169, 110, 0.35);
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    gap: 8px;
    transition: color var(--transition);
}

.btn-ghost-light:hover {
    color: var(--gold);
}


/* ============================================
   SCROLL ANIMATIONS
============================================ */
.observe-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.observe-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.observe-fade.delay-1 { transition-delay: 0.15s; }

.observe-stagger {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.observe-stagger.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.85s ease forwards;
}

.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.45s; }
.delay-3 { animation-delay: 0.65s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   CONTACT HERO
============================================ */
.contact-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 25px 100px;
    text-align: center;
    overflow: hidden;
    background: var(--darker);
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(201, 169, 110, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 110, 0.06) 0%, transparent 40%),
        linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 25px;
}

.contact-hero-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5.5vw, 76px);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--light);
    line-height: 1.1;
    margin-bottom: 0;
}

.hero-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 30px auto;
}

.contact-hero-content p {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin: 0 auto;
}


/* ============================================
   CONTACT SECTION (Form + Info)
============================================ */
.contact-section {
    background: #f5f2ed;
    padding: clamp(70px, 10vw, 130px) clamp(25px, 5vw, 80px);
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.contact-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 40px,
            rgba(201, 169, 110, 0.02) 40px,
            rgba(201, 169, 110, 0.02) 80px);
    pointer-events: none;
    opacity: 0.6;
}

.contact-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(40px, 5vw, 70px);
    align-items: start;
    position: relative;
    z-index: 2;
}


/* ============================================
   CONTACT FORM
============================================ */
.contact-form-wrap {
    padding: clamp(30px, 4vw, 55px);
}

.form-header {
    margin-bottom: 40px;
}

.form-header .eyebrow {
    color: var(--gold-dark);
}

.form-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 15px;
}

.form-intro {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    max-width: 500px;
}

/* Form Layout */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

.form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.3px;
}

.form-group label .req {
    color: #d64545;
    margin-left: 2px;
}

/* Inputs */
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b0b0;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Error state */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #d64545;
    background: #fff5f5;
}

.form-error {
    display: block;
    min-height: 16px;
    font-size: 12px;
    color: #d64545;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

/* Submit Button */
.btn-submit {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--dark);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 10px;
    font-family: inherit;
    position: relative;
}

.btn-submit:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit.loading .btn-text {
    opacity: 0.4;
}

.btn-loader {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
}

.btn-submit.loading .btn-loader {
    display: inline-block;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.form-success {
    display: none;
    align-items: flex-start;
    gap: 15px;
    padding: 20px 25px;
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    margin-top: 15px;
    animation: successSlideIn 0.5s ease;
}

.form-success.active {
    display: flex;
}

.success-icon {
    width: 32px;
    height: 32px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.form-success strong {
    display: block;
    color: #2e7d32;
    font-size: 14px;
    margin-bottom: 3px;
}

.form-success p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ============================================
   CONTACT INFO CARD (Right side)
============================================ */
.contact-info-card {
    background: white;
    padding: clamp(30px, 4vw, 50px);
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 110px;
}

/* Info Block */
.info-block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition);
}

.info-block:hover .info-icon {
    background: var(--gold);
    color: white;
    transform: scale(1.1);
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.info-content address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
}

/* Divider */
.info-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    margin: 0;
}

/* Contact List */
.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.contact-list li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1.4;
    position: relative;
}

.contact-list li a:hover {
    color: var(--gold-dark);
    transform: translateX(4px);
}

.contact-icon {
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
}

.contact-tag {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 6px;
}

/* Business Hours */
.business-hours {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.business-hours h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.business-hours p {
    font-size: 13px;
    color: #555;
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    line-height: 1.6;
}

.business-hours p span {
    color: var(--gold-dark);
    font-weight: 500;
}


/* ============================================
   LOCATION SECTION
============================================ */
.location-section {
    background: var(--darker);
    padding: clamp(70px, 10vw, 130px) clamp(25px, 5vw, 80px);
    color: var(--light);
}

.location-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(50px, 6vw, 70px);
}

.location-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--light);
    line-height: 1.2;
}

.location-header p {
    font-size: 15px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.6);
}

/* Locations Grid */
.locations-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    gap: 30px;
}

.location-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition);
}

.location-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(201, 169, 110, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.location-map {
    width: 100%;
    height: 260px;
    background: #1a1a1a;
    filter: grayscale(30%) contrast(0.9);
    transition: filter var(--transition);
}

.location-card:hover .location-map {
    filter: grayscale(0%) contrast(1);
}

.location-info {
    padding: 30px;
    position: relative;
}

.location-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.location-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--light);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.location-info p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    gap: 6px;
}

.btn-directions:hover {
    color: var(--gold-light);
    letter-spacing: 2.5px;
}


/* ============================================
   CTA SECTION
============================================ */
.contact-cta {
    background: linear-gradient(135deg, #1a1508 0%, var(--dark) 40%, #1a1508 100%);
    padding: clamp(80px, 10vw, 140px) clamp(25px, 5vw, 60px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(201, 169, 110, 0.04) 0%, transparent 50%);
    animation: ctaGlowAnim 8s ease infinite alternate;
    pointer-events: none;
}

@keyframes ctaGlowAnim {
    0%   { transform: scale(1);   }
    100% { transform: scale(1.2); }
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-container h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 300;
    letter-spacing: 3px;
    color: var(--light);
    margin-bottom: 20px;
    line-height: 1.15;
}

.cta-container p {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.65);
    max-width: 550px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


/* ============================================
   RESPONSIVE
============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info-card {
        position: static;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 55vh;
        padding: 140px 20px 70px;
    }

    .contact-form-wrap {
        padding: 0;
    }

    .contact-info-card {
        padding: 30px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .info-block {
        gap: 14px;
        padding: 18px 0;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .contact-list li a {
        font-size: 13.5px;
    }

    .location-map {
        height: 220px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .cta-actions .btn-gold {
        text-align: center;
    }

    .cta-actions .btn-ghost-light {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .contact-hero-content h1 {
        font-size: 34px;
        letter-spacing: 3px;
    }

    .contact-hero-content p {
        font-size: 14px;
    }

    .form-header h2 {
        font-size: 26px;
    }

    .info-content h3 {
        font-size: 20px;
    }

    .location-info h3 {
        font-size: 22px;
    }

    .business-hours p {
        flex-direction: column;
        gap: 3px;
    }

    .contact-tag {
        display: block;
        margin-left: 0;
        margin-top: 3px;
        width: fit-content;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fade-up,
    .observe-fade,
    .observe-stagger {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

    .cta-bg-glow,
    .btn-loader {
        animation: none;
    }
}