﻿:root {
    --primary-color: #34387d;
    --secondary-color: #03106e;
    --accent-color: #55a5fa;
    --dark-color: #161836;
    --light-color: #9db7f2;
    --text-color: #e4eaf7;
    --shadow-color: rgba(59, 67, 130, 0.3);
    --card-text-color: #3572db;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: radial-gradient(circle at 10% 20%, var(--primary-color) 0%, transparent 20%), radial-gradient(circle at 90% 80%, var(--secondary-color) 0%, transparent 20%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(27, 37, 74, 0.8) 0%, rgba(36, 78, 102, 0.5) 100%);
        z-index: -1;
    }

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, var(--accent-color), var(--light-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px var(--shadow-color);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

video {
    width: 100%;
    display: block;
}

.gallery-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

    .section-title h2 {
        font-size: 2rem;
        display: inline-block;
        padding: 0 20px;
        background-color: var(--dark-color);
        position: relative;
        z-index: 1;
        color: var(--accent-color);
    }

    .section-title::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
        z-index: 0;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px var(--shadow-color);
    }

    .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

    .gallery-item .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(45, 25, 70, 0.9) 0%, transparent 100%);
        padding: 20px;
        color: white;
    }

    .gallery-item h3 {
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .gallery-item p {
        font-size: 0.9rem;
        opacity: 0.8;
    }

.house-info {
    padding: 50px 0;
    background: rgba(45, 25, 70, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 40px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: rgba(70, 35, 100, 0.2);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
}

    .info-card:hover {
        background: rgba(70, 35, 100, 0.4);
        transform: translateY(-5px);
    }

    .info-card h3 {
        color: var(--accent-color);
        margin-bottom: 15px;
        font-size: 1.3rem;
        display: flex;
        align-items: center;
    }

        .info-card h3 i {
            margin-right: 10px;
            font-size: 1.2rem;
        }

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    background: rgba(27, 37, 74, 0.5);
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 250px;
    }
}

/* Mystic effects */
.mystic-orb {
    position: fixed;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    filter: blur(30px);
    opacity: 0.2;
    z-index: -1;
    animation: float 15s infinite ease-in-out;
}

.orb-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    bottom: 15%;
    right: 10%;
    animation-delay: 3s;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }

    50% {
        transform: translateY(-50px) translateX(20px);
    }
}
 /* Mystic Orb Styles */
        .mystic-orb {
            position: fixed;
            border-radius: 50%;
            filter: blur(60px);
            opacity: 0.6;
            z-index: -1;
            animation: float 15s infinite ease-in-out;
        }

        .orb-1 {
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(138,43,226,0.8) 0%, rgba(0,0,0,0) 70%);
            top: 20%;
            left: 10%;
        }

        .orb-2 {
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(100,149,237,0.6) 0%, rgba(0,0,0,0) 70%);
            bottom: 10%;
            right: 10%;
            animation-delay: 5s;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) translateX(0);
            }

            50% {
                transform: translateY(-50px) translateX(20px);
            }
        }

        /* Header Styles */
        header {
            text-align: center;
            padding: 2rem 0;
            position: relative;
            z-index: 10;
        }

            header h1 {
                font-size: 3.5rem;
                font-weight: 300;
                margin-bottom: 0.5rem;
                background: linear-gradient(90deg, var(--card-text-color), #6495ed);
                -webkit-background-clip: text;
                background-clip: text;
                color: transparent;
                text-shadow: 0 2px 10px rgba(0,0,0,0.1);
            }

        .subtitle {
            font-size: 1.2rem;
            color: #aaa;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* Video Container Styles */
        .video-container {
            position: relative;
            width: 100%;
            height: 50vh; /* Show only top 50% of video */
            overflow: hidden;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

            .video-container::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                height: 100px;
                background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
                z-index: 1;
            }

            .video-container video {
                width: 100%;
                height: auto;
                object-fit: cover;
                object-position: center top;
                position: absolute;
                top: 0;
                left: 0;
                filter: brightness(1.1) contrast(1.1);
            }

        /* House Info Styles */
        .house-info {
            margin: 3rem 0;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .info-card {
            background: rgba(30, 30, 40, 0.7);
            border-radius: 10px;
            padding: 1.5rem;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

            .info-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            }

            .info-card h3 {
                color: var(--card-text-color);
                margin-bottom: 1rem;
                font-size: 1.7rem;
            }

            .info-card i {
                margin-right: 0.5rem;
            }

        /* Enhanced Gallery Styles */
        .gallery-section {
            position: relative;
            z-index: 10;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            position: relative;
        }

        .gallery-item {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            aspect-ratio: 4/3;
            transition: transform 0.3s ease;
            background: rgba(30, 30, 40, 0.3);
        }

            .gallery-item.loading::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                width: 30px;
                height: 30px;
                border: 3px solid rgba(255,255,255,0.3);
                border-radius: 50%;
                border-top-color: #fff;
                animation: spin 1s ease-in-out infinite;
                transform: translate(-50%, -50%);
            }

        

        /*Property info*/

.property-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    text-align: center;
}

.property-title {
    font-size: 1.8rem;
    margin: 0;
}

.property-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.property-section {
    background-color: transparent;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.property-section-title {
    background-color: var(--accent-color);
    padding: 12px 15px;
    margin: 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #ddd;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

    .detail-item:last-child {
        border-bottom: none;
    }

.detail-label {
    font-weight: 500;
    color: inherit;
}

.detail-value {
    text-align: right;
    font-style: italic;
    color: #fff;
}

.highlight-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .property-container {
        grid-template-columns: 1fr;
    }

    .property-title {
        font-size: 1.5rem;
    }
}

/*Image loading on mobile fixing*/
.gallery-thumbnail {
    opacity: 0.9;
    filter: blur(2px);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.gallery-image-loaded {
    opacity: 1;
    filter: blur(0);
}

/* LightGallery Custom Overrides - Large screens only */

    .lg-outer {
        background-color: rgba(0, 0, 0, 0.95) !important;
    }

      