/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #e55800;
    transition: color 0.3s ease;
}

a:hover {
    color: #b55400;
}

ul {
    list-style-type: none;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #e56f00 0%, #e57e1e 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    font-weight: 500;
}

nav ul li a:hover {
    color: #f0f0f0;
}

/* Hero Section */
.hero {
    background-color: #e56f00;
    padding: 40px 0;
    color: white;
}

.input-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.input-container i {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: #666;
    font-size: 20px;
}

#inputText {
    width: 100%;
    padding: 20px 20px 20px 50px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#inputText:focus {
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Font Generator Section */
.font-generator {
    padding: 40px 0;
}

.font-container {
    display: grid;
    grid-gap: 20px;
}

.font-item {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.font-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.font-name {
    font-weight: 500;
    color: #666;
    font-size: 16px;
    width: 150px;
}

.font-text {
    flex-grow: 1;
    padding: 0 20px;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 18px;
}

.font-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-decorate {
    background-color: #f0f0f0;
    color: #333;
}

.btn-decorate:hover {
    background-color: #e0e0e0;
}

.btn-copy {
    background-color: #e57e00;
    color: white;
}

.btn-copy:hover {
    background-color: #b56a00;
}

.favorite-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #ddd;
    transition: all 0.3s ease;
}

.favorite-btn:hover, .favorite-btn.active {
    color: #ff5a5f;
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #e56300;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Info Section */
.info {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.info h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #333;
}

.info h3 {
    margin: 30px 0 15px;
    font-size: 22px;
    color: #333;
}

.info p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

.info ul, .info ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.info li {
    margin-bottom: 10px;
    color: #666;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    margin-bottom: 15px;
}

.footer-links h3, .footer-social h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #e55400;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 15px;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    .font-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .font-name {
        width: 100%;
    }

    .font-text {
        width: 100%;
        padding: 0;
    }

    .font-actions {
        width: 100%;
        justify-content: space-between;
    }
} 