/* ================================
   LUXURY HOMES NCR - ANTIGRAVITY THEME
   Design System & Styles
   ================================ */

/* ===== CSS Variables ===== */
:root {
    /* Color Palette */
    --deep-black: #050505;
    --charcoal: #1a1a1a;
    --dark-grey: #2a2a2a;
    --metallic-gold: #D4AF37;
    --gold-light: #F4E4B0;
    --gold-dark: #B8941F;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--deep-black);
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== Ambient Background Effects ===== */
.ambient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    width: 100%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.logo-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-numbers {
    display: flex;
    gap: var(--spacing-md);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--metallic-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-link:hover::before {
    width: 300px;
    height: 300px;
}

.contact-link:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--metallic-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.contact-link i {
    font-size: 1rem;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(5, 5, 5, 0.5) 0%, rgba(26, 26, 26, 0.4) 100%),
        url('hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 5, 5, 0.3) 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.3) 0%, transparent 50%, rgba(212, 175, 55, 0.08) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -2px;
    text-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.gradient-text {
    background: linear-gradient(135deg, var(--metallic-gold) 0%, var(--gold-light) 50%, var(--metallic-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
    display: inline-block;
    position: relative;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--metallic-gold), transparent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--deep-black);
    background: linear-gradient(135deg, var(--metallic-gold) 0%, var(--gold-light) 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow:
        0 10px 40px rgba(212, 175, 55, 0.4),
        0 0 60px rgba(212, 175, 55, 0.2),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: buttonShine 3s linear infinite;
}

@keyframes buttonShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.6),
        0 0 80px rgba(212, 175, 55, 0.3),
        inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.cta-button i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    animation: floatAround 20s ease-in-out infinite;
    pointer-events: none;
}

.float-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.float-2 {
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.float-3 {
    bottom: 10%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes floatAround {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.2);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.8);
    }

    75% {
        transform: translate(40px, 40px) scale(1.1);
    }
}

/* ===== Sections ===== */
.projects,
.exploration {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -1px;
}

/* ===== Featured Projects Section ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.project-card {
    position: relative;
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 20px;
    padding: var(--spacing-md);
    transition: var(--transition-bounce);
    cursor: pointer;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover::before {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.project-card:hover .card-glow {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.25;
    }
}

.project-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--metallic-gold);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(212, 175, 55, 0.3),
        inset 0 0 40px rgba(212, 175, 55, 0.05);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--metallic-gold) 0%, var(--gold-light) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: var(--deep-black);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: #ffffff;
}

.card-description {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--metallic-gold);
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.8rem 1.8rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--metallic-gold);
    border-radius: 50px;
    color: var(--metallic-gold);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    font-size: 1rem;
}

.card-button:hover {
    background: var(--metallic-gold);
    color: var(--deep-black);
    transform: translateX(5px);
}

/* Specific Project Styles */
#project-jacob {
    background:
        linear-gradient(to bottom, rgba(5, 5, 5, 0.15), rgba(5, 5, 5, 0.6)),
        url('jacob-co.png') center/cover no-repeat;
}

#project-jacob .card-icon {
    background: rgba(212, 175, 55, 0.9);
}

#project-cullinan {
    background:
        linear-gradient(to bottom, rgba(5, 5, 5, 0.15), rgba(5, 5, 5, 0.6)),
        url('cullinan.jpg') center/cover no-repeat;
}

#project-cullinan .card-icon {
    background: rgba(212, 175, 55, 0.9);
}

#project-starlit {
    background:
        linear-gradient(to bottom, rgba(5, 5, 5, 0.15), rgba(5, 5, 5, 0.6)),
        url('ace-starlit.jpg') center/cover no-repeat;
}

#project-starlit .card-icon {
    background: rgba(212, 175, 55, 0.9);
}

/* ===== Exploration Grid ===== */
.exploration {
    background: linear-gradient(180deg, var(--deep-black) 0%, var(--charcoal) 100%);
}

.exploration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.exploration-button {
    position: relative;
    padding: var(--spacing-lg);
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    overflow: hidden;
    min-height: 200px;
    justify-content: center;
}

.exploration-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s;
}

.exploration-button:hover::before {
    left: 100%;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.exploration-button:hover .button-glow {
    opacity: 1;
    width: 200px;
    height: 200px;
}

.exploration-button:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--metallic-gold);
    background: rgba(212, 175, 55, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 175, 55, 0.2);
}

.exploration-button i {
    font-size: 3rem;
    color: var(--metallic-gold);
    transition: var(--transition-smooth);
}

.exploration-button:hover i {
    transform: scale(1.2) rotate(10deg);
}

.exploration-button span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
}

.button-arrow {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
    color: var(--metallic-gold);
    font-size: 1.2rem;
}

.exploration-button:hover .button-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Footer ===== */
.footer {
    padding: var(--spacing-xl) 0 var(--spacing-md);
    background: linear-gradient(180deg, var(--charcoal) 0%, var(--deep-black) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.3));
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contacts h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: var(--metallic-gold);
}

.footer-contact-numbers {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
}

.footer-contact-link:hover {
    color: var(--metallic-gold);
    transform: translateX(5px);
}

.footer-contact-link i {
    color: var(--metallic-gold);
    font-size: 1rem;
}

.footer-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-tagline p {
    margin: var(--spacing-xs) 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--spacing-sm);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .contact-numbers {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .exploration-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .logo-image {
        height: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}