/* ============================================
   GREEN ROOM GARDENS - CONTACT
   Fresh, Modern Contact Page
============================================ */

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

.grg-contact-hero {
    position: relative;
    min-height: 50vh;
    min-height: 50dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--grg-dark-deep);
    padding-top: 116px;
}

.grg-contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/grg-18.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.grg-contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.grg-contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    width: 100%;
    padding: 50px 24px;
}

.grg-contact-hero-label {
    font-family: var(--grg-font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--grg-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.grg-contact-hero h1 {
    color: var(--grg-white);
    margin-bottom: 18px;
}

.grg-contact-hero p {
    font-family: var(--grg-font);
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* ===========================================
   CONTACT FORM SECTION - FRESH DESIGN
=========================================== */

.grg-contact-form-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 50%, #e8f5e9 100%);
    padding: 100px 24px;
    overflow: hidden;
}

.grg-contact-form-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    align-items: stretch;
    background: var(--grg-white);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* Form Container */
.grg-contact-form-container {
    padding: 56px 52px;
    background: var(--grg-white);
    position: relative;
}

.grg-contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--grg-green) 0%, var(--grg-gold) 100%);
}

/* Loading Overlay */
.grg-form-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 24px 0 0 24px;
}

.grg-form-loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.grg-form-loading-overlay span {
    font-family: var(--grg-font);
    font-size: 1rem;
    font-weight: 500;
    color: var(--grg-dark);
}

/* Spinner */
.grg-form-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(6, 163, 75, 0.2);
    border-top-color: var(--grg-green);
    border-radius: 50%;
    animation: grg-spin 0.8s linear infinite;
}

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

/* Form Error States */
.grg-form-group.grg-form-error input,
.grg-form-group.grg-form-error textarea {
    border-color: #dc3545;
    background: #fff5f5;
}

.grg-form-group.grg-form-error input:focus,
.grg-form-group.grg-form-error textarea:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.grg-error-message {
    font-family: var(--grg-font);
    font-size: 0.82rem;
    font-weight: 500;
    color: #dc3545;
    margin-top: -4px;
}

.grg-contact-form-container h2 {
    font-family: var(--grg-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--grg-dark);
    margin-bottom: 8px;
}

.grg-contact-form-container > p {
    font-family: var(--grg-font);
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--grg-mid-grey);
    margin-bottom: 36px;
}

/* Form Elements */
.grg-contact-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.grg-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grg-form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.grg-form-group label {
    font-family: var(--grg-font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--grg-dark);
    letter-spacing: 0.3px;
}

.grg-form-group label span {
    color: var(--grg-green);
    margin-left: 2px;
}

.grg-form-group input,
.grg-form-group textarea {
    font-family: var(--grg-font);
    font-size: 1rem;
    font-weight: 400;
    color: var(--grg-dark);
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    outline: none;
}

.grg-form-group input::placeholder,
.grg-form-group textarea::placeholder {
    color: #9ca3af;
    font-weight: 300;
}

.grg-form-group input:hover,
.grg-form-group textarea:hover {
    background: #f1f3f5;
}

.grg-form-group input:focus,
.grg-form-group textarea:focus {
    background: var(--grg-white);
    border-color: var(--grg-green);
    box-shadow: 0 0 0 4px rgba(6, 163, 75, 0.1);
}

.grg-form-group textarea {
    resize: none;
    min-height: 160px;
}

/* Submit Button */
.grg-btn-submit {
    font-family: var(--grg-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--grg-white);
    background: var(--grg-green);
    border: none;
    padding: 18px 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(6, 163, 75, 0.3);
}

.grg-btn-submit:hover {
    background: var(--grg-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 163, 75, 0.4);
}

.grg-btn-submit i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.grg-btn-submit:hover i {
    transform: translateX(4px);
}

/* Contact Info Sidebar */
.grg-contact-info {
    background: var(--grg-dark-deep);
    position: relative;
    overflow: hidden;
}

.grg-contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 163, 75, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.grg-contact-info::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(200, 174, 121, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.grg-contact-info-card {
    padding: 56px 44px;
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.grg-contact-info-card h3 {
    font-family: var(--grg-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grg-white);
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.grg-contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}

.grg-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.grg-contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 174, 121, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--grg-gold);
    transition: all 0.3s ease;
}

