* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.logo span {
    font-size: 0.8rem;
    color: #3498db;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #f39c12;
    color: #333;
}

.btn-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3df565;
    transform: translateY(-2px);
}

.hero-image {
    font-size: 12rem;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.stat h4 {
    font-size: 2rem;
    color: #f39c12;
}

.about-image {
    font-size: 10rem;
    text-align: center;
    color: #667eea;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services h3, .catalog h3, .contact-info h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card i {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.service-card h4 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
    background: #f8f9fa;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.book-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-cover {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.book-card h4 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.rating {
    color: #f39c12;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details div {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-details i {
    width: 30px;
    color: #f39c12;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
}

.contact-form button {
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.social-icons i:hover {
    color: #f39c12;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero .container, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        text-align: center;
    }
}