/* CSS Variables for theming */
:root {
    /* Dark theme (default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fa;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-card: #333333;
    --text-muted: #666666;
    --accent-primary: #ffd700;
    --accent-hover: #ffed4e;
    --border-color: #333333;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --header-bg: rgba(10, 10, 10, 0.95);
}

/* Light theme */
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f0;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-card: #333333;
    --text-muted: #888888;
    --accent-primary: #e6b800;
    --accent-hover: #d4a500;
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --header-bg: rgba(255, 255, 255, 0.95);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px var(--shadow-light);
}

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

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Logo theme switching */
.logo-dark {
    display: block;
}

.logo-light {
    display: none;
}

body.light-theme .logo-dark {
    display: none;
}

body.light-theme .logo-light {
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

.lang-btn.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

/* Theme switcher */
.theme-switcher {
    margin-left: 1rem;
}

.theme-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-btn:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    transform: rotate(180deg);
}

.theme-icon {
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    text-align: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, var(--accent-primary)10, transparent 50%),
                radial-gradient(circle at 70% 80%, var(--accent-primary)08, transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--bg-card);
    color: var(--text-card);
    position: relative;
}

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

.about h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-card);
    font-weight: 700;
    position: relative;
}

.about h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.about > .container > p {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: var(--bg-card-hover);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-card);
    font-weight: 600;
}

.feature p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}/* Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.services h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.4s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-hover));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service:hover::before {
    transform: scaleX(1);
}

.service:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px var(--shadow-medium);
    border-color: var(--accent-primary);
}

.service-image {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--accent-primary)20, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service:hover .service-image img {
    transform: scale(1.1);
}

.service h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--text-card);
    font-weight: 600;
}

.service p {
    color: var(--text-muted);
    line-height: 1.7;
    text-align: left;
    font-size: 1.05rem;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

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

.contact h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.contact > .container > p {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-card);
    font-size: 1.1rem;
    line-height: 1.6;
}

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

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



/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

/* Credits Section */
.credits {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.credits details {
    max-width: 700px;
    margin: 0 auto;
}

.credits summary {
    cursor: pointer;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.credits summary:hover {
    color: var(--accent-hover);
}

.credits-content {
    text-align: left;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px var(--shadow-light);
    border: 1px solid var(--border-color);
}

.credits-content ul {
    list-style: none;
    padding: 0;
}

.credits-content li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.credits-content li:last-child {
    border-bottom: none;
}

.credits-content strong {
    color: var(--accent-primary);
    font-weight: 600;
}

.credits-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.credits-content a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    /* Show language and theme switcher on mobile */
    .language-switcher,
    .theme-switcher {
        position: fixed;
        top: 1rem;
        z-index: 1001;
        background: var(--header-bg);
        padding: 0.5rem;
        border-radius: 12px;
        backdrop-filter: blur(15px);
        border: 1px solid var(--border-color);
    }
    
    .language-switcher {
        right: 4rem;
    }
    
    .theme-switcher {
        right: 1rem;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn {
        width: 250px;
    }
    
    .about h2,
    .services h2,
    .contact h2 {
        font-size: 2.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .contact-item {
        padding: 2rem 1.5rem;
    }
    
    .service {
        padding: 2rem 1.5rem;
    }
    
    .feature {
        padding: 2.5rem 1.5rem;
    }
}

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

/* Section spacing */
section {
    scroll-margin-top: 80px;
}