/* Enhanced Regal & Lively Styles for Nayalle Advisors */

/* Import additional elegant fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* CSS Variables - Using Original Color Palette */
:root {
    --royal-blue: #1a202c;
    --deep-gold: #d4af37;
    --rich-purple: #2d3748;
    --elegant-navy: #1a202c;
    --champagne: #cbd5e0;
    --pearl-white: #fefefe;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --royal-gradient: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    --shadow-elegant: 0 10px 40px rgba(26, 32, 44, 0.15);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.25);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    }
}

/* Reset and Enhanced Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--elegant-navy);
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);
    overflow-x: hidden;
    position: relative;
}

/* Elegant Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    position: relative;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

h2 {
    font-size: 3rem;
    color: #1a202c;
    margin-bottom: 2.5rem;
    position: relative;
    text-align: center;
}

h2::before {
    content: '◆';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--deep-gold);
    font-size: 1.5rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--elegant-navy);
    margin-bottom: 1.2rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    color: #4a5568;
    font-weight: 400;
}

/* Enhanced Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Regal Header - Original Colors */
header {
    background: 
        linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3') center/cover;
    color: #fff;
    padding: 40px 0;
    box-shadow: var(--shadow-elegant);
    position: relative;
    overflow: hidden;
    text-align: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
}

header .container {
    animation: fadeInUp 1s ease-out;
    text-align: center;
}

.tagline {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--champagne);
    margin-top: 15px;
    letter-spacing: 1px;
    font-family: 'Crimson Text', serif;
    font-style: italic;
}

/* Magnificent Hero Section - Original Colors */
.hero {
    background:
        linear-gradient(135deg, rgba(26, 32, 44, 0.85), rgba(45, 55, 72, 0.85)),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(212, 175, 55, 0.05) 2px,
            rgba(212, 175, 55, 0.05) 4px
        ),
        url('https://images.unsplash.com/photo-1494475673543-6a6a27143b74?ixlib=rb-4.0.3') center/cover no-repeat;
    color: white;
    padding: 150px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero .container {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

.hero h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.hero h2::before {
    display: none;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #f7fafc;
    opacity: 1;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Elegant Buttons */
.btn {
    background: var(--gold-gradient);
    color: var(--elegant-navy);
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    margin-top: 20px;
    box-shadow: var(--shadow-gold);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.4);
    animation: pulse-glow 2s infinite;
}

/* Enhanced Sections */
section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

section:nth-child(even) {
    /*background:*/
    /*    linear-gradient(45deg, transparent 25%, rgba(212, 175, 55, 0.02) 25%, rgba(212, 175, 55, 0.02) 50%, transparent 50%),*/
    /*    radial-gradient(circle at 20% 80%, rgba(30, 58, 138, 0.03) 0%, transparent 50%),*/
    /*    linear-gradient(135deg, #fafbfc 0%, #f8fafc 100%);*/
    background-size: 80px 80px, 100% 100%, 100% 100%;
}

/* About Section Enhancements */
.about {
    text-align: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.about p {
    max-width: 850px;
    margin: 0 auto 2rem;
    font-size: 1.3rem;
    color: #4a5568;
    animation: fadeInUp 0.8s ease-out;
}

.about p:nth-child(3) {
    animation-delay: 0.2s;
}

.about p:nth-child(4) {
    animation-delay: 0.4s;
}

/* Luxurious Services Section */
.services {
    background: 
        radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%),
        linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    text-align: center;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(212, 175, 55, 0.02) 60px,
            rgba(212, 175, 55, 0.02) 120px
        );
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.service-box {
    background: 
        linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.service-box:nth-child(2) {
    animation-delay: 0.2s;
}

.service-box:nth-child(3) {
    animation-delay: 0.4s;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.15),
        0 0 40px rgba(212, 175, 55, 0.2);
}

.service-box h3 {
    color: #1a202c;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.service-box p {
    color: #4a5568;
    margin-bottom: 0;
    line-height: 1.7;
}

/* Elegant Why Us Section */
.why-us {
    text-align: center;
    position: relative;
}

.why-us ul {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.why-us li {
    background: 
        linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 35px 30px;
    border-radius: 15px;
    border-left: 5px solid var(--deep-gold);
    font-size: 1.2rem;
    color: var(--elegant-navy);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.8s ease-out;
}

.why-us li:nth-child(even) {
    animation: slideInRight 0.8s ease-out;
}

.why-us li:nth-child(2) {
    animation-delay: 0.2s;
}

.why-us li:nth-child(3) {
    animation-delay: 0.4s;
}

.why-us li:nth-child(4) {
    animation-delay: 0.6s;
}

.why-us li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gold-gradient);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.why-us li:hover::before {
    transform: scaleY(1);
}

.why-us li:hover {
    background: linear-gradient(145deg, #f8fafc 0%, #edf2f7 100%);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Majestic Contact Section - Original Colors */
.contact {
    background: 
        radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%),
        linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.05) 40%, rgba(212, 175, 55, 0.05) 60%, transparent 60%),
        linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #4a5568 100%);
    background-size: 100% 100%, 80px 80px, 100% 100%;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.02) 3px,
            rgba(255, 255, 255, 0.02) 6px
        );
}

.contact .container {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.contact h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact h2::before {
    color: #d4af37;
}

.contact p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.contact a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

.contact a:hover::after {
    width: 100%;
}

.contact a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Refined Footer */
footer {
    background: 
        linear-gradient(135deg, var(--elegant-navy) 0%, #0f172a 100%);
    color: var(--silver);
    text-align: center;
    padding: 50px 0;
    font-size: 1rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold-gradient);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 100px 20px;
    }
    
    section {
        padding: 80px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .why-us ul {
        grid-template-columns: 1fr;
    }
    
    .service-box, .why-us li {
        padding: 30px 25px;
    }
}

/* Scroll-triggered animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-up {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease-out;
    }
    
    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Additional elegant touches */
.elegant-divider {
    width: 100px;
    height: 2px;
    background: var(--gold-gradient);
    margin: 40px auto;
    border-radius: 1px;
}

.royal-accent {
    color: var(--royal-blue);
    font-weight: 600;
}

.gold-accent {
    color: var(--deep-gold);
    font-weight: 600;
}
