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

html {
    /* scroll-behavior: smooth; - removed to avoid conflicts with ScrollToPlugin */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow: hidden;
}

/* Main container positions sections for GSAP navigation */
#main-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#main-container > section {
    position: absolute;
    top: 0;
    left: 0;
}

/* Banner Section - Full Screen */
.banner {
    height: 100vh;
    width: 100vw;
    background: url(media/Layers1/pic_4.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.banner-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Horizontal Scrolling Sections */
.horizontal-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    flex-shrink: 0;
}

.section-1 {
    background: url(media/Layers1/pic_3.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-2 {
    background: url(media/Layers1/pic_2.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-3 {
    background: url(media/Layers1/pic_1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: white;
}

.section-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-content > p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

.service {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portfolio-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Final Section - Vertical Scroll */
.final-section {
    width: 100vw;
    height: 100vh;
    background: url(media/Layers1/pic_1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.final-section .section-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: white;
}

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

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* Animation Classes */
.animate-title {
    opacity: 0;
    transform: translateY(50px);
}

.animate-subtitle {
    opacity: 0;
    transform: translateY(30px);
}

.animate-text {
    opacity: 0;
    transform: translateY(50px);
}


.animate-button {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

.animate-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

/* Hover Effects */
.cta-button:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature:hover,
.service:hover,
.contact-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.15);
}

/* Text Animation Effects */
.banner-title {
    background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    .section-content h2 {
        font-size: 2rem;
    }
    
    .horizontal-container {
        width: 300vw;
    }
    
    .features,
    .services,
    .portfolio-grid,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
