/* Contact Page Styles - Redesigned */

/* Animated Background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(100px, -100px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50px, -200px) scale(0.8);
        opacity: 0.7;
    }
    75% {
        transform: translate(150px, -150px) scale(1.1);
        opacity: 0.4;
    }
}

/* Full page animated background for Contact */
.home-page {
    background: linear-gradient(-45deg, #0a0a0a, #111111, #0f0f0f, #0a0a0a);
    background-size: 400% 400%;
    animation: gradientShift 25s ease infinite;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    animation: floatParticle 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 70%;
    top: 10%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 30%;
    top: 70%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 85%;
    top: 60%;
    animation-delay: 1s;
    animation-duration: 20s;
}

.particle:nth-child(5) {
    left: 50%;
    top: 40%;
    animation-delay: 3s;
    animation-duration: 16s;
}

/* Hide page header */
.page-header {
    display: none;
}

/* Contact Main Section */
.contact-main {
    padding: 8rem 0 0 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 50%, #0a0a0a 100%);
    min-height: 100vh;
    position: relative;
}

.contact-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 40% 60%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(0, 255, 136, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 8rem);
    gap: 0;
}

/* Left Side - Image */
.contact-image-side {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 2;
}

.contact-image-overlay h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.contact-image-overlay p {
    font-size: 1.125rem;
    color: #b0b0b0;
    margin: 0;
}

/* Right Side - Form */
.contact-form-side {
    background: #1a1a1a;
    padding: 4rem 3rem;
    overflow-y: auto;
}

.contact-form-header {
    margin-bottom: 2.5rem;
}

.contact-form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: #b0b0b0;
    font-size: 1rem;
    margin: 0;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #0f0f0f;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: #e0e0e0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    background: #1a1a1a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Submit Button */
.submit-btn {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6f 100%);
    color: #0a0a0a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

/* Contact Info Cards */
.contact-info-cards {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #00ff88;
    transform: translateY(-3px);
}

.info-card i {
    font-size: 1.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin: 0;
}

.info-card a {
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Social Links */
.contact-social {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
}

.contact-social h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
}

.social-link-btn {
    width: 50px;
    height: 50px;
    background: #0f0f0f;
    border: 2px solid #2a2a2a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ff88;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link-btn:hover {
    background: #00ff88;
    color: #0a0a0a;
    border-color: #00ff88;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-image-side {
        height: 400px;
    }

    .contact-form-side {
        padding: 3rem 2rem;
    }

    .contact-image-overlay h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding: 6rem 0 0 0;
    }

    .contact-image-side {
        height: 350px;
    }

    .contact-form-side {
        padding: 2rem 1.5rem;
    }

    .form-row,
    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .contact-image-overlay {
        padding: 2rem;
    }

    .contact-image-overlay h1 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .contact-image-side {
        height: 300px;
    }

    .contact-form-side {
        padding: 1.5rem 1rem;
    }

    .contact-image-overlay h1 {
        font-size: 1.75rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Hide old sections */
.contact-hero,
.contact-methods,
.reservation-form,
.why-reserve,
.contact-info,
.faq-section {
    display: none;
}

/* Message Overlay */
.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.message-overlay.show {
    display: flex;
}

.message-box {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid #00ff88;
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideIn 0.3s ease;
}

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

.message-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.message-icon.success {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.message-icon.error {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.message-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.message-box p {
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.message-box .btn {
    margin-top: 1rem;
    min-width: 150px;
}
