/* CSS Custom Properties - Brand Colors from AdSnout theme */
:root {
    /* Primary soft orange palette */
    --soft-orange: #E4A574;
    --soft-orange-hover: #D99B65;
    --soft-orange-active: #CD8F56;
    --soft-orange-disabled: #F1C19E;
    --soft-orange-light: #F9F1EB;
    --soft-orange-border: #D99B65;

    /* Secondary teal palette */
    --soft-teal: #74B5B3;
    --soft-teal-hover: #68A5A3;
    --soft-teal-active: #5C9593;
    --soft-teal-disabled: #A1CCC7;
    --soft-teal-border: #68A5A3;

    /* Destructive red palette */
    --soft-red: #D4776B;
    --soft-red-hover: #C96A5E;

    /* Neutral colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-mono: 'Fira Code', source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;
    --border-radius: 12px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    font-size: 16px;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-name {
    color: var(--soft-orange);
}

.brand-suffix {
    color: var(--gray-600);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--soft-orange);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--soft-orange-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--soft-teal);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--soft-orange-light) 0%, var(--gray-50) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--soft-orange);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.main-logo {
    height: 350px;
    width: auto;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    text-align: center;
    min-width: 120px;
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--soft-orange);
}

.floating-card .card-title {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-900);
}

/* About Section */
.about {
    background: var(--white);
}

.about-text {
    font-size: 1.125rem;
}

.value-item h3 {
    color: var(--soft-orange);
    font-size: 1.25rem;
}

.value-item p {
    color: var(--gray-600);
}

.value-item .bi {
    font-size: 1.5rem;
    color: var(--soft-orange);
}

/* Projects Section */
.projects {
    background: var(--gray-50);
}

.project-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}


.project-icon {
    padding: 0.75rem;
    background: var(--soft-orange-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
}

.project-logo {
    max-width: 100%;
    max-height: 100%;
    min-width: 50px;
    min-height: 50px;
    object-fit: contain;
}

.project-title {
    flex: 1;
    margin: 0;
    color: var(--gray-900);
}

.project-title a {
    color: var(--soft-orange) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
}

.project-title a:hover {
    color: var(--soft-orange-hover) !important;
    text-decoration: underline;
}

.project-title a::after {
    content: " ↗";
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 0.25rem;
}

.project-tag {
    background: var(--soft-teal);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--soft-orange);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Capabilities Section */
.capabilities {
    background: var(--white);
}

.capability-item {
    padding: 2rem;
}

.capability-item h3 {
    color: var(--soft-orange);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.capability-icon {
    font-size: 3rem;
    color: var(--soft-orange);
}

.capability-item li {
    color: var(--gray-600);
}

/* Contact Section */
.contact {
    background: var(--gray-50);
}

.contact-text {
    font-size: 1.125rem;
}

.contact-info p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
}

.footer-brand .brand-name {
    color: var(--soft-orange);
}

.footer-brand .brand-suffix {
    color: var(--gray-400);
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--soft-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Animations and effects */
.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.floating-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Page loading animation */
body {
    transition: opacity 0.5s ease;
}

/* Override Bootstrap primary color */
.text-primary {
    color: var(--soft-orange) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 300px;
    }

    .capability-item {
        padding: 1.5rem;
    }

    .project-icon {
        width: 100px;
        height: 100px;
        padding: 1rem;
    }

    .project-logo {
        min-width: 60px;
        min-height: 60px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-icon {
        width: 120px;
        height: 120px;
        padding: 1.25rem;
    }

    .project-logo {
        min-width: 70px;
        min-height: 70px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus states for accessibility */
.btn:focus,
.nav-links a:focus {
    outline: 2px solid var(--soft-orange);
    outline-offset: 2px;
}