/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

a {
    text-decoration: none;
    color: #4a00e0;
    transition: all 0.3s ease;
}

a:hover {
    color: #8e2de2;
}

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    background: linear-gradient(to right, #4a00e0, #8e2de2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    color: #222;
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #4a00e0, #8e2de2);
}

h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo-svg {
    display: block;
}

.main-nav {
    display: flex;
    list-style-type: none;
}

.main-nav li {
    margin-left: 2rem;
}

.main-nav a {
    color: #333;
    font-weight: 600;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(to right, #4a00e0, #8e2de2);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
    width: 30px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-svg {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-large {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(to right, #4a00e0, #8e2de2);
    color: #fff;
    box-shadow: 0 4px 15px rgba(74, 0, 224, 0.3);
}

.btn-secondary {
    background: #fff;
    color: #4a00e0;
    border: 2px solid #4a00e0;
}

.btn-large {
    background: linear-gradient(to right, #4a00e0, #8e2de2);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(74, 0, 224, 0.3);
}

.btn-primary:hover, .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(74, 0, 224, 0.4);
    color: #fff;
}

.btn-secondary:hover {
    background: #4a00e0;
    color: #fff;
}

/* Tech Section */
.tech-section {
    padding: 5rem 0;
    background-color: #fff;
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tech-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #4a00e0;
}

.tech-icon {
    margin-bottom: 1.5rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.gallery-placeholder {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
}

.gallery-item h3, .gallery-item p {
    padding: 0 1.5rem;
}

.gallery-item h3 {
    margin-top: 1rem;
}

.gallery-item p {
    margin-bottom: 1.5rem;
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #fff;
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-info {
    flex: 1;
}

.about-info h2 {
    text-align: left;
}

.about-info h2:after {
    left: 0;
    transform: none;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-svg {
    max-width: 100%;
    height: auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%);
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    color: #fff;
}

.cta-section h2:after {
    background: #fff;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #4a00e0, #8e2de2);
    bottom: -5px;
    left: 0;
}

.footer-col ul {
    list-style-type: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #bbb;
}

.footer-col ul li a:hover {
    color: #8e2de2;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .tech-cards, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container, .about-content {
        flex-direction: column;
    }
    
    .hero-content, .about-info {
        order: 1;
    }
    
    .hero-visual, .about-visual {
        order: 0;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav li {
        margin: 1rem 0;
        text-align: center;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .tech-cards, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary, .btn-large {
        display: block;
        width: 100%;
        text-align: center;
    }
}
