/* ==========================================================================
   VRTuru - Antigravity Dark Theme
   ========================================================================== */

/* Variables */
:root {
    --bg-color: #050505;
    --bg-alt: #0a0a0a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary-color: #00aeef;
    --primary-hover: #38bdf8;
    --accent-color: #0ea5e9;
    --card-bg: rgba(25, 30, 40, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(5, 5, 5, 0.85);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.7);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.9);
}

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

body {
    font-family: 'Google Sans Flex', -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Use a sans-serif for body text for better readability, keep Playfair for headings */
p, a, li, input, textarea, button, .nav-links, .btn {
    font-family: 'Google Sans Flex', -apple-system, sans-serif;
}
code, pre, .mono {
    font-family: 'Google Sans Code', monospace;
}

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

ul {
    list-style: none;
}

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

.grid {
    display: grid;
    gap: 30px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.highlight {
    color: var(--primary-color);
}

.highlight-text {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 999px; /* Pill shape for Antigravity style */
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Google Sans Flex', -apple-system, sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.5);
}

.btn-secondary {
    background: #fff;
    color: var(--bg-color);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #666666;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Cards (Replacing Glassmorphism with Clean Shadows) */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 25px 0;
    transition: var(--transition);
}

.glass-nav.scrolled {
    padding: 15px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
}

.glass-nav.scrolled .logo,
.glass-nav.scrolled .nav-links a {
    color: var(--text-color);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff; /* White text for transparent top nav */
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    z-index: 0;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    color: var(--text-color);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 174, 239, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 174, 239, 0); }
}

.type-effect {
    position: relative;
}
.type-effect::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--primary-color);
}

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

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* Helps readability if background is bright */
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Marquee / Trusted By */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    white-space: nowrap;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-alt), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-alt), transparent);
}

.marquee-track {
    display: flex;
    animation: scroll 30s linear infinite;
}



.marquee-item {
    font-family: 'Google Sans Code', monospace;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: var(--transition);
}

.marquee-item:hover {
    opacity: 1;
    color: var(--text-color);
}

.marquee-item img {
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.marquee-item:hover img {
    transform: scale(1.2);
}


@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Demos Section */
.demos {
    padding: 100px 0 0 0;
    background: var(--bg-color);
}

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

.iframe-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto; /* Ortalamak için */
    aspect-ratio: 16 / 9; /* Modern aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--bg-color);
}

.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-muted);
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
    background: #666666;
}

.use-cases-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.showcase-card {
    padding: 0;
    overflow: hidden;
    border: none;
    box-shadow: var(--shadow-md);
}

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* Background images for Use Cases */
.bg-realestate { background-image: url('../images/usecase-realestate.jpg'); }
.bg-hotel { background-image: url('../images/usecase-hotel.jpg'); }
.bg-store { background-image: url('../images/usecase-retail.jpg'); }
.bg-health { background-image: url('../images/usecase-healthcare.jpg'); }
.bg-construction { background-image: url('../images/usecase-construction.jpg'); }
.bg-industry { background-image: url('../images/usecase-industry.jpg'); }
.bg-fair { background-image: url('../images/usecase-fair.jpg'); }
.bg-education { background-image: url('../images/usecase-education.jpg'); }

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

.card-content {
    padding: 30px;
    background: #fff;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

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

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color);
    transition: var(--transition);
    font-family: 'Google Sans Flex', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.form-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    color: #059669;
}

.form-status.error {
    color: #dc2626;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
    background: #666666;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3.0rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        min-height: 120px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #0095cc; /* darker blue */
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.6);
}

.whatsapp-text {
    position: absolute;
    right: 75px;
    background-color: #fff;
    color: #0a0a0f;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Interactive Tabs UI (Glassmorphism) */
.tabs-wrapper {
    background-color: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.tab-headers {
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tab-btn {
    flex: 1;
    min-width: 130px;
    background: none;
    border: none;
    padding: 20px 15px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Google Sans Flex', sans-serif;
}
.tab-btn:hover {
    color: var(--primary-color);
    background-color: rgba(0, 174, 239, 0.05);
}
.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.02);
}
.tab-content-container {
    padding: 40px;
}
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}
.tab-pane.active {
    display: block;
}
.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15vw;
    align-items: center;
}
.tab-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}
.tab-info p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 25px;
}
.tab-badge {
    background: rgba(0, 174, 239, 0.1);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 174, 239, 0.2);
}
.tab-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.tab-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 150px;
    min-height: 46px;
    padding: 6px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
    box-sizing: border-box;
}

/* Modals (Popups) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: block;
    opacity: 1;
}

.modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 90%;
    max-width: 600px;
    background: rgba(15, 20, 25, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.modal-container.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%);
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal-btn:hover {
    background: var(--primary-color);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.modal-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-list {
    list-style: none;
}
.modal-list li {
    margin-bottom: 12px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .tab-grid {
        grid-template-columns: 1fr;
    }
    .tab-content-container {
        padding: 20px;
    }
    .tab-actions {
        flex-direction: column;
    }
    .modal-container {
        padding: 24px;
    }
}

/* FAQ Accordion Styles */
.faq-item {
    background-color: rgba(15, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background-color: rgba(0, 174, 239, 0.05);
}
.faq-question .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.iframe-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.iframe-overlay .btn {
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.iframe-overlay:hover .btn {
    transform: scale(1.1);
}

/* --- Top Ticker (Replaces Menu) --- */
.top-ticker-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 30px;
    display: flex;
    align-items: center;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.top-ticker-content {
    display: flex;
    gap: 15vw;
    animation: ticker-scroll 20s linear infinite;
    padding-right: 15vw; /* matches gap */
}

.top-ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-family: 'Google Sans Flex', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .top-ticker-container {
        margin-left: 15px;
    }
    .ticker-item {
        font-size: 0.9rem;
    }
}

.gradient-text {
    background: linear-gradient(90deg, #00aeef, #0077c0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
