/* ============================================
   MODERN OWL HOLLOW INTEGRATIONS - STYLES
   ============================================ */

/* CSS Variables */
:root {
    /* Owl-inspired earthy color palette */
    --color-primary: #8B7355;        /* Warm brown (owl feathers) */
    --color-primary-dark: #6B5345;   /* Dark brown */
    --color-primary-light: #A89180;  /* Light brown */
    --color-accent: #D4A574;         /* Golden beige (beak) */
    --color-night: #1A202C;          /* Deep night blue */
    --color-night-light: #2D3748;    /* Night blue */
    --color-moonlight: #F7FAFC;      /* Soft white */
    --color-shadow: rgba(0, 0, 0, 0.1);

    /* Light mode backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F7FAFC;
    --bg-tertiary: #EDF2F7;
    --text-primary: #1A202C;
    --text-secondary: #2D3748;
    --text-muted: #718096;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #8B7355 0%, #D4A574 100%);
    --gradient-night: linear-gradient(180deg, #1A202C 0%, #2D3748 100%);
    --gradient-hero: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 50%, #E2E8F0 100%);

    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --color-primary: #D4A574;        /* Lighter in dark mode */
    --color-accent: #F4C793;
    --color-night: #F7FAFC;
    --color-night-light: #E2E8F0;

    --bg-primary: #0F1419;
    --bg-secondary: #1A202C;
    --bg-tertiary: #2D3748;
    --text-primary: #F7FAFC;
    --text-secondary: #E2E8F0;
    --text-muted: #A0AEC0;

    --color-shadow: rgba(0, 0, 0, 0.3);
    --gradient-hero: linear-gradient(135deg, #0F1419 0%, #1A202C 50%, #2D3748 100%);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}
h2 {
    font-size: 2.5rem;
    font-weight: 700;
}
h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.25rem; }
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--color-shadow);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .nav {
    background: rgba(15, 20, 25, 0.95);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.owl-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-smooth);
}

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

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

.nav-link.active {
    color: var(--color-primary);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--color-primary);
    transform: rotate(10deg);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    transition: all var(--transition-smooth);
    position: absolute;
}

.theme-toggle:hover svg {
    color: white;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg);
}

@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-sm);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
    transition: background 0.3s ease;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

[data-theme="dark"] .hero-background::before {
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Particles Effect */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite ease-in-out;
}

.particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(100px, -100px);
    }
    50% {
        transform: translate(200px, 50px);
    }
    75% {
        transform: translate(50px, 150px);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-title {
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-night-light);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-smooth);
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 115, 85, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

[data-theme="dark"] .btn-primary {
    box-shadow: 0 4px 14px rgba(212, 165, 116, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.6);
}

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

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

[data-theme="dark"] .btn-secondary:hover {
    background: var(--color-primary);
    color: var(--bg-primary);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-owl {
    width: 300px;
    animation: float 6s ease-in-out infinite;
}

.floating-owl svg {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }
}

/* ============================================
   SECTIONS
   ============================================ */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: var(--bg-primary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.about-card {
    padding: var(--spacing-md);
    border-radius: 16px;
    background: var(--bg-secondary);
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px var(--color-shadow);
    border-color: var(--color-primary);
}

[data-theme="dark"] .about-card:hover {
    box-shadow: 0 12px 24px rgba(212, 165, 116, 0.2);
    background: var(--bg-tertiary);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.icon {
    width: 32px;
    height: 32px;
    color: white;
}

.about-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    background: var(--bg-secondary);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-primary);
    border-radius: 16px;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.service-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px var(--color-shadow);
    border-color: var(--color-primary);
}

[data-theme="dark"] .service-item:hover {
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.15);
}

.service-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.service-content h3 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */

.technology {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

.technology-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.tech-feature {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 2px solid transparent;
    transition: all var(--transition-smooth);
}

.tech-feature:hover {
    border-color: var(--color-primary);
    box-shadow: 0 12px 32px var(--color-shadow);
}

[data-theme="dark"] .tech-feature:hover {
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.15);
}

.tech-logo {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-logo svg,
.tech-logo img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-smooth);
}

.tech-feature:hover .tech-logo svg,
.tech-feature:hover .tech-logo img {
    transform: scale(1.05);
}

/* Claude Logo Styling */
.claude-logo {
    object-fit: contain;
}

.tech-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.tech-content p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.tech-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color var(--transition-fast);
}

.tech-link:hover {
    border-bottom-color: var(--color-primary);
}

.tech-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.benefit-card {
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px var(--color-shadow);
}

[data-theme="dark"] .benefit-card:hover {
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.15);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.benefit-card h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tech-example {
    position: relative;
    padding: var(--spacing-lg);
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 2px dashed var(--color-primary);
    text-align: center;
}

.example-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    border-radius: 24px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.badge-icon {
    width: 20px;
    height: 20px;
}

.example-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.tech-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.tech-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.4);
}

@media (max-width: 968px) {
    .tech-feature {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tech-logo {
        width: 150px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .tech-benefits {
        grid-template-columns: 1fr;
    }

    .tech-content h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--bg-primary);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-card {
    background: var(--gradient-night);
    padding: var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    color: white;
    font-size: 0.875rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #48BB78;
    animation: pulse 2s ease-in-out infinite;
}

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

.contact-card-content {
    text-align: center;
}

.owl-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
}

.wisdom-text {
    color: var(--color-accent);
    font-style: italic;
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #1A202C;
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .footer {
    background: #0F1419;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-sm);
}

.footer-brand .logo-text {
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
