/* CSS Variables for Consistency */
:root {
    --primary-blue: #0056b3;
    --primary-blue-dark: #003d82;
    --accent-gold: #d4af37;
    --accent-gold-hover: #b5952f;
    --text-dark: #333333;
    --text-light: #777777;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
}

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

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white-50 { color: rgba(255,255,255,0.7); }
.gold-text { color: var(--accent-gold); }
.bg-light { background-color: var(--bg-light); }
.bg-medical { background-color: var(--primary-blue); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.pulse-anim {
    animation: pulse 2s infinite;
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 600;
    font-size: 0.95rem;
}

.nav a:hover {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/hero_istanbul_smile_1777018424987.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue-dark);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
}

.hero-wa-btn {
    background-color: rgba(255,255,255,0.8) !important;
}

.hero-wa-btn:hover {
    background-color: var(--primary-blue) !important;
    color: var(--white) !important;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem 0;
}

.trust-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.trustpilot .stars {
    color: #00b67a;
    letter-spacing: 2px;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.intro-image-wrapper {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-light), #e9ecef);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 300px;
    border: 1px solid rgba(255,255,255,1);
}

.glass-card h3 {
    margin: 1rem 0;
    color: var(--primary-blue);
}

/* Treatments */
.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.treatment-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

#img-hollywood {
    background-image: url('assets/hollywood_smile_1777018441160.png');
}

.fallback-implant {
    background: linear-gradient(135deg, var(--primary-blue), #00a8cc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fallback-whitening {
    background: linear-gradient(135deg, #e0c3fc, #8ec5fc);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
}

.link-btn {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.link-btn:hover {
    color: var(--primary-blue);
}

/* Packages Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.package-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--accent-gold);
}

/* Reviews & Social Proof */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.review-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.review-image {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
    transition: transform 0.5s ease;
}

.review-card:hover .review-image img {
    transform: scale(1.05);
}

.review-content {
    padding: 2rem;
}

.review-content .stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-content p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.review-content h4 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin: 0;
}

.before-after-banner {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.ba-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 2rem auto 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ba-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Simulate the 'before' teeth using CSS filters on the same image */
.yellowed-teeth {
    filter: sepia(0.6) saturate(1.8) brightness(0.85) hue-rotate(-15deg);
}

.ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ba-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    z-index: 4;
    cursor: col-resize;
    margin: 0;
    opacity: 0;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--white);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-handle::after {
    content: '< >';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.label-before, .label-after {
    position: absolute;
    bottom: 20px;
    padding: 5px 15px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.label-before {
    left: 20px;
    z-index: 3;
}

.label-after {
    right: 20px;
    z-index: 1;
}

/* Facility Tour Section */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.facility-content {
    padding: 1.5rem;
}

.facility-icon {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.facility-card h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-blue-dark);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    border: 4px solid rgba(255,255,255,0.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-light), #ffffff);
    text-align: center;
}

.cta-container {
    max-width: 800px;
}

.cta-container h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.cta-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.footer-brand p {
    color: #aaaaaa;
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #aaaaaa;
}

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

.footer-contact p {
    color: #aaaaaa;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    background-color: #111111;
    padding: 1.5rem 0;
    text-align: center;
    color: #777777;
    font-size: 0.9rem;
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    z-index: 1200;
    box-shadow: 0 8px 20px rgba(0, 61, 130, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: var(--transition);
}

.scroll-to-top:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .intro-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; } /* Add hamburger menu for mobile later */
    .hero-overlay {
        background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 100%);
    }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero h1 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Quote Form Styles */
.quote-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-blue-dark);
    font-size: 0.95rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    background-color: var(--white);
}

.form-hint {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: block;
}

/* Custom Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #e2e8f0;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #cbd5e1;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-blue);
}

.checkmark:after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* File Upload Box */
.file-upload-box {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: #f8fafc;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-box:hover {
    border-color: var(--primary-blue);
    background-color: #f1f5f9;
}

.file-upload-box input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.file-upload-box p {
    font-weight: 600;
    color: var(--primary-blue-dark);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .quote-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Pricing Comparison Section */
.pricing-comparison {
    background-color: var(--white);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 12px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background-color: var(--primary-blue-dark);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.comparison-table .uk-price {
    color: #ef4444;
    font-weight: 600;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.comparison-table .turkey-price {
    color: #10b981;
    font-weight: 700;
    font-size: 1.2rem;
}

.comparison-table .savings-badge {
    background-color: #dcfce7;
    color: #166534;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-blue-dark);
    transition: background 0.3s;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
}

/* Sticky Mobile Bar */
.mobile-action-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.75rem 1rem;
    gap: 1rem;
}

@media (max-width: 768px) {
    .mobile-action-bar {
        display: flex;
    }
    
    /* Adjust footer margin so it doesn't get covered by the bar */
    .footer {
        padding-bottom: 5rem;
    }
}

.mobile-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
}

.mobile-bar-btn.wa {
    background-color: #25D366;
    color: white;
}

.mobile-bar-btn.quote {
    background-color: var(--primary-blue);
    color: white;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    max-width: 400px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none;
    border: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner h4 {
    color: #38bdf8;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

.cookie-banner p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.cookie-btns {
    display: flex;
    gap: 0.8rem;
}

.cookie-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--primary-blue);
    color: white;
    border: none;
}

.cookie-btn.settings {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 5rem; /* Above sticky mobile bar */
        max-width: none;
    }
}

