@charset "UTF-8";
/* CSS Document */
/* Import Stylish Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600;700&display=swap');

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
    padding-top: 80px; /* Prevent content from being hidden behind the fixed header */
}

/* Header Styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999; /* Keep header above content */
    height: 80px;
    display: flex;
    align-items: center; /* Center content vertically */
    padding: 0 20px;
    justify-content: flex-start;
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.4); /* Initial dark shadow */
    transition: all 0.3s ease;
}

/* Logo Styling */
header .logo {
    height: 60px; /* Logo height */
    margin-right: 20px;
}

/* Banner Styling */
.banner {
    width: 100%;
    margin: 20px 0;
    display: block;
    text-align: center;
}

.banner img {
    width: 100%;
    height: auto;
}

/* Basket Page Styling */
.basket-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-align: center;
}

.container {
    max-width: 1200px; /* Max width for larger screens */
    margin: 0 auto; /* Center container */
    padding: 0 20px; /* Padding for smaller screens */
}

/* Maintain current alignment styles */
.type-and-size-selection-form {
    text-align: center;
    margin: 20px auto;
}

.dropdown-container,
#size-selection-container,
#custom-size-container {
    margin: 15px auto;
    max-width: 300px;
    text-align: center;
}

.general-shopping-button {
    margin: 10px 5px;
    padding: 10px 20px;
    display: inline-block;
}

.dropdown-container select,
#size-selection-container select,
#custom-size-container input {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    margin: 5px auto;
    text-align: center;
}

/* Force dropdown to open downward and display properly */
select {
    position: relative;
    z-index: 10;
    overflow: visible; /* Ensure the dropdown is not clipped */
}

/* Fix overflow issues on parent containers */
.type-and-size-selection-form,
.dropdown-container {
    overflow: visible; /* Ensure dropdown is not restricted */
}

/* Additional browser support fix */
select:focus {
    outline: none; /* Optional: Remove focus outline for cleaner visuals */
}


.general-shopping-button {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}


/* Product Details Page */
.product-detail {
    max-width: 800px; /* Reduce the overall width */
    margin: 0 auto;
    padding: 15px; /* Slightly reduce padding */
    font-family: 'Poppins', sans-serif; /* Clean and modern font for general text */
}

/* Title Styling */
.product-detail h2 {
    font-size: 28px; /* Smaller title */
    font-weight: 700;
    margin-bottom: 15px; /* Less space below */
    text-align: center; /* Center the title */
    color: #333; /* Darker text for contrast */
}

/* Description Styling */
.product-detail p {
    font-family: 'Playfair Display', serif; /* Elegant, stylish serif font */
    font-size: 14px; /* Smaller description text */
    font-weight: 300; /* Lighter weight for a delicate appearance */
    color: #333; /* Darker color for better contrast */
    line-height: 1.5; /* Adjusted line height for readability */
    margin: 15px auto; /* Less margin for compact look */
    text-align: justify; /* Justify text to ensure alignment from both sides */
    max-width: 90%; /* Wider width for better readability */
}

/* Price Styling */
.price {
    font-size: 18px; /* Smaller price font */
    font-weight: 600; /* Slightly bolder price text */
    color: #000; /* Black color for the price */
    margin-bottom: 15px; /* Reduced margin */
    text-align: center; /* Ensure price is centered */
}

/* Main Image Container Styling */
.main-image-container {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 20px;
    width: 100%;                /* Keeps flexible width */
    height: 800px;              /* Increase the height for a larger container (adjust as needed) */
    overflow: hidden;           /* Hide any part of the image that exceeds the container */
    position: relative;
    display: flex;
    justify-content: center;    /* Center the image horizontally */
    align-items: center;        /* Center the image vertically */
}

/* Main Image Styling */
.main-image-container img {
    width: auto;                /* Ensure the width adjusts to maintain aspect ratio */
    height: 100%;               /* Make image fill the container height */
    max-width: 90%;             /* Increase the image width to 90% of the container's width */
    max-height: 95%;            /* Increase image height to 95% of the container's height */
    object-fit: contain;        /* Ensure the image doesn't get cropped and maintains full aspect ratio */
    display: block;             /* Prevent space below the image */
}

/* Thumbnails Styling */
.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px; /* Reduced gap between thumbnails */
}

.thumbnails img {
    width: 70px; /* Smaller thumbnails */
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnails img:hover {
    transform: scale(1.1);
}
/* Centering the Buttons */
.view-and-shop-button-general-style {
    display: flex;
    justify-content: center; /* Horizontally center the buttons */
    gap: 20px; /* Space between the buttons */
    margin-top: 20px; /* Optional: Space above the buttons */
}

@media (max-width: 480px) {
    /* Adjustments for very small screens (phones in portrait mode) */
    .product-detail {
        padding: 5px;
    }

    .product-detail h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .main-image-container {
        margin-bottom: 5px;
    }

    .main-image-container img {
        width: 90%;
        max-width: 100%;
        display: block;
        margin: 0 auto;
    }

    .thumbnails {
        gap: 3px;
    }

    .thumbnails img {
        width: 45px;
        height: 45px;
    }

    .price {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .description {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .buttons {
        margin-top: 5px;
        text-align: center;
    }

    .buttons .btn {
        display: inline-block;
        margin: 5px 5px;
    }

    /* Ensure larger input fields on mobile */
    .dropdown-container select,
    #size-selection-container select,
    #custom-size-container input {
        padding: 15px;
        font-size: 16px; /* Increase font size for mobile readability */
    }
}

/* Media Query for Responsive Header */
@media (max-width: 768px) {
    /* Adjust header layout on smaller screens */
    header {
        padding: 0 10px; /* Reduce padding for mobile */
        justify-content: center; /* Center the header content */
    }

    /* Logo Styling on smaller screens */
    header .logo {
        height: 50px; /* Reduce logo size */
        margin-right: 0; /* Remove margin for mobile */
    }

    /* Optionally, you can adjust the shadow for mobile */
    header {
        box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2); /* Lighter shadow */
    }
/* Ensure larger input fields on mobile */
    .dropdown-container select,
    #size-selection-container select,
    #custom-size-container input {
        padding: 15px;
        font-size: 16px; /* Increase font size for mobile readability */
    }
}

