/* Main Website CSS */
:root {
    --primary-color: #4a6cf7;
    --primary-dark: #3a56d4;
    --secondary-color: #6b7280;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f8f9fa;
    --dark-bg: #1f2937;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border: 1px solid #e0e0e0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #556270;
    color: var(--white);
}

.btn-text {
    padding: 0;
    color: var(--primary-color);
    background: none;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text i {
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover i {
    transform: translateX(5px);
}

.text-center {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 24px;
    margin-bottom: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* About Section */
#about-short {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Skills Section */
#skills-short {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.skill-category {
    flex: 1;
    min-width: 250px;
}

.skill-category h3 {
    margin-bottom: 20px;
    border-bottom: var(--border);
    padding-bottom: 10px;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

/* Featured Projects Section */
#featured-projects {
    padding: 80px 0;
    background-color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.tech-tag {
    background-color: var(--light-bg);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

/* Testimonials Section */
#testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    overflow: hidden;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
}

.testimonial-content {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: 0;
}

.testimonial-info h3 {
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Contact CTA Section */
#contact-cta {
    padding: 80px 0;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#contact-cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

#contact-cta .btn-primary:hover {
    background-color: var(--dark-bg);
    color: var(--white);
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    padding: 60px 0 20px;
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-info h3, .footer-links h3, .footer-contact h3 {
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #b0b0b0;
}

.footer-links ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    color: var(--white);
    margin-right: 15px;
    font-size: 20px;
}

.copyright {
    padding-top: 20px;
    border-top: 1px solid #374151;
    text-align: center;
}

/* About Page */
.page-banner {
    height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-top: 80px;
}

.page-banner h1 {
    font-size: 48px;
}

.about-full {
    padding: 80px 0;
}

.about-full-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-full-text {
    flex: 2;
    min-width: 300px;
}

.about-full-image {
    flex: 1;
    min-width: 300px;
}

.about-full-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-info {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}

.about-info-list {
    display: flex;
    flex-wrap: wrap;
}

.about-info-item {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.about-info-item strong {
    display: block;
    margin-bottom: 5px;
}

/* Skills Page */
.skills-full {
    padding: 80px 0;
}

.skills-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Projects Page */
.projects-full {
    padding: 80px 0;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.project-filter-btn {
    background-color: var(--light-bg);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.project-filter-btn:hover, .project-filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 80px 0;
}

.project-details-image {
    flex: 1;
    min-width: 300px;
}

.project-details-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.project-details-info {
    flex: 1;
    min-width: 300px;
}

.project-meta {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.project-meta-item {
    margin-bottom: 15px;
}

.project-meta-item:last-child {
    margin-bottom: 0;
}

.project-meta-item strong {
    display: block;
    margin-bottom: 5px;
}

/* References Page */
.references-full {
    padding: 80px 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Contact Page */
.contact-full {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
}

.contact-info-text h3 {
    margin-bottom: 5px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: var(--border);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .hero-content h2 {
        font-size: 36px;
    }
    
    .hero-content h3 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .about-content, .project-details {
        flex-direction: column;
    }
    
    .page-banner h1 {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    header .container {
        position: relative;
    }
    
    nav ul {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    nav ul li {
        margin: 0 0 15px;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .projects-grid, .references-grid, .skills-full-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 30px;
    }
    
    .hero-content h3 {
        font-size: 20px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .page-banner h1 {
        font-size: 30px;
    }
    
    .project-filters {
        gap: 10px;
    }
    
    .project-filter-btn {
        padding: 6px 15px;
        font-size: 14px;
    }
}