/* styles_cn.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #fff;
    color: #333;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

#about_table {
    width: 92%;
    background-color: rgb(253, 252, 252);
    margin: 0 auto;
    border-collapse: collapse;
}
#about_table tr {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}
#about_table td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

#artist_table {
    width: 92%;
    height: 400px;
    background-color: rgb(75, 74, 74);
    margin: 0 auto;
    border-collapse: collapse;
}
#artist_table tr {
    border: 0px solid black;
    padding: 8px;
    text-align: center;
}
#artist_table td {
    border: 0px solid black;
    padding: 8px;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

nav .logo a {
    font-size: 1.5rem;
    text-decoration: none;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: red;    
    text-decoration: underline;    
}


/* Styling for the horizontal line under the header */
.header-line {
    border: 0;
    height: 3px;
    background-color: black; 
    width: 90%; /* Set the width as needed */
    margin: 0 auto;
    margin-top: 1rem; /* Adjust as needed */
}

.hero-section {
    height: 100vh;
    background: url('images/15_2.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 0 1rem;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-content .btn {
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-content .btn:hover {
    background-color: #f85656;
}

.about-section {
    height: 100vh;
    background: url('images/about-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;    
    padding: 4rem 1rem;
    text-align: center;
}

.business-section {
    padding: 4rem 1rem;    
    text-align: center;
}

.desginers-section {
    padding: 4rem 1rem;    
    text-align: center;
}
.cases-section {
    padding: 4rem 1rem;    
    text-align: center;
}
.contact-section {
    height: 100vh;
    background: url('images/contact-bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;    
    padding: 4rem 1rem;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container .btn {
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.container .btn:hover {
    background-color: #f85656;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    place-items: center;
}

.business-item {
    position: relative;
}

.business-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.business-item a {
    display: inline-block;
    width: 160px; /* Fixed width for links */
    margin: 0 10px;
    padding: 10px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
}

.business-item a:hover {
    border: 1px solid red;
    text-decoration: none;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1rem;
    place-items: center;
}

.cases-item {
    position: relative;
}

.cases-item img {    
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.links {
    margin-bottom: 20px;
}

.links a {
    display: inline-block;
    width: 100px; /* Fixed width for links */
    margin: 0 10px;
    padding: 10px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    text-align: center;
}

.links a:hover {
    color:rgb(252, 0, 0);
    border: 1px solid red;
    text-decoration: none;
}


.image-display {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.image-display img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 4px;
}

/* Show the first image by default */
#image1 {
    display: block;
}

footer {
    background-color: #fff;
    color: #333;
    padding: 1rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer .social-links {
    margin-top: 1rem;
}

footer .social-links a {
    color: #333;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s;
}

footer .social-links a:hover {
    color: #333;
}