/* 
  Dr Radojević Dental Clinic - Luxury Theme 
*/

:root {
    /* Color Palette */
    --clr-navy: #1b4f8a;
    --clr-navy-light: #2a6db5;
    --clr-gold: #218F3B;
    --clr-gold-light: #E6F4EA;
    --clr-accent-grad: linear-gradient(135deg, #68d391, #2f855a);
    --clr-red: #d11919;
    --clr-white: #FFFFFF;
    --clr-off-white: #F8F9FA;
    --clr-text-main: #333333;
    --clr-text-light: #666666;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing & Layout */
    --section-padding: 100px 0;
    --border-radius: 4px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--clr-text-main);
    line-height: 1.6;
    background-color: var(--clr-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-navy);
}

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

ul {
    list-style: none;
}

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

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--clr-off-white);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background: var(--clr-accent-grad);
    color: var(--clr-white);
    border: none;
    padding: 14px 34px;
}

.btn-primary:hover {
    background: var(--clr-accent-grad);
    color: var(--clr-white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(33, 143, 59, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-navy);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    padding: 15px 0;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.site-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--clr-navy);
    font-weight: 700;
}

.logo-dr {
    color: var(--clr-red);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clr-navy-light);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-gold);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--clr-navy);
    transition: var(--transition);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: none;
    border: 1px solid var(--clr-navy-light);
    border-radius: var(--border-radius);
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-navy);
    transition: var(--transition);
}

.lang-btn:hover {
    background-color: var(--clr-off-white);
}

.flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: var(--clr-white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 120px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.lang-dropdown.active {
    display: flex;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: var(--clr-navy);
    transition: var(--transition);
}

.lang-option:hover {
    background-color: var(--clr-off-white);
    color: var(--clr-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../assets/stolica.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    color: var(--clr-white);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* About Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--clr-accent-grad);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--clr-text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--clr-gold);
    border-radius: var(--border-radius);
    z-index: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--clr-text-light);
}

.about-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: var(--clr-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.about-features li:hover .feature-icon {
    transform: rotate(15deg) scale(1.1);
    background-color: var(--clr-gold);
    color: var(--clr-white);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--clr-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-bottom-color: var(--clr-gold);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
}

.service-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    animation: float 4s ease-in-out infinite;
}

.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-desc {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* Ortopan Section */
.ortopan-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ortopan-image {
    position: relative;
    order: 2;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.ortopan-image img {
    transition: transform 0.6s ease;
}

.ortopan-image:hover img {
    transform: scale(1.03);
}

.ortopan-text {
    order: 1;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-items {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--clr-navy);
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    animation: pulse-glow 1.5s infinite;
    background-color: var(--clr-gold);
    color: var(--clr-navy);
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.info-text p, .info-text a {
    color: var(--clr-text-light);
}

.info-text a:hover {
    color: var(--clr-gold);
}

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

/* Footer */
.footer {
    background-color: var(--clr-navy);
    color: var(--clr-white);
    padding: 40px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.creator-text {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.5px;
}

.creator-link {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.creator-link:hover {
    color: var(--clr-gold);
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .about-container, .contact-container, .ortopan-container {
        grid-template-columns: 1fr;
    }
    
    .ortopan-image {
        order: 1;
    }
    
    .ortopan-text {
        order: 2;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .image-accent {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--clr-white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .nav-list a {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .site-logo {
        height: 40px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .about-features li {
        font-size: 0.95rem;
    }
    
    .lang-switcher-item {
        margin-top: 10px;
    }
}
