/* Reset and Base Styles */
:root {
    --primary-color: #0d6efd;
    --logo-color: #32415c;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1.5 rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8 rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-brand img {
    height: 60px;
    margin: 1rem;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
    height: 45px;
}

.brand-name {
    color: var(--logo-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.4rem;
    transition: var(--transition);
}

.navbar.scrolled .brand-name {
    font-size: 1.2rem;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--logo-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
}

.nav-link:hover {
    color: var(--primary-color);
}

.navbar-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('../images/bg_hero.jpg') center/cover no-repeat fixed;
    text-align: center;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255, 255, 255);
    opacity: 0.8;
}

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

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--logo-color);
}

.hero p {
    margin-bottom: 2rem;
}

/* About Hero Section */
.about-hero {
    position: relative;
    padding: 8rem 0 4rem;
    min-height: 70vh;
    text-align: left;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(250, 250, 250);
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 1rem 0 2rem;
    color: var(--dark-color);
}

/* About Section */
.about-section {
    position: relative;
    padding: 4rem 0;
    color: var(--dark-color);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

/* Profile Section */
.profile-section {
    padding: 4rem 0;
    background: var(--light-color);
}

.profile-card {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.profile-details {
    flex: 1;
}

.profile-details h2 {
    margin-bottom: 0.5rem;
}

.profile-details h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-link {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--dark-color);
}

/* Services Section */
.services {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0 1rem 1rem;
}

.service-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Technologies Section */
.technologies {
    padding: 4rem 0;
    background: var(--light-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    align-items: center;
}

.tech-grid img {
    width: 100%;
    height: auto;
    max-width: 100px;
    margin: 0 auto;
    transition: var(--transition);
}

.tech-grid img:hover {
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 4rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

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

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
    }

    .navbar-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--dark-color);
        margin: 5px 0;
        transition: var(--transition);
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .navbar-menu.active {
        display: flex;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        flex-direction: column;
    }

    .profile-image {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .about-hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero, .about, .services, .technologies, .contact {
    animation: fadeIn 1s ease-out;
}

/* Section Headers */
.services h2,
.technologies h2,
.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    position: relative;
    padding: 4rem 0;
    background: url('../images/bg_about.jpg') center/cover no-repeat fixed;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
}

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