@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;700&family=Lora:wght@400;600&display=swap');
/* --- GENERAL PAGE STYLING --- */
html, body {
    font-family: 'Lora', serif; /* Elegant body text */
    background-color: #0a1f44 !important; /* Deep navy blue */
    color: #ffffff; /* White text */
    margin: 0;
    padding: 0;
    height: 100%;
}

/* --- HEADER STYLING --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a1f44;
    padding: 20px;
}

.logo {
    width: 180px;
}

.navbar {
    position: relative !important;
    width: 100%;
    height: 500px;
    background: url("../store/cover.jpg") center/cover no-repeat;
    z-index: 1000; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    margin-top: 0;
}

.navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: -15px;
}

.navbar .navbar-brand img {
    height: 6%; 
}



.navbar .nav-link:hover, .navbar .button:hover {
    color: #FFD700 !important; 
}

/* --- SEARCH BAR STYLING --- */
.search-container {
    display: flex;
    align-items: center;
    gap: 10px;

}

/* Input styling */
.search-container input {
    width: 200px;
    max-width: 100%;
    padding: 10px 15px;
    border-radius: 25px;
    border: 2px solid #FFD700;
    font-size: 1rem;
    outline: none;
    background: #ffffff;
    color: #0a1f44;
    transition: border-color 0.3s;
}

/* On focus, make the border a deeper gold */
.search-container input:focus {
    border-color: #e6b800;
}

/* Button styling to match your premium theme */
.search-container button {
    background: linear-gradient(to right, #d4af37, #f1c40f);
    color: #0a1f44;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-container button:hover {
    background: linear-gradient(to right, #f1c40f, #d4af37);
    color: #fff;
}

.search-container form {
    display: inline-block;
    position: relative;
}

.search-container .form-control {
    width: 200px; 
}

/* --- CATEGORY BUTTONS --- */
.categories {
    text-align: center;
    margin: 30px 0;
}

.category-buttons a {
    display: inline-block;
    background: transparent;
    border: 2px solid #FFD700; 
    color: #FFD700; 
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    font-family: 'Cormorant Garamond', serif; 
    text-transform: uppercase;
}

.category-buttons a:hover {
    background: #FFD700;
    color: #0a1f44; /* Navy Blue */
    transform: scale(1.05);
}

.category-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: -10px;
}

h1 {
    font-family: 'Cormorant Garamond', serif; 
    text-align: center;
    font-size: 3rem;
    padding: 20px;
    color: #FFD700; /* Gold */

}

/* --- FIX LINKS HAVING NO COLOR OR UNDERLINE --- */
a {
    color: #FFD700; /* Gold links */
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* --- PRODUCT LISTING PAGE --- */
.product-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px;
}

.product-detail-container {
    display: flex;
    justify-content: flex-start; /* Aligns content to the left */
    align-items: flex-start;
    gap: 80px; /* More space between image and text */
    max-width: 1100px; /* Adjust width */
    margin: 50px auto;
    padding: 20px;

}

.product-card {
    background: #1b2a4e; /* Slightly lighter navy */
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 320px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 5px 5px 20px rgba(255, 215, 0, 0.4);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #FFD700; /* Gold */
}

/* --- BUTTON STYLING --- */
button, a.button {
    display: inline-block;
    background: linear-gradient(to right, #FFD700, #e6b800);
    color: #0a1f44; /* Navy */
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2); 
}

button:hover, a.button:hover {
    background: linear-gradient(to right, #e6b800, #cfa400);
    transform: scale(1.08); 
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3); 
}

button, a.button {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 1px; 
}

.button-group {
    display: flex;
    gap: 15px; 
    justify-content: center;
}

.btn-warning {
    background: linear-gradient(to right, #FFD700, #e6b800); /* Gold Gradient */
    color: #0a1f44; /* Navy */
    border: none;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 30px;
    transition: 0.3s;
}

.btn-warning:hover {
    background: linear-gradient(to right, #e6b800, #cfa400); /* Darker Gold */
    transform: scale(1.05);
    text-decoration: none;
}


/*  All Product Images */
.card {
    background-color: #061735; 
    color: #FFD700; 
    border: 2px solid #06132a; 
    border-radius: 10px;
    box-shadow: 4px 4px 15px rgba(255, 215, 0, 0.3); 

}


.card-title, .card-text {
    color: #FFD700 !important; 
}

.uniform-img {
    width: 100% !important;
    height: 300px !important;  
    object-fit: cover !important;  
    border-radius: 10px !important; 
    display: block !important;
    overflow: hidden !important;

    /* Safari Fix */
    min-height: 300px !important; 
    max-height: 300px !important; 
    min-width: 300px !important; 
}

/* Product Detail Page */
.detail-img {
    width: 100% !important;
    max-width: 400px !important;  /* Slightly larger */
    height: 450px !important;  /* Taller image */
    object-fit: cover !important;
    border-radius: 15px !important;
    display: block !important;
    margin: 20px auto;
    box-shadow: 4px 4px 15px rgba(255, 215, 0, 0.3);
}

.product-info {
    text-align: center;
    padding: 10px;
}

.product-info h1 {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 1.4rem;
    font-family: 'Cormorant Garamond', serif;
    color: #FFD700; /* Gold */
    margin-bottom: 5px;
}

.product-buttons {
    display: flex;
    gap: 15px; /* Adds space between buttons */
    justify-content: center; /* Center aligns buttons */
    margin-top: 20px; /* Adds spacing above buttons */
}

.product-buttons a, .product-buttons button {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
}

/* --- PRICE & DESCRIPTION STYLING --- */
.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFD700; /* Gold */
    margin-bottom: 8px;
}

.description {
    font-size: 0.95rem;
    color: #e0e0e0; /* Light grey */
    margin-bottom: 15px;
}

/* Registration */

.registration-container {
    padding: 20px;
    text-align: center;
}

.register-bg {
    background-color: #0a1f44; 
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.register-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.form-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3); 
    width: 100%;
    max-width: 500px;
}

.form-label {
    font-weight: bold;
    color: #0a1f44; 
}

input {
    width: 100%;
    padding: 10px;
    border: 2px solid #0a1f44;
    border-radius: 5px;
    margin-top: 5px;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: #e6b800;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/*  Cart Container */
.cart-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background: #0a1f44;
    color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 215, 0, 0.2);
}

