/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #000;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .logo {
    font-size: 1.8rem;
    font-weight: bold;
}
/* Logo Section */
.logo {
    display: flex; /* Arrange items in a row */
    align-items: center; /* Vertically align items */
    gap: 10px; /* Space between the logo and the text */
}

.logo img {
    width: 80px; /* Adjust the size of the logo */
    height: auto; /* Maintain aspect ratio */
}

.logo h3 {
    margin: 0; /* Remove default margin */
	margin-left:18px;
    font-size: 1.5rem; /* Adjust font size for the text */
    font-weight: bold;
    color: #fff; /* Adjust text color */
    font-family: 'Arial', sans-serif; /* Optional: Customize font */
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}
.nav-links li a {
    color: #fff;
    transition: color 0.3s;
}
.nav-links li a:hover {
    color: #00c2d5;
}

.nav-links a.active {
    font-weight: bold;
    color: #00c2d5; /* Highlight color */
    border-bottom: 2px solid #00c2d5; /* Optional underline */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Positioning the cart icon in the navigation bar */
.cart-icon-container {
    position: absolute;
    top: 50%;
    right: 20px; /* Adjust as per your layout */
    transform: translateY(-50%);
    display: flex;
    align-items: center;
}

/* Styling the cart icon */
.cart-icon {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    position: relative;
}

.cart-icon i {
    transition: color 0.3s ease;
}

.cart-icon:hover i {
    color: #00c2d5; /* Highlight color on hover */
}

/* Cart item count badge */
#cart-count {
    position: absolute;
    top: -17px;
    right: -17px;
    background: #fff;
    color: black;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 4px 6px;
    display: inline-block;
    min-width: 18px;
    text-align: center;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #000;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
		margin-left:20px;
    }
    .nav-links.active {
        max-height: 300px;
		margin-top:-0px;
    }
    .menu-toggle {
        display: flex;
    }
	.product-grid {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .product {
        max-width: 300px; /* Keep items the same size as on larger screens */
    }
}

/* Hero Section */

.hero-content{
	background-color: rgba(0, 0, 0, 0.3);
	width:800px;
	padding:20px;
}
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    background: url('https://worth-brand.com/images/hero.webp') no-repeat center center/cover;
    color: #fff;
    text-align: center;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    /*text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);  Subtle shadow effect */
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    /*text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);  Match the shadow style */
}
/* Add this to the button styles */
.btn {
    display: inline-block;
    padding: 6px 24px;
    font-size: 1rem;
    font-weight: bold; /* Make the text bold */
    font-family: 'Poppins', sans-serif; /* Use a modern rich font */
    color: black; /* Black text */
    background-color: white; /* White background */
    border: 2px solid black; /* Black border */
    border-radius: 5px; /* Optional: Rounded corners */
    text-decoration: none; /* Remove underline */
    text-align: center; /* Center the text */
    transition: all 0.3s ease; /* Smooth hover effect */
    letter-spacing: 1px; /* Add subtle spacing for better readability */
}

.btn:hover {
    background-color: black; /* Change background on hover */
    color: white; /* White text on hover */
}

/* Shop Section */
.shop {
    padding: 50px;
    text-align: center;
}
.shop h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.product-grid {
    display: grid;
    gap: 20px; /* Space between grid items */
    grid-template-columns: repeat(3, minmax(450px, 1fr)); /* Default: 3 columns */
    justify-items: center; /* Center items horizontally */
}

.product h3 {
    margin: 10px 0;
}
.product p {
    margin: 0;
    font-weight: bold;
    color: #00c2d5;
}

/* About Section */
.about {
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto; /* Centers the section horizontally */
    box-sizing: border-box; /* Ensures padding is included in the width */
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background-color: #000;
    color: #fff;
}
footer .social {
    color: #00c2d5;
    margin: 0 5px;
}


/* General Photo Album Styling */
.photo-album {
    padding: 20px;
}

/* Default Puzzle Layout for Large Screens */
/* Default Puzzle Layout for Large Screens */
.puzzle-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* Puzzle layout for larger screens */
    grid-auto-rows: 150px; /* Base row height */
    gap: 0px; /* Space between items */
}

.puzzle-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Depth effect */
    transition: transform 0.3s ease;
}
@media (min-width: 781px) {
	/* Positioning Items for Puzzle Layout */
	.puzzle-grid img:nth-child(1) {
		grid-column: span 6;
		grid-row: span 3;
	}
	.puzzle-grid img:nth-child(2) {
		grid-column: span 4;
		grid-row: span 2;
	}
	.puzzle-grid img:nth-child(3) {
		grid-column: span 2;
		grid-row: span 2;
	}
	.puzzle-grid img:nth-child(4) {
		grid-column: span 6;
		grid-row: span 3;
	}
	.puzzle-grid img:nth-child(5) {
		grid-column: span 6;
		grid-row: span 5;
	}
	.puzzle-grid img:nth-child(6) {
		grid-column: span 6;
		grid-row: span 3;
	}
}

/* Hover Effect */
.puzzle-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Small Screens: 2 Rows x 3 Columns */
@media (max-width: 780px) {
    .puzzle-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
        grid-template-rows: repeat(2, auto); /* 2 rows */
        gap: 10px; /* Compact spacing for small screens */
    }

    .puzzle-grid img {
        width: 100%; /* Ensure each image fills its grid cell */
        height: auto; /* Maintain aspect ratio */
    }

    /* Hide extra images beyond the first 6 */
    .puzzle-grid img:nth-child(n+7) {
        display: none;
    }
}