.grg-contact-info-item:hover .grg-contact-info-icon {
    background: rgba(200, 174, 121, 0.25);
    transform: scale(1.05);
}

.grg-contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.grg-contact-info-text strong {
    font-family: var(--grg-font);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grg-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.grg-contact-info-text span,
.grg-contact-info-text a {
    font-family: var(--grg-font);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--grg-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.grg-contact-info-text a:hover {
    color: var(--grg-gold);
}

.grg-contact-info-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    margin: 8px 0;
}

/* Google Rating Badge */
.grg-contact-rating {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.grg-contact-rating-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 14px;
}

.grg-contact-rating-stars {
    display: flex;
    gap: 3px;
}

.grg-contact-rating-stars span {
    color: var(--grg-gold);
    font-size: 1rem;
}

.grg-contact-rating-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.grg-contact-rating-text strong {
    font-family: var(--grg-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--grg-white);
}

.grg-contact-rating-text span {
    font-family: var(--grg-font);
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

/* ===========================================
   NAP & SELLING POINTS
=========================================== */

.grg-contact-nap {
    background: var(--grg-white);
    padding: 100px 24px;
    overflow: hidden;
}

.grg-contact-nap-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.grg-contact-nap-header {
    text-align: center;
    margin-bottom: 56px;
}

.grg-contact-nap-header h2 {
    font-family: var(--grg-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--grg-dark);
    margin-bottom: 14px;
}

.grg-contact-nap-header p {
    font-family: var(--grg-font);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--grg-mid-grey);
}

.grg-contact-nap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.grg-contact-nap-item {
    background: var(--grg-off-white);
    padding: 36px 28px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.grg-contact-nap-item:hover {
    background: var(--grg-white);
    border-color: rgba(6, 163, 75, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.grg-contact-nap-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 163, 75, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--grg-green);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.grg-contact-nap-item:hover .grg-contact-nap-icon {
    background: var(--grg-green);
    color: var(--grg-white);
}

.grg-contact-nap-item:first-child .grg-contact-nap-icon {
    background: rgba(200, 174, 121, 0.15);
    color: var(--grg-gold);
}

.grg-contact-nap-item:first-child:hover .grg-contact-nap-icon {
    background: var(--grg-gold);
    color: var(--grg-dark);
}

.grg-contact-nap-item h3 {
    font-family: var(--grg-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--grg-dark);
    margin-bottom: 12px;
}

.grg-contact-nap-item p {
    font-family: var(--grg-font);
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--grg-mid-grey);
    line-height: 1.65;
}

/* Areas Served */
.grg-contact-nap-areas {
    background: linear-gradient(135deg, var(--grg-dark-deep) 0%, #1a2e1a 100%);
    padding: 44px 48px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.grg-contact-nap-areas::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 163, 75, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.grg-contact-nap-areas h3 {
    font-family: var(--grg-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--grg-white);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.grg-contact-nap-areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.grg-contact-nap-areas-list span {
    font-family: var(--grg-font);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--grg-white);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.grg-contact-nap-areas-list span:hover {
    background: var(--grg-green);
    border-color: var(--grg-green);
    transform: translateY(-2px);
}

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

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .grg-contact-hero {
        padding-top: 109px;
    }

    .grg-contact-form-section {
        padding: 60px 24px;
    }

    .grg-contact-form-inner {
        grid-template-columns: 1fr;
        max-width: 600px;
        border-radius: 20px;
    }

    .grg-contact-form-container {
        padding: 44px 40px;
    }

    .grg-contact-form-container::before {
        border-radius: 20px 20px 0 0;
    }

    .grg-form-loading-overlay {
        border-radius: 20px 20px 0 0;
    }

    .grg-contact-info-card {
        padding: 40px;
    }

    .grg-contact-nap {
        padding: 80px 24px;
    }

    .grg-contact-nap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .grg-contact-nap-areas {
        padding: 40px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .grg-contact-hero {
        min-height: 45vh;
        min-height: 45dvh;
        padding-top: 70px;
    }

    .grg-contact-hero-content {
        padding: 40px 20px;
    }

    .grg-contact-hero-label {
        font-size: 0.82rem;
        letter-spacing: 2.5px;
    }

    .grg-contact-hero p {
        font-size: 1rem;
    }

    .grg-contact-form-section {
        padding: 40px 16px;
    }

    .grg-contact-form-inner {
        border-radius: 16px;
        max-width: 100%;
    }

    .grg-contact-form-container {
        padding: 32px 24px;
    }

    .grg-contact-form-container::before {
        border-radius: 16px 16px 0 0;
    }

    .grg-form-loading-overlay {
        border-radius: 16px 16px 0 0;
    }

    .grg-contact-form-container h2 {
        font-size: 1.6rem;
    }

    .grg-form-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .grg-contact-info-card {
        padding: 32px 24px;
    }

    .grg-contact-info-card h3 {
        font-size: 1.3rem;
        margin-bottom: 28px;
    }

    .grg-contact-info-text a,
    .grg-contact-info-text span {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .grg-contact-nap {
        padding: 60px 16px;
    }

    .grg-contact-nap-header h2 {
        font-size: 1.75rem;
    }

    .grg-contact-nap-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .grg-contact-nap-item {
        padding: 28px 24px;
    }

    .grg-contact-nap-areas {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .grg-contact-nap-areas h3 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .grg-contact-nap-areas-list {
        gap: 10px;
    }

    .grg-contact-nap-areas-list span {
        font-size: 0.85rem;
        padding: 10px 16px;
    }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {
    .grg-contact-hero {
        min-height: 40vh;
        min-height: 40dvh;
        padding-top: 64px;
    }

    .grg-contact-hero-content {
        padding: 32px 16px;
    }

    .grg-contact-hero-label {
        font-size: 0.78rem;
        letter-spacing: 2px;
    }

    .grg-contact-form-section {
        padding: 28px 12px;
    }

    .grg-contact-form-inner {
        border-radius: 12px;
    }

    .grg-contact-form-container {
        padding: 24px 18px;
    }

    .grg-contact-form-container::before {
        border-radius: 12px 12px 0 0;
    }

    .grg-form-loading-overlay {
        border-radius: 12px 12px 0 0;
    }

    .grg-form-spinner {
        width: 40px;
        height: 40px;
    }

    .grg-form-loading-overlay span {
        font-size: 0.9rem;
    }

    .grg-contact-form-container h2 {
        font-size: 1.35rem;
    }

    .grg-contact-form-container > p {
        font-size: 0.92rem;
        margin-bottom: 24px;
    }

    .grg-contact-form {
        gap: 22px;
    }

    .grg-form-group label {
        font-size: 0.85rem;
    }

    .grg-form-group input,
    .grg-form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents iOS zoom */
        border-radius: 10px;
    }

    .grg-form-group textarea {
        min-height: 140px;
    }

    .grg-btn-submit {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        border-radius: 10px;
        font-size: 0.95rem;
    }

    .grg-contact-info-card {
        padding: 24px 18px;
    }

    .grg-contact-info-card h3 {
        font-size: 1.15rem;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .grg-contact-info-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .grg-contact-info-item {
        gap: 14px;
    }

    .grg-contact-info-items {
        gap: 20px;
    }

    .grg-contact-info-text strong {
        font-size: 0.75rem;
    }

    .grg-contact-info-text a,
    .grg-contact-info-text span {
        font-size: 0.9rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .grg-contact-rating {
        padding-top: 24px;
    }

    .grg-contact-rating-inner {
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .grg-contact-rating-text strong {
        font-size: 1rem;
    }

    .grg-contact-rating-text span {
        font-size: 0.8rem;
    }

    .grg-contact-nap {
        padding: 40px 12px;
    }

    .grg-contact-nap-header {
        margin-bottom: 40px;
    }

    .grg-contact-nap-header h2 {
        font-size: 1.4rem;
    }

    .grg-contact-nap-header p {
        font-size: 0.95rem;
    }

    .grg-contact-nap-item {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .grg-contact-nap-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .grg-contact-nap-item h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .grg-contact-nap-item p {
        font-size: 0.88rem;
    }

    .grg-contact-nap-areas {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .grg-contact-nap-areas h3 {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .grg-contact-nap-areas-list {
        gap: 8px;
    }

    .grg-contact-nap-areas-list span {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    .grg-form-group input,
    .grg-form-group textarea,
    .grg-btn-submit,
    .grg-contact-info-icon,
    .grg-contact-info-text a,
    .grg-contact-nap-item,
    .grg-contact-nap-icon,
    .grg-contact-nap-areas-list span {
        transition: none;
    }
}