/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
    /* Colors */
    --primary-color: #1a73e8;
    --secondary-color: #6c63ff;
    --secondary-light: #5a52ff;
    --accent-color: #00bcd4;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #757575;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0a0a0a;
    --border-color: #e0e0e0;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.7;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    min-width: 0;
}

section {
    padding: var(--spacing-xl) 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===================================
   Header & Navigation
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color var(--transition-base);
    display: inline-flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
    max-width: 220px;
    display: block;
    transition: all var(--transition-base);
    object-fit: contain;
}

@media (max-width: 768px) {
    .nav-logo img {
        height: 40px;
        max-width: 180px;
    }
}

.header.scrolled .nav-logo a {
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    padding: 0.5rem 0;
}

.header.scrolled .nav-link {
    color: var(--text-medium);
}

.nav-link:hover {
    color: white;
}

.header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.nav-link.nav-cta {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 24px;
    transition: all var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.header.scrolled .nav-link.nav-cta {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.nav-link.nav-cta:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.header.scrolled .nav-link.nav-cta:hover {
    background: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all var(--transition-base);
}

.header.scrolled .nav-toggle span {
    background: var(--text-dark);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 100%;
    padding-top: 70px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    max-width: 100%;
}

#aiCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: var(--spacing-lg) var(--spacing-md);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: var(--spacing-md);
    color: white;
}

.highlight-text {
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    background: white;
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, 10px);
        opacity: 1;
    }
}

/* ===================================
   Section Headers
   =================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    font-weight: 400;
}

/* ===================================
   Services Section
   =================================== */

.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--spacing-md);
    min-width: 0;
}

.service-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 16px;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    min-width: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.service-description {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================================
   AI Solutions Section
   =================================== */

.ai-solutions {
    background: var(--bg-dark);
    color: white;
}

.ai-solutions .section-title {
    color: white;
}

.ai-solutions .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.ai-showcase {
    margin-top: var(--spacing-lg);
}

.ai-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    overflow-x: auto;
    padding-bottom: var(--spacing-xs);
}

.ai-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 1.5rem;
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.ai-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.ai-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.ai-content-wrapper {
    position: relative;
    min-height: 400px;
}

.ai-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    opacity: 0;
    transform: translateX(-20px);
    transition: all var(--transition-slow);
    pointer-events: none;
}

.ai-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}

.ai-text h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.ai-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.ai-text ul {
    list-style: none;
    padding-left: 0;
}

.ai-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.ai-text li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.ai-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-metric {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.metric-number {
    font-size: 5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-symbol {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    margin-top: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* ===================================
   Hospitality Section
   =================================== */

.hospitality-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.hospitality-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.feature-image {
    border-radius: 16px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.feature-img:hover {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% { left: 100%; }
}

.placeholder-image.booking {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.placeholder-image.management {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.feature-text > p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-xs);
    padding: 0.5rem 0;
}

.feature-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-color);
}

.feature-cta {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    transition: all var(--transition-base);
}

.feature-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   About & Statistics Section
   =================================== */

.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.about-values {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.value-item p {
    color: var(--text-medium);
    font-size: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 16px;
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-plus {
    font-size: 2rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* ===================================
   Blog Section
   =================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 240px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-img {
    transform: scale(1.1);
}

.placeholder-image.blog-ai {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.placeholder-image.blog-agentic {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.placeholder-image.blog-hospitality {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.blog-content {
    padding: var(--spacing-md);
}

.blog-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.blog-link:hover {
    color: var(--secondary-color);
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info {
    padding-right: var(--spacing-md);
}

.contact-info p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    color: var(--text-medium);
}

.contact-item svg {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form {
    background: white;
    padding: var(--spacing-md);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-error {
    display: block;
    color: #f44336;
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.form-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-success {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: #4caf50;
    color: white;
    border-radius: 8px;
    margin-top: var(--spacing-sm);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: white;
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 8px;
    font-size: 0.95rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 0.7rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}
