/* Inherit base styles from ecommerce.css for consistent theme */
@import url('ecommerce.css');

body {
    padding-top: 70px; /* Adjust for fixed header */
    background-color: #f8f8f8;
    color: #333;
}

body.dark-theme {
    background-color: #2c2c2c;
    color: #e0e0e0;
}
#cart-link2 img{
    margin-right: 54px;
}
.cart-no{
    margin-right: 49px;
}

.navbar {
    border-radius: 11px;
    position: sticky;
    top: 0;
    background: none;
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.navbar2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* More prominent shadow */
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom-left-radius: 10px; /* Rounded corners */
    border-bottom-right-radius: 10px;
}
.contact-container {
    max-width: 900px;
    margin: 20px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

body.dark-theme .contact-container {
    background-color: #3a3a3a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 2.2em;
}

body.dark-theme .contact-container h2 {
    color: #e0e0e0;
}

/* Contact Info Section */
.contact-info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    text-align: center;
}

.info-card {
    background-color: #f0f8ff; /* Light blue background */
    border: 1px solid #cceeff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.dark-theme .info-card {
    background-color: #4a4a4a;
    border-color: #666;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.info-card h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
}

body.dark-theme .info-card h3 {
    color: #e0e0e0;
}

.info-card p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

body.dark-theme .info-card p {
    color: #bbb;
}

.info-card a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #fcfcfc;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

body.dark-theme .contact-form-section {
    background-color: #4a4a4a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.contact-form-section h3 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #333;
}

body.dark-theme .contact-form-section h3 {
    color: #e0e0e0;
}

.contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

body.dark-theme .input-group label {
    color: #ccc;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    background-color: #f9f9f9;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-theme .input-group input,
body.dark-theme .input-group textarea {
    background-color: #555;
    border-color: #666;
    color: #e0e0e0;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px;
}

.btn.primary-btn {
    align-self: center; /* Center the button */
    width: 60%; /* Make button narrower than full width */
    max-width: 300px;
    margin-top: 20px;
    padding: 14px 25px;
    font-size: 1.1em;
    background-color: #28a745;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.2);
}

.btn.primary-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
}

.status-message {
    text-align: center;
    margin-top: 15px;
    font-size: 1em;
    color: #666;
}

/* Responsiveness */
@media (max-width: 768px) {
    .contact-container {
        padding: 20px;
        width: 95%;
    }

    .contact-info-section {
        grid-template-columns: 1fr; /* Stack info cards vertically */
    }

    .contact-container h2 {
        font-size: 1.8em;
    }

    .contact-form-section h3 {
        font-size: 1.5em;
    }

    .btn.primary-btn {
        width: 80%; /* Wider button on smaller screens */
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 15px;
    }
    .info-card {
        padding: 20px;
    }
    .info-card i {
        font-size: 2em;
    }
    .info-card h3 {
        font-size: 1.2em;
    }
    .info-card p {
        font-size: 0.9em;
    }
    .contact-form-section {
        padding: 20px;
    }
    .input-group input,
    .input-group textarea {
        padding: 10px;
        font-size: 0.9em;
    }
    .btn.primary-btn {
        width: 90%;
        padding: 12px 20px;
        font-size: 1em;
    }
}