/* ==========================================================================
   AURUM DENTAL OASIS - CORE DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-navy: #0A1428;
    --secondary-blue: #1E2D4A;
    --luxury-gold: #C5A059;
    --gold-light: #E6D5B8;
    --gold-glow: rgba(197, 160, 89, 0.3);
    --pure-white: #FFFFFF;
    --off-white: #F9FAFC;
    --text-dark: #1C2434;
    --text-muted: #67748E;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(197, 160, 89, 0.15);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-navy);
    color: var(--pure-white);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    animation: pageEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageEntrance {
    to { opacity: 1; }
}

/* Custom Selection & Scrollbar */
::selection {
    background: var(--luxury-gold);
    color: var(--primary-navy);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary-navy);
}
::-webkit-scrollbar-thumb {
    background: var(--luxury-gold);
    border-radius: 4px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Custom Global Elements */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--luxury-gold), var(--gold-light));
    width: 0%;
    z-index: 10000;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 25px 5%;
    transition: var(--transition-smooth);
    background: transparent;
}

header.sticky {
    padding: 15px 5%;
    background: rgba(10, 20, 40, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--pure-white);
    font-weight: 600;
    letter-spacing: 1px;
}

.logo span {
    color: var(--luxury-gold);
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--luxury-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.cta-nav {
    border: 1px solid var(--luxury-gold);
    padding: 10px 24px;
    border-radius: 0px;
    background: transparent;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--luxury-gold);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.cta-nav:hover {
    background: var(--luxury-gold);
    color: var(--primary-navy);
    box-shadow: 0 0 20px var(--gold-glow);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--pure-white);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* Global Sections Layout */
section {
    padding: 140px 5% 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--luxury-gold);
    display: block;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--pure-white);
}

/* Home Section Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: radial-gradient(circle at 80% 20%, var(--secondary-blue) 0%, var(--primary-navy) 70%);
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-content h1 span {
    font-style: italic;
    color: var(--luxury-gold);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--luxury-gold);
    color: var(--primary-navy);
    padding: 16px 36px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid var(--luxury-gold);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background: transparent;
    color: var(--luxury-gold);
    box-shadow: 0 0 25px var(--gold-glow);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--pure-white);
    padding: 16px 36px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    border-color: var(--luxury-gold);
    color: var(--luxury-gold);
}

/* Floating Visual Component */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 55%;
    transform: translateY(-50%);
    width: 500px;
    height: 600px;
    border: 1px solid var(--glass-border);
    border-radius: 200px 200px 0 0;
    background: url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&q=80&w=800') center/cover no-repeat;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    animation: floatingHero 6s ease-in-out infinite alternate;
}

@keyframes floatingHero {
    0% { transform: translateY(-48%) scale(1); }
    100% { transform: translateY(-52%) scale(1.02); }
}

/* Stats Section */
.stats-bar {
    background: var(--secondary-blue);
    padding: 60px 5%;
    border-y: 1px solid var(--glass-border);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--luxury-gold);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* Grid & Card Components Across Pages */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.luxury-card {
    background: linear-gradient(145deg, rgba(30,45,74,0.4) 0%, rgba(10,20,40,0.6) 100%);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.luxury-card:hover {
    transform: translateY(-10px);
    border-color: var(--luxury-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--luxury-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

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

.luxury-card i {
    font-size: 2.5rem;
    color: var(--luxury-gold);
    margin-bottom: 30px;
    display: inline-block;
}

.luxury-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.luxury-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* Reviews / Testimonial Carousel Element */
.review-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 40px 0;
}

.review-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollCarousel 45s linear infinite;
}

.review-track:hover {
    animation-play-state: paused;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 5 - 150px)); }
}

.review-card {
    width: 350px;
    background: rgba(30, 45, 74, 0.3);
    border: 1px solid var(--glass-border);
    padding: 35px;
    backdrop-filter: blur(10px);
}

.stars {
    color: var(--luxury-gold);
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.review-text {
    font-style: italic;
    color: var(--off-white);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.reviewer-meta h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--luxury-gold);
}

.reviewer-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Timeline Implementation */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background: transparent;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    right: -6px;
    background-color: var(--luxury-gold);
    border: 2px solid var(--primary-navy);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; }
.timeline-item.right::after { left: -6px; }

.timeline-content {
    padding: 30px;
    background: rgba(30, 45, 74, 0.3);
    border: 1px solid var(--glass-border);
}

.timeline-content h3 {
    color: var(--luxury-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Forms Styling */
.luxury-form {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 20, 40, 0.5);
    border: 1px solid var(--glass-border);
    padding: 60px;
    backdrop-filter: blur(30px);
}

.form-group {
    position: relative;
    margin-bottom: 40px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    color: var(--pure-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-bottom-color: var(--luxury-gold);
}

.form-label {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input:focus ~ .form-label,
.form-input:valid ~ .form-label {
    top: -20px;
    font-size: 0.75rem;
    color: var(--luxury-gold);
}

/* Interactive Components: Lightbox, Accordion & Sliders */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 350px;
    border: 1px solid var(--glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 10, 20, 0.95);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    box-shadow: 0 0 50px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 40px; right: 40px;
    color: var(--pure-white);
    font-size: 2rem;
    cursor: pointer;
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 24px 0;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-header h3 {
    font-size: 1.3rem;
    font-family: var(--font-body);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
    padding-top: 0;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    padding-top: 20px;
    transition: max-height 0.5s cubic-bezier(0.99, 0, 0.99, 0);
}

/* Global Floating Controls */
.floating-controls {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--pure-white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    position: relative;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(10px);
}

.float-btn:hover {
    transform: translateY(-5px);
}

.btn-whatsapp { color: #25D366; border-color: rgba(37, 211, 102, 0.3); }
.btn-phone { color: #00AAFF; border-color: rgba(0, 170, 255, 0.3); }
.btn-scrolltop { color: var(--luxury-gold); border-color: var(--luxury-gold); display: none; }

.audio-system {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(10, 20, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 20px 8px 8px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.audio-disc {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(45deg, #111, #333);
    border: 1px solid var(--luxury-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--luxury-gold);
}

.audio-disc.playing {
    animation: rotateDisc 3s linear infinite;
}

@keyframes rotateDisc {
    to { transform: rotate(360deg); }
}

.audio-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--off-white);
}

/* Footer Section */
footer {
    background: #050B14;
    padding: 80px 5% 40px;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand h3 span { color: var(--luxury-gold); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; }

.footer-links h4 {
    color: var(--luxury-gold);
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--luxury-gold); padding-left: 5px; }

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive Structural Systems */
@media (max-width: 1024px) {
    .hero-visual { display: none; }
    .hero { text-align: center; justify-content: center; }
    .btn-group { justify-content: center; }
    .timeline::after { left: 40px; }
    .timeline-item { width: 100%; padding-left: 80px; padding-right: 0; }
    .timeline-item.left { text-align: left; }
    .timeline-item.left::after, .timeline-item.right::after { left: 40px; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: var(--primary-navy);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-smooth);
        border-left: 1px solid var(--glass-border);
    }
    .nav-menu.active { right: 0; }
    .hamburger { display: block; }
    .section-title h2 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 3rem; }
    .luxury-form { padding: 30px; }
}
