/* CBX Developer Theme - External CSS */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0d1421 0%, #1a1f2e 100%);
    color: #e4e6ea;
    line-height: 1.6;
    min-height: 100vh;
}

.navbar {
    background: rgba(13, 20, 33, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.navbar .title {
    color: #61dafb;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.navbar .nav-links a {
    color: #e4e6ea;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar .nav-links a:hover {
    color: #61dafb;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #61dafb;
    transition: width 0.3s ease;
}

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

.navbar .nav-links a.active {
    color: #61dafb;
}

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

.main-content {
    margin-top: 80px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero sections */
.hero-section,
.sitemap-hero,
.contact-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #61dafb, #21d4fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #8892b0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sitemap specific styles */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.section-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #61dafb;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.section-icon {
    font-size: 1.8rem;
    color: #61dafb;
}

.section-title {
    font-size: 1.5rem;
    color: #e4e6ea;
    margin: 0;
    font-weight: 600;
}

.section-description {
    color: #8892b0;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.page-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    margin-bottom: 12px;
}

.page-link {
    color: #a8b2d1;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
    border-left: 2px solid transparent;
    padding-left: 12px;
}

.page-link:hover {
    color: #61dafb;
    border-left-color: #61dafb;
    padding-left: 20px;
}

.page-link::before {
    content: '▸ ';
    color: #61dafb;
    font-weight: bold;
}

.subsection {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subsection-title {
    font-size: 1.1rem;
    color: #e4e6ea;
    margin-bottom: 10px;
    font-weight: 500;
}

.stats-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.stats-title {
    color: #e4e6ea;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #61dafb;
    display: block;
}

.stat-label {
    color: #8892b0;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Contact page specific styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #61dafb;
    width: 30px;
}

.contact-details h4 {
    margin: 0 0 5px 0;
    color: #e4e6ea;
    font-weight: 600;
}

.contact-details p {
    margin: 0;
    color: #8892b0;
}

.contact-details a {
    color: #61dafb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #21d4fd;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #e4e6ea;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #e4e6ea;
    font-size: 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #61dafb;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(45deg, #61dafb, #21d4fd);
    color: #0d1421;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(97, 218, 251, 0.3);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #61dafb;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(97, 218, 251, 0.1);
    border-color: #61dafb;
    transform: translateY(-3px);
}

.availability-status {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.availability-text {
    margin: 10px 0 0 0;
    color: #8892b0;
    font-size: 0.9rem;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
}

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

/* Email formatter styles */
.email-preview {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    display: none;
}

.email-preview.show {
    display: block;
}

.email-preview-title {
    color: #61dafb;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.email-action-btn {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.email-action-btn:hover {
    opacity: 0.9;
}

.copy-btn {
    background: #61dafb;
    color: #0d1421;
}

.email-btn {
    background: #22c55e;
    color: white;
    margin-left: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .sitemap-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-card,
    .contact-info,
    .contact-form {
        padding: 20px;
    }
    
    .navbar .nav-links a {
        margin: 0 8px;
        font-size: 0.9rem;
    }
    
    .navbar .title {
        font-size: 20px;
    }
    
    .contact-container {
        gap: 30px;
    }
}
