/* GLOBAL */
* {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f8f9fa;
    color: #222;
    line-height: 1.6;
    padding-top: 70px; /* Space for fixed navbar */
}

.container {
    width: 90%;
    max-width: 900px;
    margin: auto;
    padding: 40px 0;
}

/* NAVIGATION */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}

.logo-img:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #1976d2;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* HERO SECTION */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 450px;
    background: url('/assets/hero.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 0;
}

.overlay {
    background: rgba(0, 0, 0, 0.45);
    padding: 40px 60px;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(2px);
}

.hero-section h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 1px;
    
}

.hero-logo {
    width: 180px;      /* adjust to taste */
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.4)); /* optional: makes white logos pop */
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #e0e0e0;
}

/* CTA BUTTON */
.cta-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: #1976d2;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    transition: background 0.2s ease-in-out;
}

.cta-button:hover {
    background: #1259a1;
}

/* INTRO SECTION */
.intro {
    text-align: center;
    background: white;
    padding: 50px 0;
}

/* ABOUT SECTION */
.about {
    background: white;
    padding: 60px 0;
    margin-top: 0;
}

.about h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1976d2;
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.about-features li:last-child {
    border-bottom: none;
}

/* PORTFOLIO */
.portfolio {
    background: #f8f9fa;
    padding: 60px 0;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
}

.section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.portfolio-grid {
    display: grid;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.portfolio-category {
    display: inline-block;
    background: #1976d2;
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.portfolio-item h3 {
    margin: 10px 0;
    color: #222;
}

.portfolio-highlights {
    margin-top: 15px;
    padding-left: 20px;
    color: #555;
}

.portfolio-highlights li {
    margin: 8px 0;
}

/* TESTIMONIALS */
.testimonials {
    background: white;
    padding: 60px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.testimonials-grid {
    display: grid;
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #1976d2;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: #1976d2;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #444;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-author strong {
    color: #222;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    background: #eef0f3;
    padding: 60px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.faq-container {
    display: grid;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-column h3 {
    margin-bottom: 20px;
    color: #1976d2;
    font-size: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: white;
    border: none;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #222;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    font-size: 1.5rem;
    color: #1976d2;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: #555;
}

/* CONTACT */
.contact {
    background: white;
    padding: 60px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2rem;
}

.contact > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.contact-content {
    display: grid;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-top: 0;
    color: #1976d2;
}

.contact-item {
    margin: 15px 0;
}

.contact-item a {
    color: #1976d2;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1976d2;
}

.submit-button {
    background: #1976d2;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background: #1259a1;
}

.form-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.form-note a {
    color: #1976d2;
}

/* SERVICES */
.services {
    background: #eef0f3;
    padding: 60px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.card h3 {
    margin-top: 0;
}

/* CONTACT */
.contact {
    text-align: center;
    padding: 60px 0;
}

.email {
    font-weight: bold;
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: #bbb;
    padding: 20px;
    text-align: center;
}

/* MOBILE OPTIMIZATION */
@media (min-width: 700px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transition: left 0.3s ease-in-out;
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        padding: 12px 20px;
    }
    
    .logo-img {
        height: 30px;
        max-width: 150px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .overlay {
        padding: 25px 30px;
    }
    
    .about h2,
    .portfolio h2,
    .testimonials h2,
    .faq h2,
    .contact h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 30px 0;
    }
}