@media (max-width: 480px) {
    /* Further adjustments for very small screens */
    header {
        padding: 0 5px; /* Reduce padding further */
    }

    /* Logo Styling on very small screens */
    header .logo {
        height: 40px; /* Even smaller logo size */
    }
}

/* ================================ 
  centre menu css 
==================================== */

/* Center the navigation menu */
.centered-menu {
    flex-grow: 1; /* Makes sure the menu takes available space */
    text-align: center; /* Center the menu horizontally */
}

/* Style the menu list */
.centered-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center items horizontally */
    gap: 20px; /* Space between menu items */
}

/* Style the menu links */
.centered-menu ul li {
    display: inline-block; /* Ensure each item behaves like an inline-block */
}

.centered-menu ul li a {
    text-decoration: none;
    color: black; /* Set the link color */
    font-size: 16px;
    font-weight: bold; /* Make the text bold */
    transition: color 0.3s; /* Smooth color transition */
}

.centered-menu ul li a:hover {
    color: #777B78; /* Change the color on hover */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Ensure header layout with logo on left and menu below on mobile */
    header {
        display: flex;
        justify-content: space-between; /* Ensure space between logo and menu */
        align-items: center; /* Align content vertically */
        flex-direction: row; /* Keep elements in a row */
        padding: 0 20px;
    }

    /* Adjust .centered-menu to stack vertically on mobile */
    .centered-menu {
        width: 100%; /* Ensure menu takes full width */
        text-align: center; /* Keep text aligned center */
        margin-top: 10px; /* Add space between header and menu */
    }

    .centered-menu ul {
        flex-direction: row; /* Keep items side by side */
        justify-content: center; /* Ensure items are centered horizontally */
        gap: 10px; /* Space between menu items */
        padding: 0;
    }

    .centered-menu ul li a {
        font-size: 11px; /* Smaller font size on mobile */
    }

    .logo {
        height: 60px; /* Keep the logo size same as large screens */
    }
}

/* ================================ 
  Ending Stones gallery CSS Page 
==================================== */
.social-icons-wrapper {
    text-align: center; /* Center the icons */
    margin: 20px 0; /* Add some margin above and below */
}

.social-icons {
    list-style: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
    display: flex; /* Use Flexbox for horizontal alignment */
    justify-content: center; /* Center the icons */
    gap: 15px; /* Space between icons */
}

.social-icons li {
    display: inline; /* Make list items inline */
}

.social-icons a {
    text-decoration: none; /* Remove underline from links */
    color: black; /* Icon color */
    font-size: 24px; /* Size of icons */
    transition: color 0.3s; /* Smooth color transition on hover */
}

.social-icons a:hover {
    color: #888770; /* Change color on hover (you can customize this) */
}

/* ====================== 
  STARTING OF SUBSCRIBE BUTTON STYLES 
====================== */
.subscribe-section {
    padding: 40px;
    background-color: #f9f9f9; /* Light background for contrast */
    text-align: center;
}

.subscribe-input {
    padding: 10px;
    width: 50%; /* Use percentage */
    max-width: 300px; /* Set a max-width */
    margin-bottom: 10px;
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
    transition: border-color 0.3s; /* Smooth transition on focus */
}


.subscribe-input:focus {
    border-color: #333; /* Darker border on focus */
    outline: none; /* Remove default outline */
}

.subscribe-button {
    padding: 10px 20px;
    background-color: #333; /* Dark button */
    color: white; /* Button text color */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer on hover */
    transition: background-color 0.3s; /* Smooth transition */
}

.subscribe-button:hover {
    background-color: #444; /* Darker shade on hover */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .subscribe-input {
        width: 80%; /* More responsive on medium screens */
        max-width: 300px; /* Limit maximum width */
    }

    .subscribe-button {
        padding: 10px 15px; /* Adjust button padding */
    }
}

@media (max-width: 480px) {
    .subscribe-section {
        padding: 20px; /* Reduce padding for very small screens */
    }

    .subscribe-input {
        width: 90%; /* Increase width for mobile */
        margin-bottom: 15px; /* Adjust margin */
    }

    .subscribe-button {
        width: 90%; /* Make button full width on mobile */
    }
}

/* ====================== 
  ENDING OF SUBSCRIBE BUTTON STYLES 
====================== */
.copyright {
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 12px; 
    color: #666; 
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
}

.copyright-line1, .copyright-line2 {
    margin: 2px 0; 
    text-align: center; /* Center the text for better consistency */
}

/* Button container for each item */
.view-and-shop-button-general-style {
    margin-top: 10px;
}

/* Default button styles */
.view-and-shop-button-general-style a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 0px;
    font-size: 14px;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Default Shop Now button (black background, white text) */
.general-shopping-button {
    background-color: black;
    color: white;
    border: 2px solid white;
}

/* Hover effects for buttons */
.general-shopping-button:hover {
    background-color: white;
    color: black;
    border-color: black;
}

/* Opposite button style when one is hovered */
.general-shopping-button:hover ~ .general-view-gallery-button {
    background-color: white;
    color: black;
    border-color: black;
}
