/* Custom CSS for Globe Luxuries - Light Luxury Theme */

:root {
    --primary: #7B2D3B;
    --primary-light: #9A4B5A;
    --gold: #B8965A;
    --gold-light: #D4B07A;
    --ivory: #FAF8F5;
    --ivory-dark: #F0EDE8;
    --text-dark: #2A2A2A;
    --text-muted: #6B6B6B;
    --text-light: #8A8A8A;
    --border: rgba(42, 42, 42, 0.08);
    --glass: rgba(250, 248, 245, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 40px -10px rgba(42, 42, 42, 0.05);
    --shadow-hover: 0 20px 40px -5px rgba(123, 45, 59, 0.1);
}

/* Base & Typography */
body {
    background-color: var(--ivory);
    color: var(--text-muted);
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant', serif;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: -0.02em;
}

p {
    line-height: 1.8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ivory);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-light);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--ivory);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'Cormorant', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    animation: pulse 2s infinite;
}

.loader-line {
    width: 0;
    height: 2px;
    background-color: var(--primary);
    margin: 0 auto;
    animation: expandLine 1.5s ease-in-out forwards;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 60px; }
}

/* Glass Navigation */
.glass-nav {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-100 { transition-delay: 0.1s; }
.reveal-delay-200 { transition-delay: 0.2s; }
.reveal-delay-300 { transition-delay: 0.3s; }

/* Luxury Card Styling */
.luxury-card {
    background: #fff;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 10;
}

.luxury-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.luxury-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    padding: 1rem 2.5rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    padding: 1rem 2.5rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}

/* Image Gradients (Placeholders) */
.bg-gradient-gold {
    background: linear-gradient(135deg, #F5F1EB 0%, #E6DFD3 100%);
}

.bg-gradient-luxury {
    background: linear-gradient(135deg, #F0EDE8 0%, #D8D0C5 100%);
}

.property-placeholder {
    position: relative;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(42,42,42,0.7) 100%);
    z-index: 5;
    pointer-events: none;
}

.property-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(42,42,42,0.6) 100%);
}

/* Custom Utilities */
.text-stroke-gold {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px var(--gold-light);
    opacity: 0.3;
}

.gold-line {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin: 2rem 0;
}

.gold-line.center {
    margin: 2rem auto;
}

/* Form Styles */
.form-input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(42, 42, 42, 0.2);
    padding: 1rem 0;
    color: var(--text-dark);
    font-family: 'Raleway', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.form-select {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(42, 42, 42, 0.2);
    padding: 1rem 0;
    color: var(--text-dark);
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-bottom-color: var(--primary);
}
