/* Contact Page - Maze Background Layout */

/* Contact Section */
.contact-section {
    background-image: url('Images-Contact/MazeOpaque.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Main Title */
.contact-main-title {
    font-size: 4rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 3rem;
    text-align: left;
    width: 100%;
    max-width: 1200px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

/* Contact Box Base Styles */
.contact-box {
    background: #ffffff;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 0;
}

.contact-box h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1rem;
}

.contact-box p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

/* Address Box */
.address-box {
    grid-column: 1 / 3;
    grid-row: 1;
}

/* Map Box */
.map-box {
    grid-column: 3;
    grid-row: 1;
    padding: 20px;
    overflow: hidden;
}

.map-box iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Phone Box */
.phone-box {
    grid-column: 1;
    grid-row: 2;
}

.phone-box p {
    font-size: 1.5rem;
    font-weight: 400;
}

.phone-box a {
    color: #666666;
    text-decoration: none;
}

.phone-box a:hover {
    color: #000000;
}

/* Email Box */
.email-box {
    grid-column: 2 / 4;
    grid-row: 2;
}

.email-address {
    color: #000000 !important;
    font-weight: 500;
    margin-bottom: 1.5rem !important;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-bottom: 1px solid #cccccc;
    background: transparent;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: #000000;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999999;
}

.contact-form textarea {
    resize: none;
}

/* reCAPTCHA Container */
.recaptcha-container {
    display: flex;
    justify-content: flex-start;
    margin: 0.5rem 0;
}

/* Submit Button */
.submit-btn {
    align-self: flex-end;
    padding: 0.75rem 2.5rem;
    background: #666666;
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Submit button "ready" state: name + email filled */
.submit-btn.is-ready {
    background: #956f42;
}

.submit-btn:hover {
    background: #000000;
}

.submit-btn.is-ready:hover {
    background: #000000;
}

/* Inline form submission feedback (keeps current look) */
.form-status {
    font-size: 0.95rem;
    color: #666666;
    margin-top: 0.5rem;
    text-align: right;
    min-height: 1.2em;
}

.form-status[data-status="error"] {
    color: #000000;
}


/* Tablet Styles (768px to 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .contact-section {
        padding: 80px 20px 40px;
    }

    .contact-main-title {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .contact-grid {
        max-width: 900px;
        gap: 15px;
    }

    .contact-box {
        padding: 1.5rem;
    }
}

/* Mobile Styles (768px and below) */
@media screen and (max-width: 768px) {
    .contact-main-title {
        font-size: 2.8rem;
        margin-bottom: 2rem;
    }

    /* Contact page: stack each box into its own row */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-box {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .map-box {
        min-height: 260px;
    }

    .hero-section {
        min-height: 40vh;
    }

    .hero-title {
        font-size: 3rem;
    }

    .contact-content {
        align-items: flex-start;
        padding: 80px 15px 40px;
        min-height: auto;
    }

    .contact-container {
        width: 100%;
        max-width: 100%;
    }

    .contact-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #ffffff;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: rgba(255, 255, 255, 0.8);
        padding: 0 10px;
        line-height: 1.6;
    }

    /* Mobile Contact Methods Container */
    .contact-methods {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 100%;
        padding: 0 10px;
        margin: 0 auto;
        width: 100%;
    }

    .contact-method {
        border-radius: 16px;
        padding: 1.5rem 1.2rem;
        width: 100%;
        max-width: 350px;
        min-height: auto;
    }

    .contact-icon {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }

    .contact-icon svg {
        width: 32px;
        height: 32px;
    }

    .contact-method-title {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }

    .contact-method-info {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .contact-method-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Small Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
    .contact-main-title {
        font-size: 2.3rem;
        margin-bottom: 1.5rem;
    }

    .map-box {
        min-height: 240px;
    }

    .hero-section {
        min-height: 35vh;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .contact-content {
        padding: 70px 10px 30px;
    }

    .contact-title {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .contact-description {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        padding: 0 5px;
    }

    .contact-methods {
        gap: 0.8rem;
        padding: 0 5px;
    }

    .contact-method {
        padding: 1.3rem 1rem;
        max-width: 320px;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-icon svg {
        width: 30px;
        height: 30px;
    }

    .contact-method-title {
        font-size: 1.3rem;
    }

    .contact-method-info {
        font-size: 0.95rem;
    }

    .contact-method-description {
        font-size: 0.8rem;
    }
}
/* Cookie Consent Popup Styles */
.cookie-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-popup-content {
    background: #ffffff;
    padding: 2.5rem;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-popup-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin: 0 0 1rem 0;
}

.cookie-popup-content p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.cookie-popup-content .email-alternative {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-popup-content .email-alternative strong {
    color: #000000;
}

.cookie-popup-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.85rem 1.5rem;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.cookie-accept {
    background: #956f42;
    color: #ffffff;
}

.cookie-accept:hover {
    background: #000000;
}

.cookie-decline {
    background: #e0e0e0;
    color: #333333;
}

.cookie-decline:hover {
    background: #cccccc;
}

/* Mobile adjustments for popup */
@media screen and (max-width: 768px) {
    .cookie-popup-content {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .cookie-popup-content h3 {
        font-size: 1.3rem;
    }

    .cookie-popup-content p {
        font-size: 0.95rem;
    }

    .cookie-popup-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}
