/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --primary-color: #000000;
    --accent-color: #FF3366;
    --text-color: #f1f1f1;
    --background-color: #ffffff;
    --background: rgb(82, 20, 255);
    --accent: #666;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background: var(--background);
    font-size: 16px;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s;
}

.logo {
    font-size: 1.2rem;
    font-weight: 500;
    color: #f1f1f1 !important;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #f1f1f1 !important;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links a:visited,
.nav-links a:active,
.nav-links a:hover {
    color: #f1f1f1 !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: 
        radial-gradient(circle at 25% 35%, rgba(50,10,120,0.85) 0%, rgba(82,20,255,0.7) 50%, transparent 80%),
        radial-gradient(circle at 75% 65%, rgba(30,5,80,0.8) 0%, rgba(82,20,255,0.6) 60%, transparent 90%),
        linear-gradient(120deg, rgba(40,10,90,0.95) 0%, rgba(82,20,255,0.7) 100%);
    opacity: 1;
    animation: hero-bg-move 12s ease-in-out infinite alternate;
    background-size: 200% 200%;
}

@keyframes hero-bg-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #f1f1f1;
    letter-spacing: -2px;
    line-height: 1.1;
}

.rotating-text {
    height: 60px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.rotating-text span {
    display: block;
    height: 100%;
    font-size: 2.5rem;
    font-weight: 600;
    color: #f1f1f1;
    animation: slide 8s steps(4) infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes slide {
    100% {
        transform: translateY(-400%);
    }
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: #f1f1f1;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-bottom-border-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.pulse-path {
    animation: pulse-move 3s ease-in-out infinite;
}

@keyframes pulse-move {
    0%, 100% {
        stroke-dasharray: 0 1000;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 1000 0;
        stroke-dashoffset: 0;
    }
}

/* About Section */
.about {
    padding: 8rem 5%;
    background: var(--background);
    color: var(--text-color);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f1f1f1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.about-image {
    background: url('../imgs/aboutimg.gif') center/cover;
    height: 400px;
    border-radius: 10px;
    margin-top: 3rem;
}

/* Services Section */
.services {
    padding: 8rem 5%;
    background: #f8f9fa;
    color: var(--primary-color);
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.services-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

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

.service-item {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-item ul {
    list-style: none;
}

.service-item li {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-item li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

/* Work Section */
.work {
    padding: 8rem 5%;
    background: #fff;
    color: var(--primary-color);
}

.work-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.work-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.work-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #f1f1f1;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-item:hover .overlay {
    transform: translateY(0);
}

.overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 5%;
    background: #f8f9fa;
    color: var(--primary-color);
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-title {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 8rem 5%;
    background: rgb(82, 20, 255);
    color: #f1f1f1;
    text-align: center;
}

.contact h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #f1f1f1;
}

.contact p {
    font-size: 1.2rem;
    color: #f1f1f1;
    margin-bottom: 2rem;
}

.contact a {
    display: inline-block;
    font-size: 1.3rem;
    color: #f1f1f1;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
    text-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--background);
    color: #f1f1f1;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin: 0;
}

.social-icons a:hover {
    transform: translateY(-3px);
    color: #f1f1f1;
    background: var(--accent-color);
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.3);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: #f1f1f1;
    text-align: center;
    padding: 2rem 5%;
}

.azusa-note {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.azusa-note span {
    color: #5214ff;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Navbar Transparency */
.navbar.transparent {
    background: rgba(82, 20, 255, 0.5) !important;
    transition: background 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .rotating-text span {
        font-size: 1.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        margin-top: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .rotating-text span {
        font-size: 1.5rem;
        height: 50px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-text h2,
    .services-title,
    .work-title,
    .testimonials-title,
    .contact h2 {
        font-size: 2rem;
    }
} 