/* Base Styles */
:root {
    --primary-color: #33c443;
    --secondary-color: #2b8e54;
    --accent-color: #75c7a6;
    --dark-color: #06432a;
    --light-color: #add4b6;
    --text-color: #040c06;
    --border-radius: 24px;
    --shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    --hover-shadow: 0 1px 10px rgba(32, 33, 36, 0.58);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #fff;
    color: var(--text-color);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #555;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
}

/* Header */
header {
    padding: 15px 30px;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-size: 0.9rem;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    margin-top: -50px;
}

/* Logo */
.logo-container {
    margin-bottom: 30px;
    position: relative;
}

.logo {
    font-size: 5rem;
    font-weight: 600;
    display: flex;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.letter {
    display: inline-block;
    position: relative;
    transition: transform 0.3s ease;
}

.n {
    color: var(--primary-color);
}

.o1 {
    color: var(--secondary-color);
}

.o2 {
    color: var(--primary-color);
}

.d {
    color: var(--secondary-color);
}

.l {
    color: var(--primary-color);
}

.e {
    color: var(--dark-color);
}

.s {
    color: var(--secondary-color);
}

.letter:hover {
    transform: translateY(-10px) rotate(10deg);
    cursor: pointer;
}

/* Logo Letter Animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.logo:hover .letter {
    animation: bounce 0.5s ease forwards;
}

.logo:hover .n {
    animation-delay: 0s;
}

.logo:hover .o1 {
    animation-delay: 0.1s;
}

.logo:hover .o2 {
    animation-delay: 0.2s;
}

.logo:hover .d {
    animation-delay: 0.3s;
}

.logo:hover .l {
    animation-delay: 0.4s;
}

.logo:hover .e {
    animation-delay: 0.5s;
}

.logo:hover .s {
    animation-delay: 0.6s;
}

/* Search Box */
.search-container {
    width: 100%;
    max-width: 584px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 46px;
    border: 1px solid #dfe1e5;
    border-radius: var(--border-radius);
    padding: 0 15px;
    position: relative;
    transition: var(--transition);
    background-color: #fff;
    box-shadow: var(--shadow);
}

.search-box:hover,
.search-box:focus-within {
    box-shadow: var(--hover-shadow);
    border-color: rgba(223, 225, 229, 0);
}

.search-icon {
    color: #9aa0a6;
    width: 20px;
    height: 20px;
    margin-right: 15px;
}

.mic-icon {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
    margin-left: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.mic-icon:hover {
    transform: scale(1.1);
}

#search-input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-color);
    font-family: 'Poppins', Arial, sans-serif;
}

/* Search Buttons - IMPORTANT FOCUS AREA */
.search-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.search-buttons button {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    height: 36px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-buttons button:hover {
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    border: 1px solid #dadce0;
    color: #202124;
    background-color: #f8f9fa;
}

.search-buttons button:active {
    transform: scale(0.95);
    background-color: #f1f1f1;
}

#search-btn {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

#search-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

#search-btn:active {
    background-color: var(--dark-color);
}

/* Animations for button feedback */
.shake {
    animation: shake 0.5s ease-in-out;
}

.pulse {
    animation: pulse 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}



/* Footer */
footer {
    background-color: #f2f2f2;
    color: #70757a;
    font-size: 14px;
    margin-top: auto;
}

.footer-top {
    padding: 15px 30px;
    border-bottom: 1px solid #dadce0;
}

footer a {
    color: #70757a;
}

.footer-credits {
    padding: 10px 30px;
    text-align: center;
    border-top: 1px solid #dadce0;
    font-size: 0.8rem;
    color: #70757a;
}

.footer-credits a {
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-credits a:hover {
    color: var(--secondary-color);
}

/* Media Queries */
@media (max-width: 650px) {
    .logo {
        font-size: 4rem;
    }
    
    .search-container {
        max-width: 90%;
    }
    
    .search-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .search-buttons button {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 3rem;
    }
    
    nav ul {
        justify-content: center;
    }
} 