/* Core Styles */
.interactive-hover {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.interactive-hover:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.dark-mode {
    background-color: #1a1a1a;
    color: #ffffff;
}
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
.floating { animation: float 3s ease-in-out infinite; }

/* Initial state for hero animations - controlled by GSAP from/fromTo */
.animate-slide-in-left { /* Initial opacity and transform will be set by GSAP */ }
.animate-slide-in-right { /* Initial opacity and transform will be set by GSAP */ }
.animate-fade-in { /* Initial opacity will be set by GSAP */ }

/* Modal Styles */
.modal {
    display: none; /* Default hidden */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0; /* Start invisible for transition */
    transition: opacity 0.3s ease;
}
.modal.active {
    display: flex; /* Show when active */
    opacity: 1; /* Become visible */
}
.modal-content {
    position: relative;
    background: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    /* Animation for content itself, not related to display property */
    animation: modalSlideIn 0.3s ease-out;
}
@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}
.close:hover { color: #000; }

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}
.chat-widget:hover { transform: scale(1.1); }

.chat-options {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 200px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1001;
    display: none;
    flex-direction: column;
    padding: 1rem;
    opacity: 0;
}
.chat-options.active {
    display: flex;
    opacity: 1;
}

.chat-option-btn {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}
.chat-option-btn:hover {
    background-color: #f0f0f0;
}
.chat-option-btn i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

@keyframes chatSlideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Design Tools */
.design-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.toolbar-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.toolbar-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}
.toolbar-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.invitation-canvas {
    border: 2px dashed #ccc;
    min-height: 500px;
    position: relative;
    background: white;
    overflow: hidden;
}
.draggable-element {
    cursor: move;
    position: absolute;
    border: 1px solid transparent;
    padding: 5px;
}
.draggable-element:hover {
    border-color: #3b82f6;
}
.draggable-element.selected {
    border-color: #3b82f6;
    border-width: 2px;
}

/* Payment Methods */
.payment-method {
    border: 2px solid transparent;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}
.payment-method:hover {
    border-color: #007bff;
    background: #e7f3ff;
}
.payment-method.selected {
    border-color: #007bff;
    background: #e7f3ff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.1);
}
.payment-method .ri-check-line {
    display: none;
}
.payment-method.selected .ri-check-line {
    display: block;
}

/* AR/VR Features */
.ar-preview {
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.virtual-tour-viewer {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    cursor: grab;
}
.virtual-tour-viewer:active {
    cursor: grabbing;
}

/* User Profile */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Voice Search */
.voice-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Loading States */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    display: block;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
    margin: 0.25rem;
    font-size: 0.75rem;
}

/* Forms */
.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-control:focus {
    border-color: #667eea;
    outline: none;
}

.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Social Media */
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666;
}
.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-3px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
}
.mobile-menu a {
    font-size: 1.5rem;
    margin: 1rem 0;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}
.mobile-menu a:hover {
    color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-gradient { padding: 2rem 0; }
    .chat-options { width: 250px; }
    .virtual-tour-viewer { height: 250px; }
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Special Effects */
.success-animation {
    animation: bounceIn 0.8s ease-out;
}
@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.crypto-icon {
    animation: rotate 10s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Timeline */
.booking-timeline {
    position: relative;
}
.booking-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: bold;
}

/* For Blog post content formatting */
.prose {
    font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    line-height: 1.75;
    color: #374151; /* gray-800 */
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #111827; /* gray-900 */
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.25;
}
.prose h1 { font-size: 2.25em; }
.prose h2 { font-size: 1.875em; }
.prose h3 { font-size: 1.5em; }
.prose p {
    margin-top: 1em;
    margin-bottom: 1em;
}
.prose a {
    color: #2563eb; /* blue-600 */
    text-decoration: underline;
}
.prose ul {
    list-style-type: disc;
    margin-left: 1.25em;
    padding-left: 0;
    margin-top: 1em;
    margin-bottom: 1em;
}
.prose ol {
    list-style-type: decimal;
    margin-left: 1.25em;
    padding-left: 0;
    margin-top: 1em;
    margin-bottom: 1em;
}
.prose li {
    margin-bottom: 0.5em;
}
.prose strong {
    font-weight: 700;
}
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}