/* =================================== */
/* BENTO GRID LAYOUT FOR CONTACT PAGE */
/* =================================== */

.hydrosite-encorise-bento-grid {
    column-count: 2;
    column-gap: 40px;
    margin-bottom: 20px;
}

/* Bento Grid Items Layout */
.bento-hero {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
}

.bento-info {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
}

.bento-map {
    grid-column: 8 / 13;
    grid-row: 2 / 4;
}

.bento-form {
    grid-column: 1 / 8;
    grid-row: 3 / 5;
}

.bento-quick {
    grid-column: 8 / 13;
    grid-row: 4 / 5;
}

/* Base Bento Block Styling */
.bento-block {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bento-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(11, 148, 68, 0.15);
}

/* Bento Hero Block */
.bento-hero {
    background: linear-gradient(135deg, #0B9444 0%, #2E8B57 100%);
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-height: 500px;
}

.bento-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bento-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.bento-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 148, 68, 0.8) 0%, rgba(46, 139, 87, 0.7) 100%);
    z-index: 2;
}

.bento-hero-content {
    position: relative;
    z-index: 3;
}

.bento-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-main {
    display: block;
    font-size: 2rem;
    opacity: 0.9;
}

.title-brand {
    display: block;
    font-size: 3.5rem;
    background: linear-gradient(45deg, #fff, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bento-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-energy-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.energy-pulse {
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Bento Info Block */
.bento-glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(11, 148, 68, 0.1);
}

.bento-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0B9444, #22c55e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.bento-info-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(11, 148, 68, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-detail-item:hover {
    background: rgba(11, 148, 68, 0.1);
    transform: translateX(5px);
}

.detail-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0B9444, #22c55e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
}

.detail-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.detail-content a {
    color: #0B9444;
    text-decoration: none;
    font-weight: 500;
}

.detail-content a:hover {
    color: #22c55e;
    text-decoration: underline;
}

/* Bento Map Block */
.bento-map-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-header {
    margin-bottom: 1rem;
}

.map-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.map-header p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.map-wrapper {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
}

.map-frame {
    width: 100%;
    height: 100%;
    position: absolute;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.map-info-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
}

.map-info-content p {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 0.75rem 0;
}

.btn-directions {
    background: linear-gradient(135deg, #0B9444, #22c55e);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-directions:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 148, 68, 0.3);
}

/* Bento Form Block */
.bento-form-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0B9444, #22c55e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.form-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.form-header p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.luxury-contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.floating-label {
    position: relative;
}

.floating-label input,
.floating-label select,
.floating-label textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.floating-label input:focus,
.floating-label select:focus,
.floating-label textarea:focus {
    border-color: #0B9444;
    box-shadow: 0 0 0 3px rgba(11, 148, 68, 0.1);
}

.floating-label label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: white;
    padding: 0 0.5rem;
    color: #666;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-label.focused label,
.floating-label input:focus + label,
.floating-label select:focus + label,
.floating-label textarea:focus + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: #0B9444;
    font-weight: 500;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0B9444, #22c55e);
    transition: width 0.3s ease;
}

.floating-label.focused .form-line,
.floating-label input:focus ~ .form-line,
.floating-label select:focus ~ .form-line,
.floating-label textarea:focus ~ .form-line {
    width: 100%;
}

.form-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.btn-submit {
    background: linear-gradient(135deg, #0B9444, #22c55e);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 148, 68, 0.3);
}

.btn-energy-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-submit:hover .btn-energy-wave {
    left: 100%;
}

/* Bento Quick Block */
.bento-quick-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.quick-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.quick-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0B9444, #22c55e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.quick-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.quick-header p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(11, 148, 68, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.quick-action-btn:hover {
    background: rgba(11, 148, 68, 0.05);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(11, 148, 68, 0.1);
}

.quick-btn-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.quick-action-btn.zalo .quick-btn-icon { background: linear-gradient(135deg, #0068ff, #0084ff); }
.quick-action-btn.messenger .quick-btn-icon { background: linear-gradient(135deg, #0084ff, #0099ff); }
.quick-action-btn.whatsapp .quick-btn-icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.quick-action-btn.phone .quick-btn-icon { background: linear-gradient(135deg, #ff6b6b, #ee5a52); }
.quick-action-btn.email .quick-btn-icon { background: linear-gradient(135deg, #4285f4, #34a853); }

.quick-btn-content {
    flex: 1;
}

.quick-btn-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
}

.quick-btn-content p {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.quick-btn-arrow {
    color: #999;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.social-follow {
    margin-top: auto;
}

.social-follow h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.75rem 0;
}

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

.social-link {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link.facebook { background: #1877f2; }
.social-link.youtube { background: #ff0000; }
.social-link.linkedin { background: #0077b5; }
.social-link.instagram { background: #e4405f; }

.social-link:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Success Modal */
.contact-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-modal-content {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 3rem;
    color: #0B9444;
    margin-bottom: 1rem;
}

.success-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 1rem 0;
}

.success-modal-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.btn-close-modal {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .hydrosite-encorise-bento-grid {
    }
    
    .bento-hero {
        grid-column: 1 / 6;
        grid-row: 1 / 3;
    }
    
    .bento-info {
        grid-column: 6 / 9;
        grid-row: 1 / 2;
    }
    
    .bento-map {
        grid-column: 6 / 9;
        grid-row: 2 / 3;
    }
    
    .bento-form {
        grid-column: 1 / 6;
        grid-row: 3 / 4;
    }
    
    .bento-quick {
        grid-column: 6 / 9;
        grid-row: 3 / 4;
    }
}

@media (max-width: 768px) {
    .hydrosite-encorise-bento-grid {
        column-count: 1;
        column-gap: 10px;
    }
    
    .bento-hero,
    .bento-info,
    .bento-map,
    .bento-form,
    .bento-quick {
        grid-column: 1;
        grid-row: auto;
    }
    
    .bento-hero {
        min-height: 300px;
    }
    
    .bento-hero-title {
        font-size: 2rem;
    }
    
    .title-brand {
        font-size: 2.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .container-fluid {
        padding: 0 1rem;
    }
}

/* ================================= */
/* END BENTO GRID LAYOUT            */
/* ================================= */ 