/*
 * Modern Contact Page Styles
 */

/* ==================== Hero Section ==================== */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.85), rgba(255, 20, 147, 0.85)), url('/media/gallery/hero_hostel.jpg') center/cover no-repeat;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 105, 180, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 105, 180, 0.4);
    }
}

.contact-hero .hero-content h1,
.contact-hero .hero-content h1.display-3 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
    color: white !important;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-hero .hero-content .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9) !important;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== Contact Section ==================== */
.contact-section {
    padding: 80px 0;
    background: #0f0f1e;
}

/* ==================== Modern Alert ==================== */
.modern-alert {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-alert.alert-success {
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    border-left: 4px solid #FF69B4;
}

.modern-alert.alert-error {
    background: linear-gradient(135deg, #2d1a1a, #442d2d);
    border-left: 4px solid #ff6161;
}

.alert-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.alert-success .alert-icon {
    background: #FF69B4;
    color: white;
}

.alert-error .alert-icon {
    background: #ff6161;
    color: white;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #e2e8f0;
}

.alert-content p {
    color: #cbd5e0;
    margin: 0;
}

.alert-close {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    transition: all 0.3s;
}

.alert-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

/* ==================== Section Headers ==================== */
.section-header,
.info-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #a0aec0;
    font-size: 16px;
    margin: 0;
}

/* ==================== Form Container ==================== */
.form-container {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

/* ==================== Modern Form ==================== */
.modern-form .form-floating {
    position: relative;
}

.modern-form .form-floating .form-control {
    height: 58px;
    border: 2px solid #2d3748;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s;
    background: #0f0f1e;
    color: #e2e8f0;
}

.modern-form .form-floating textarea.form-control {
    height: 140px;
    resize: none;
}

.modern-form .form-floating .form-control:focus {
    border-color: #FF69B4;
    background: #1a1a2e;
    box-shadow: 0 0 0 4px rgba(255, 105, 180, 0.2);
}

.modern-form .form-floating label {
    color: #a0aec0;
    font-weight: 500;
    padding-left: 15px;
}

.modern-form .form-floating .form-control:focus~label,
.modern-form .form-floating .form-control:not(:placeholder-shown)~label {
    color: #FF69B4;
}

.invalid-feedback {
    color: #ff6161;
    font-size: 13px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.invalid-feedback::before {
    content: "⚠";
}

/* ==================== reCAPTCHA Container ==================== */
.recaptcha-container {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #0f0f1e;
    border-radius: 12px;
    border: 2px dashed #2d3748;
}

.recaptcha-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #0f0f1e;
    border-radius: 10px;
    font-size: 13px;
    color: #a0aec0;
}

.recaptcha-notice i {
    color: #FF69B4;
}

.recaptcha-notice a {
    color: #FF69B4;
    text-decoration: none;
    font-weight: 600;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

/* ==================== Modern Submit Button ==================== */
.btn-modern-submit {
    width: 100%;
    height: 65px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 10px 30px rgba(255, 105, 180, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Animated gradient background */
.btn-modern-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF1493 0%, #DB1374 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-modern-submit:hover::before {
    opacity: 1;
}

/* Shimmer effect */
.btn-modern-submit::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(25deg);
    transition: left 0.7s;
}

.btn-modern-submit:hover::after {
    left: 120%;
}

.btn-modern-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 20px 50px rgba(255, 105, 180, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-modern-submit:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow:
        0 5px 20px rgba(255, 105, 180, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-modern-submit:hover .btn-icon {
    transform: translateX(8px) rotate(360deg);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-modern-submit:active .btn-icon {
    transform: translateX(5px) rotate(360deg);
}

/* Loading state animation (optional) */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn-modern-submit.loading .btn-icon i {
    animation: spin 1s linear infinite;
}

.btn-modern-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* ==================== Contact Info Sidebar ==================== */
.contact-info-sidebar {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 105, 180, 0.2);
    position: sticky;
    top: 20px;
}

/* ==================== Info Cards ==================== */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    border-radius: 15px;
    border: 1px solid #2d3748;
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.1);
    border-color: #FF69B4;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF69B4, #FF1493);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.3);
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.info-text {
    color: #cbd5e0;
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

.info-link {
    color: #FF69B4;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.info-link:hover {
    color: #FF1493;
    text-decoration: underline;
}

.info-note {
    font-size: 13px;
    color: #a0aec0;
    margin-top: 5px;
}

/* ==================== Social Section ==================== */
.social-section {
    padding: 30px 0;
    border-top: 2px solid #2d3748;
}

.social-title {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #e1306c, #fd1d1d, #fcb045);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.social-btn.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

/* ==================== Google Maps ==================== */
.map-container {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.map-embed {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Animations removed for performance */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== Responsive Design ==================== */
@media (max-width: 991px) {
    .contact-hero {
        padding: 100px 0 70px;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content .lead {
        font-size: 1.15rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .form-container,
    .contact-info-sidebar {
        padding: 30px;
    }

    .contact-info-sidebar {
        position: relative;
        top: 0;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 0 60px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content .lead {
        font-size: 1.1rem;
    }

    .hero-badge {
        font-size: 14px;
        padding: 10px 24px;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 70px 0 50px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 13px;
        padding: 10px 20px;
    }

    .form-container,
    .contact-info-sidebar {
        padding: 25px;
    }

    .section-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .btn-modern-submit {
        height: 60px;
        font-size: 16px;
        padding: 0 20px;
    }

    .btn-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .btn-modern-submit:hover .btn-icon {
        transform: translateX(5px) rotate(360deg);
    }

    .social-links {
        gap: 10px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}
