* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
}

/* Navigation */
nav {
    background: #fff;
    padding: 1rem 5%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    background: linear-gradient(135deg, #2c3e50, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #f1c40f;
    background-color: rgba(241, 196, 15, 0.1);
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo-container {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: none;
}

.logo-container:hover {
    transform: scale(1.05);
}

.hero-logo {
    width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 90vw;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Section */
.products-section {
    padding: 5rem 10%;
    background: #f9f9f9;
}

.products-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    border-bottom: 3px solid #f1c40f;
    padding-bottom: 1rem;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.products-section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2c3e50, #2980b9);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    padding: 0.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.product-card img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-card h3 {
    margin-top: 0.5rem;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.1rem;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(44, 62, 80, 0.2);
    border-color: #f1c40f;
    padding: 2rem;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card h3 {
    margin-top: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
}

.product-desc {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    flex-grow: 1;
}

.product-card:hover .product-desc {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.enquire-btn {
    margin-top: 0.5rem;
    padding: 0.4rem 1.2rem;
    background-color: #f1c40f;
    color: #2c3e50;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.product-card:hover .enquire-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.enquire-btn:hover {
    background-color: #e0b416;
    transform: translateY(-2px);
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup.active {
    display: flex;
}

.popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #f1c40f;
}

#enquiryForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background-color: #f1c40f;
    color: #2c3e50;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #e0b416;
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 5rem 10%;
    background: #f9f9f9;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    border-bottom: 3px solid #f1c40f;
    padding-bottom: 1rem;
    display: inline-block;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 196, 15, 0.1), transparent);
    transition: 0.5s;
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.1);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2980b9;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
    color: #f1c40f;
}

.contact-item i {
    font-size: 1.5rem;
    color: #2980b9;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #2980b9);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    #hero {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}