/* Table Styling */
.cart-table {
    width: 100%;
    color: white;
    text-align: center;
    border-collapse: collapse;
}

.cart-table th {
    background: #081A3A;
    color: #FFD700;
    padding: 10px;
    text-transform: uppercase;
}

.cart-table td {
    padding: 15px;
    border-bottom: 1px solid #FFD700;
}

/* Cart Product Image */
.cart-img {
    width: 80px;  
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(255, 215, 0, 0.3);
}

/* Quantity Controls */
.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn {
    background: #FFD700;
    color: #0a1f44;
    padding: 5px 10px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    margin: 0 5px;
}

.qty-btn:hover {
    background: #e6b800;
    text-decoration: none;
}

.qty-number {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0 10px;
}

/* Cart Summary */
.cart-summary {
    text-align: center;
    margin-top: 20px;
}

.cart-summary h4 {
    font-size: 1.5rem;
    color: #FFD700;
}

.cart-summary .btn-success {
    background: #FFD700;
    color: #0a1f44;
    padding: 10px 25px;
    font-size: 1.2rem;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
}

.cart-summary .btn-success:hover {
    background: #e6b800;
    text-decoration: none;
}
/* Fix Checkout Image Size */
.checkout-img {
    width: 100% !important;
    height: 120px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    display: block !important;
}

/* Fix Checkout Page Layout */
.checkout-container {
    background-color: #0a1f44; /* Navy Background */
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 2px 2px 10px rgba(255, 215, 0, 0.3);
}

/* Checkout Table Styling */
.checkout-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #162447; /* Dark Navy */
    color: white;
    border-radius: 10px;
    overflow: hidden;
}

.checkout-table th,
.checkout-table td {
    padding: 12px;
    border-bottom: 1px solid #FFD700; /* Gold Border */
}

.checkout-table th {
    background-color: #0a1f44; /* Navy */
}

/* Style Checkout Buttons */
.checkout-summary {
    text-align: center;
    margin-top: 20px;
}

.checkout-summary .btn {
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(to right, #FFD700, #e6b800);
    color: #0a1f44;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    transition: 0.3s;
    margin-top: 10px;
}

.checkout-summary .btn:hover {
    background: linear-gradient(to right, #e6b800, #cfa400);
    transform: scale(1.05);
}


/* Footer Styles */
.footer {
    background: #fff; 
    color: #0a1f44; 
    padding: 10px 0;
    text-align: center;
    margin: 0;
    font-size: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.product-detail-container {
    min-height: calc(100vh - 120px); /* Adjust 120px to your footer height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px; /* add some breathing room */
    box-sizing: border-box;
  }

/* Social Media Icons */
.social-icons {
    margin-top: 10px;
}

.social-link img {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.social-link img:hover {
    transform: scale(1.2);
}

/* Payment Success Page Layout */
.success-container {
    background-color: #162447; /* Dark Navy */
    color: white;
    padding: 40px;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 600px;
    box-shadow: 2px 2px 10px rgba(255, 215, 0, 0.3);
}

/*  "Continue Shopping" Button */
.success-container .btn {
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(to right, #FFD700, #e6b800);
    color: #0a1f44;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    transition: 0.3s;
}

.success-container .btn:hover {
    background: linear-gradient(to right, #e6b800, #cfa400);
    transform: scale(1.05);
    text-decoration: none;
}




/*  Responsive Fix for Smaller Screens */
@media (max-width: 992px) {
    .navbar {
        height: auto;
        padding: 15px;
    }
    .category-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    .search-input {
        width: 150px; /* Adjust input size on smaller screens */
    }
}