:root {
    /* Premium Dark Theme Color Palette */
    --bg-color: #020617;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-gold: #d4af37; /* Classic real estate gold */
    --accent-gold-light: #fef08a;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* For background animations */
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Dynamic background lighting */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, rgba(2, 6, 23, 1) 70%);
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 60%);
    animation: drift 20s infinite linear alternate;
}

.background-animation::after {
    right: -10vw;
    bottom: -20vw;
    animation-delay: -10s;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, -10vw) scale(1.1); }
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 550px;
    padding: 20px;
}

/* Glassmorphism Card Design */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(212, 175, 55, 0.05);
}

.logo-container {
    margin-bottom: 1.25rem;
    display: inline-flex;
    padding: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    border: 1px solid var(--card-border);
    box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.02);
}

.logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.title {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 300;
    padding: 0 1rem;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--card-border), transparent);
    margin: 1.5rem 0;
}

/* Contact Details Section */
.contact-info {
    text-align: left;
}

.contact-info h2 {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.015);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    color: var(--accent-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    margin-right: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact-details .value {
    color: var(--text-primary);
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
}

a.value:hover {
    color: var(--accent-gold-light);
}

/* Entrance Animation */
.fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */

/* Mobile Devices (up to 640px) */
@media (max-width: 640px) {
    .container {
        padding: 15px;
    }
    .glass-card {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    .title {
        font-size: 2.2rem;
    }
    .logo {
        width: 80px;
        height: 80px;
    }
    .subtitle {
        font-size: 0.95rem;
        padding: 0;
        margin-bottom: 2rem;
    }
    .contact-item {
        padding: 0.8rem 1rem;
    }
    .icon-wrapper {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        margin-right: 1rem;
    }
    .contact-details .value {
        font-size: 0.95rem;
    }
    .contact-item:hover {
        transform: none;
    }
}

/* Tablet Devices (641px to 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    .container {
        max-width: 700px;
    }
    .title {
        font-size: 3.5rem;
    }
    .glass-card {
        padding: 2.5rem 2rem;
    }
    .contact-items-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .contact-item {
        margin-bottom: 0;
        height: 100%;
        padding: 1rem;
    }
    .contact-items-wrapper .contact-item:last-child {
        grid-column: span 2;
    }
}

/* Small Desktop (1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        max-width: 900px;
    }
    .title {
        font-size: 4rem;
    }
    .glass-card {
        padding: 3rem 2.5rem;
    }
    .subtitle {
        font-size: 1.15rem;
        padding: 0 2rem;
    }
    .contact-items-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .contact-items-wrapper .contact-item:last-child {
        grid-column: span 2;
    }
    .contact-item {
        margin-bottom: 0;
        height: 100%;
        padding: 1.25rem 1rem;
    }
    .contact-info h2 {
        margin-bottom: 2rem;
    }
}

/* Large Desktop (1441px and above) */
@media (min-width: 1441px) {
    .container {
        max-width: 1050px;
    }
    .title {
        font-size: 4.5rem;
    }
    .glass-card {
        padding: 3.5rem 3rem;
        border-radius: 32px;
    }
    .subtitle {
        font-size: 1.25rem;
        padding: 0 3rem;
        margin-bottom: 3.5rem;
    }
    .logo {
        width: 130px;
        height: 130px;
    }
    .contact-items-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .contact-items-wrapper .contact-item:last-child {
        grid-column: span 2;
    }
    .contact-item {
        margin-bottom: 0;
        height: 100%;
        padding: 1.5rem 1.25rem;
    }
    .contact-info h2 {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
}
