/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif; /* System font stack */
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
}

/* Navigation */
.top-nav {
    background: #1C2526; /* Navy blue */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo {
    color: #FF6F61; /* Coral-orange */
    font-size: 1.8em;
    font-weight: 600;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.top-nav a:hover, .top-nav a.active {
    color: #FF6F61; /* Coral-orange */
}

/* Main */
main {
    padding-top: 100px;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 200px 20px;
    color: #fff;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('music-waveform-bg.png'); /* Pixelated music waveform background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.85) contrast(1.1);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.hero p {
    font-size: 1.6em;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #f5f5f5;
}

.cta {
    display: inline-block;
    padding: 15px 40px;
    background: #FF6F61; /* Coral-orange */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta:hover {
    background: #F4511E; /* Darker coral-orange */
}

/* Preview Grid */
.preview-grid {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 30px;
}

.preview {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    text-decoration: none;
    color: #1C2526; /* Navy blue */
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, opacity 0.5s ease-in-out;
    opacity: 0;
}

.preview.fade-in {
    opacity: 1;
}

.preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #f0f8ff;
}

.preview img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.preview h3 {
    font-size: 1.4em;
    color: #1C2526; /* Navy blue */
}

/* Content Section (Used in ai-music.html, chat-assistants.html, etc.) */
.content {
    max-width: 900px;
    margin: 60px auto;
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.content h2 {
    font-size: 2.8em;
    color: #1C2526; /* Navy blue */
    margin-bottom: 25px;
}

.content p {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #555;
}

.content a {
    color: #FF6F61; /* Coral-orange */
    text-decoration: none;
    font-weight: 500;
}

.content a:hover {
    text-decoration: underline;
}

/* AI Music Section (Specific to ai-music.html) */
.ai-music-section {
    padding: 60px 20px;
    text-align: center;
    background-image: url('music-waveform-bg.png'); /* Pixelated music waveform background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #1C2526; /* Navy blue for text */
}

.ai-music-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay for readability */
    z-index: 1;
}

.ai-music-section * {
    position: relative;
    z-index: 2;
}

.ai-music-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #1C2526;
}

.ai-music-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.ai-music-section a {
    color: #FF6F61; /* Coral-orange */
    text-decoration: none;
    font-weight: 500;
}

.ai-music-section a:hover {
    text-decoration: underline;
}

/* Portfolio Item (Used in ai-music.html, chat-assistants.html, etc.) */
.portfolio-item {
    margin: 40px 0;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.portfolio-item.fade-in {
    opacity: 1;
}

.portfolio-item img {
    max-width: 100%;
    width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.portfolio-item p {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #FF6F61; /* Coral-orange */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #F4511E; /* Darker coral-orange */
}

/* Section Header (Used in other pages) */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-icon {
    width: 50px;
    height: 50px;
}

/* Footer */
footer {
    background: #1C2526; /* Navy blue */
    color: #fff;
    text-align: center;
    padding: 25px;
    margin-top: 60px;
}

footer p {
    margin: 5px 0;
}

.tagline {
    font-size: 14px;
    color: #FF6F61; /* Coral-orange */
}

/* Mobile */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .top-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 15px;
    }

    .hero {
        padding: 100px 15px;
    }

    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.3em;
    }

    .content {
        padding: 30px;
    }

    .ai-music-section {
        padding: 40px 20px;
    }

    .ai-music-section h2 {
        font-size: 28px;
    }

    .ai-music-section p {
        font-size: 16px;
    }

    .portfolio-item img {
        width: 100%;
    }

    .cta-btn {
        padding: 12px 24px;
    }

    .preview-grid {
        padding: 0 20px;
    }
}

.chat-assistants-section {
    padding: 60px 20px;
    text-align: center;
    background-image: url('chat-bubble-bg.png'); /* Pixelated chat bubble background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #1C2526; /* Navy blue for text */
}

.chat-assistants-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay for readability */
    z-index: 1;
}

.chat-assistants-section * {
    position: relative;
    z-index: 2;
}

.website-design-section {
    padding: 60px 20px;
    text-align: center;
    background-image: url('laptop-bg.png'); /* Pixelated laptop background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #1C2526; /* Navy blue for text */
}

.website-design-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay for readability */
    z-index: 1;
}

.website-design-section * {
    position: relative;
    z-index: 2;
}

.marketing-section {
    padding: 60px 20px;
    text-align: center;
    background-image: url('megaphone-bg.png'); /* Pixelated megaphone background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #1C2526; /* Navy blue for text */
}

.marketing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay for readability */
    z-index: 1;
}

.marketing-section * {
    position: relative;
    z-index: 2;
}

.graphic-design-section {
    padding: 60px 20px;
    text-align: center;
    background-image: url('paintbrush-bg.png'); /* Pixelated paintbrush background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #1C2526; /* Navy blue for text */
}

.graphic-design-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8); /* White overlay for readability */
    z-index: 1;
}

.graphic-design-section * {
    position: relative;
    z-index: 2;
}