@font-face {
    font-family: 'TOPLUXURY';
    src: url('../font/TOPLUXURY.woff2') format('woff2'),
         url('../font/TOPLUXURY.woff') format('woff'),
         url('../font/TOPLUXURY.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --nude: #F4EDEB;
    --nude-light: #EDE7E5;
    --gold: #C4A56B;
    --gold-dark: #BFA16A;
    --white: #FFFFFF;
    --dark: #333333;
    --gray: #666666;
}

body {
    font-family: 'Geist', sans-serif;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'TOPLUXURY', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.btn-nav {
    padding: 12px 28px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 165, 107, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 165, 107, 0.4);
}

.btn-nav.active {
    background: var(--gold-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(244, 237, 235, 0.7) 0%, rgba(255, 255, 255, 0.65) 100%), url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(45deg, rgba(196, 165, 107, 0.1), rgba(244, 237, 235, 0.2), rgba(196, 165, 107, 0.1));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--nude);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gold);
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: var(--nude-light);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(196, 165, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 165, 107, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 20px;
    position: relative;
    animation: scroll 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll-dot 2s infinite;
}

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

@keyframes scroll-dot {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

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

.reveal-left,
.reveal-right,
.reveal-up,
.reveal-scale {
    opacity: 0;
    transition: all 0.8s ease;
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-left.active,
.reveal-right.active,
.reveal-up.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--nude-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin-bottom: 30px;
    border-radius: 2px;
}

.title-underline.center {
    margin-left: auto;
    margin-right: auto;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
}

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

/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(244, 237, 235, 0.95)), url('https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--gold);
}

.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
}

/* Orthodontics Section */
.orthodontics {
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)), url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.ortho-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.ortho-card {
    background: linear-gradient(135deg, var(--nude-light) 0%, var(--nude) 100%);
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.ortho-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(196, 165, 107, 0.2);
}

.ortho-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.ortho-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.ortho-card p {
    font-size: 14px;
    color: var(--gray);
}

/* Why Choose Section */
.why-choose {
    padding: 120px 0;
    background: linear-gradient(rgba(244, 237, 235, 0.95), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1629909615957-be38edb9ff66?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 70px;
}

.carousel-wrapper {
    display: flex;
    gap: 30px;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card {
    min-width: calc(33.333% - 20px);
    text-align: center;
    padding: 50px 35px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--gold);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--nude);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--gold);
    width: 30px;
    border-radius: 6px;
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 120px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    background: var(--nude-light);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    font-size: 72px;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(191, 161, 106, 0.92), rgba(196, 165, 107, 0.92)), url('https://images.unsplash.com/photo-1606811971618-4486d14f3f99?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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

.cta-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 40px;
}

.cta-btn-large {
    display: inline-block;
    padding: 20px 50px;
    background: var(--white);
    color: var(--gold);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.info-item p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-map iframe {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: var(--dark);
    padding: 40px 0;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copyright {
    color: var(--gray);
    font-size: 13px;
}

/* Booking Page */
.booking-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--nude-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.booking-header {
    text-align: center;
}

.booking-header h1 {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: 15px;
}

.booking-header p {
    font-size: 20px;
    color: var(--gray);
}

.booking-form-section {
    padding: 80px 0 120px;
    background: var(--white);
}

.booking-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.booking-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--nude);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Geist', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196, 165, 107, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(196, 165, 107, 0.3);
}

.submit-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(196, 165, 107, 0.4);
}

.submit-btn:hover svg {
    transform: translateX(5px);
}

.success-message {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--nude-light) 0%, var(--nude) 100%);
    border-radius: 20px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 20px;
}

.success-message h3 {
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 15px;
}

.success-message p {
    font-size: 16px;
    color: var(--gray);
}

.booking-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--nude-light);
    padding: 40px;
    border-radius: 20px;
}

.info-card h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
}

.info-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.info-divider {
    height: 2px;
    background: var(--gold);
    opacity: 0.3;
    margin: 25px 0;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.detail-item strong {
    display: block;
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 5px;
}

.detail-item p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ortho-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero,
    .services,
    .orthodontics,
    .why-choose,
    .cta-section {
        background-attachment: scroll;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 40px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .about-grid,
    .contact-grid,
    .booking-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ortho-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-wrapper {
        gap: 20px;
    }
    
    .feature-card {
        min-width: calc(50% - 10px);
        padding: 45px 30px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .booking-form {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .services-grid,
    .ortho-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-wrapper {
        gap: 0;
    }
    
    .feature-card {
        min-width: 100%;
        padding: 40px 25px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
