/* Level Clash Apps - Nature Theme CSS */

/* CSS Variables for Nature Theme */
:root {
    --forest-green: #2d5016;
    --sage-green: #87a96b;
    --earth-brown: #8b4513;
    --sky-blue: #87ceeb;
    --leaf-green: #90ee90;
    --moss-green: #8a9a5b;
    --sunset-orange: #ff8c00;
    --earth-tan: #d2b48c;
    --deep-forest: #1a3d0a;
    --light-sage: #b8c9a8;
    --golden-yellow: #ffd700;
    --ocean-blue: #4682b4;
    --warm-white: #f5f5dc;
    --charcoal: #36454f;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--light-sage) 100%);
    overflow-x: hidden;
}

/* Header Styles */
.nature-header {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--deep-forest) 100%);
    box-shadow: 0 4px 20px rgba(45, 80, 22, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--golden-yellow);
    transform: translateY(-2px);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--golden-yellow);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.icon-bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.nature-hero {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--sage-green) 50%, var(--ocean-blue) 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nature-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--golden-yellow) 0%, var(--sunset-orange) 100%);
    color: var(--forest-green);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    color: var(--deep-forest);
}

/* Section Styles */
.nature-section {
    padding: 80px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--forest-green);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--moss-green);
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--light-sage) 100%);
    position: relative;
    padding: 0 0 80px 0;
    margin-top: 0;
}

.about-section .section-container {
    padding-top: 80px;
    margin-top: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal);
}

.about-text h2 {
    color: var(--forest-green);
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Experience Section */
.experience-section {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sky-blue) 100%);
    color: white;
    position: relative;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.experience-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.experience-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--golden-yellow);
    margin-bottom: 15px;
}

.experience-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.experience-description {
    font-size: 1rem;
    opacity: 0.9;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--moss-green) 100%);
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--golden-yellow);
}

.service-item p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--earth-brown) 0%, var(--earth-tan) 100%);
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--charcoal);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--moss-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.nature-footer {
    background: linear-gradient(135deg, var(--deep-forest) 0%, var(--forest-green) 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-section h3 {
    color: var(--golden-yellow);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section h3 {
    color: var(--golden-yellow);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--golden-yellow);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.4);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-15deg);
    }
    20% {
        transform: rotateZ(10deg);
    }
    25% {
        transform: rotateZ(-10deg);
    }
    30% {
        transform: rotateZ(6deg);
    }
    35% {
        transform: rotateZ(-4deg);
    }
    40%, 100% {
        transform: rotateZ(0);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out;
}

.animate-fadeInScale {
    animation: fadeInScale 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 1s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-wiggle {
    animation: wiggle 1s ease-in-out;
}

.animate-rotate {
    animation: rotate 2s linear infinite;
}

/* Hover Effects */
.btn-primary:hover {
    animation: pulse 0.6s ease-in-out;
}

.service-item:hover .service-icon {
    animation: bounce 0.6s ease-in-out;
}

.experience-card:hover {
    animation: glow 1s ease-in-out;
}

.logo:hover {
    animation: wiggle 0.6s ease-in-out;
}

/* Staggered Animation Delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Floating particles animation */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.5s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 2.5s; }

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--forest-green);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 50px 20px;
        gap: 30px;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        display: block;
        padding: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .experience-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .section-container {
        padding: 0 15px;
    }
}

/* Ensure no gap between hero and about */
.nature-hero + .about-section {
    margin-top: 0;
    padding-top: 0;
}

.nature-hero {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
}

.about-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

.main-content {
    margin: 0;
    padding: 0;
}
