/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background: #000;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #f4a261;
}

/* Container */
.container {
    width: 90%;
    margin: auto;
    padding: 40px 0;
}

/* Grid Layout */
.tshirt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* T-shirt Card */
.tshirt-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

.tshirt-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* T-shirt Image */
.tshirt-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

/* T-shirt Details */
.tshirt-card h3 {
    font-size: 26px;
    margin: 20px 0 10px;
    color: #333;
}

.tshirt-card p {
    font-size: 18px;
    color: #555;
    margin: 10px 0;
}

.tshirt-card .price {
    font-size: 24px;
    color: #27ae60;
    font-weight: bold;
    margin: 15px 0;
}
/* Buttons */
.tshirt-card a {
    text-decoration: none;
}

button {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 30px;           /* Increased padding for larger buttons */
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin: 15px 10px;
    width: 100%;                   /* Full width on mobile for easy tapping */
    font-size: 20px;               /* Larger, readable font size */
    font-weight: bold;             /* Bold for better visibility */
    border-radius: 8px;            /* Softer corners */
    letter-spacing: 1px;           /* Improved readability */
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}

button:hover {
    background: #f4a261;           /* Nice hover color */
    color: #000;
    transform: scale(1.05);        /* Slight zoom effect on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Enhanced hover shadow */
}

/* Footer */
footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    margin-top: 30px;
}

footer a {
    color: #f4a261;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    .tshirt-grid {
        grid-template-columns: 1fr;
    }

    .tshirt-card img {
        height: 250px;
    }

    button {
        width: 100%;
        font-size: 16px;
    }

    footer {
        font-size: 14px;
    }
}
