/* ======= Reset and Base Styles ======= */
:root {
    /* Vaporwave/Futuristic color palette */
    --primary-color: #ff00ff; /* Neon pink */
    --secondary-color: #00ffff; /* Cyan */
    --accent-color: #7b42f6; /* Purple */
    --background-dark: #0b0b20; /* Dark blue-black */
    --background-light: #1a1a35; /* Slightly lighter blue */
    --text-light: #ffffff;
    --text-grey: #b3b3cc;
    --neon-glow: 0 0 10px rgba(255, 0, 255, 0.7), 0 0 20px rgba(255, 0, 255, 0.5), 0 0 30px rgba(255, 0, 255, 0.3);
    --cyan-glow: 0 0 10px rgba(0, 255, 255, 0.7), 0 0 20px rgba(0, 255, 255, 0.5), 0 0 30px rgba(0, 255, 255, 0.3);
    --gradient-bg: linear-gradient(135deg, #0b0b20 0%, #1a1a35 100%);
    --grid-gap: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0.5rem auto 0;
    box-shadow: var(--neon-glow);
}

/* ======= Typography ======= */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

.neon-text {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.glow-text {
    color: var(--secondary-color);
    text-shadow: var(--cyan-glow);
}

/* ======= Buttons ======= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(123, 66, 246, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(123, 66, 246, 0.5);
    color: var(--text-light);
}

.btn-secondary {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    color: var(--background-dark);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 255, 255, 0.5);
    color: var(--background-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* ======= Header ======= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 11, 32, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(123, 66, 246, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ======= Hero Section ======= */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    padding-left: 5%;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 80%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.shape {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(40px);
}

.shape1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 0, 255, 0.15);
    top: -150px;
    left: -150px;
}

.shape2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 255, 255, 0.15);
    bottom: -200px;
    right: -200px;
}

/* ======= About Section ======= */
.about {
    background: var(--background-light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--grid-gap);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 80%;
    filter: drop-shadow(0 0 15px rgba(123, 66, 246, 0.5));
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-grey);
}

/* ======= Services Section ======= */
.services {
    background: var(--gradient-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.service-card {
    background: rgba(26, 26, 53, 0.6);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    border-left: 3px solid var(--secondary-color);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px var(--secondary-color));
}

.service-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    text-align: center;
    color: var(--text-grey);
}

/* ======= Properties Section ======= */
.properties {
    background: var(--background-light);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.property-card {
    background: var(--background-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.property-image {
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.location {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.features {
    margin-bottom: 1.5rem;
}

.features li {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* ======= Testimonials Section ======= */
.testimonials {
    background: var(--gradient-bg);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial {
    padding: 0 1rem;
}

.testimonial-content {
    background: rgba(26, 26, 53, 0.6);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    margin-bottom: 1.5rem;
    font-style: italic;
    color: var(--text-light);
}

.client h4 {
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.client p {
    color: var(--text-grey);
    font-style: normal;
    font-size: 0.9rem;
}

/* Responsive layout for testimonials */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ======= Blog Preview Section ======= */
.blog-preview {
    background: var(--background-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.blog-card {
    background: var(--background-dark);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.blog-image {
    height: 180px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.date {
    color: var(--text-grey);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.excerpt {
    color: var(--text-grey);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.3rem;
    transition: margin-left 0.3s ease;
}

.read-more:hover::after {
    margin-left: 0.6rem;
}

/* ======= Contact Section ======= */
.contact {
    background: var(--gradient-bg);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: var(--grid-gap);
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item .icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(26, 26, 53, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.social-links .icon {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

.subscription-form {
    flex: 1;
    min-width: 300px;
    background: rgba(26, 26, 53, 0.6);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.subscription-form h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.subscription-form p {
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 2px solid var(--text-grey);
    background: transparent;
    color: var(--text-light);
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-bottom-color: var(--secondary-color);
}

.checkbox {
    display: flex;
    align-items: flex-start;
}

.checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox label {
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* ======= Footer ======= */
footer {
    background: var(--background-dark);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 50px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-grey);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-col p {
    color: var(--text-grey);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* ======= Cookie Consent ======= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 11, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    color: var(--text-grey);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-settings-panel {
    max-width: 800px;
    margin: 1.5rem auto 0;
    background: rgba(26, 26, 53, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    display: none;
}

.cookie-settings-panel h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
}

.cookie-option label {
    color: var(--text-light);
    font-weight: bold;
    margin-left: 0.5rem;
}

.cookie-option p {
    margin-top: 0.3rem;
    color: var(--text-grey);
    font-size: 0.9rem;
    margin-left: 2rem;
}

/* ======= Responsive Styles ======= */
@media (max-width: 992px) {
    .hero-content {
        width: 100%;
        text-align: center;
        padding: 0 2rem;
    }

    .hero-content p {
        margin: 0 auto 2rem;
    }

    .hero-image {
        width: 100%;
        position: relative;
        height: 50%;
        margin-top: 2rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
    }
    
    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--background-dark);
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        z-index: 100;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .services-grid, .properties-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}
