* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6c5ce7;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6c5ce7;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.generator-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 1.5rem;
}

input[type="text"] {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #5b4bc4;
}

.hashtag-results {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.hashtag-item {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}

.hashtag-item:hover {
    background: #e9ecef;
}

.copy-all {
    margin-top: 1rem;
}


/* Updated Footer Styles */
.main-content {
    flex: 1;
}

/* Footer styling */
footer {
    background: #2d3436;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    width: 100%;
}

/* Contact Form Styles */
.contact-container {
    max-width: 800px;
    margin: 2rem auto;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #6c5ce7;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.success-message {
    display: none;
    color: #2ecc71;
    margin-top: 1rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .newsletter input {
        width: 60%;
    }
    
    .contact-container {
        padding: 0 1rem;
    }
}


@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background: white;
        display: flex;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease-in-out;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        padding: 1rem 0;
        display: block;
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
    }
}

