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

body {
    background-color: #f3f3f3;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #333;
    color: #fff;
}

header .logo a {
    color: #fff;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff6347;
}

footer {
    text-align: center;
    padding: 1rem 2rem;
    background-color: #333;
    color: #fff;
}

footer .social-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

footer .social-links li {
    margin: 0 0.5rem;
}

footer .social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #ff6347;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.hero-content {
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 999; /* Ensures content stays above slides and overlay */
    top: 50%;
    transform: translateY(-50%);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    z-index: 999;
}

.hero-content p {
    font-size: 1.25rem;
    z-index: 999;
}

.hero-slide:nth-child(1) {
    background-image: url('images/RMacias1.jpg');
}

.hero-slide:nth-child(2) {
    background-image: url('images/RMacias2.jpg');
}

.hero-slide:nth-child(3) {
    background-image: url('images/RMacias3.jpg');
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    background-color: #fff;
    color: #333;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
    max-width: 600px;
    text-align: left;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}


/* Gallery Section */
.gallery-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    color: #333;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}


.gallery-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.gallery-item p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.gallery-item h3 {
    padding-top: 1rem;
}


.gallery-item:hover {
    transform: scale(1.1);
    cursor: zoom-in;
}

/* Filter Dropdown */
.tag-filter-form {
    margin-bottom: 2rem;
    text-align: center;
}

.tag-filter-form select {
    padding: 0.5rem;
    font-size: 1rem;
    margin-right: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.tag-filter-form button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tag-filter-form button:hover {
    background-color: #ff6347;
}

/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* Contact Section */
.contact-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
    color: #333;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    height:100%;
}

.contact-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.google-form-container {
    width: 100%;
    /*overflow: hidden;*/
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.gallery-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden; /* Ensures the image doesn't overflow the rounded corners */
    width: 300px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center; /* Ensure text stays centered */
}

.gallery-images img {
    width: 100%; /* Make the image take up the full width */
    height: 300px; /* Maintain aspect ratio */
    border-radius: 0; /* Remove the default border radius if any */
    object-fit: cover;
}

.image-description {
    margin-top: 10px; /* Add some space between the image and the description */
    font-size: 14px;
    color: #555;
    text-align: center;
}

.piece-details {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}

.piece-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.piece-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.piece-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.piece-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.back-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-bottom:1rem;
}

.back-button:hover {
    background-color: #ff6347;
}
.read-more {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1rem;
    margin-top: 1rem;
}

.read-more:hover {
    background-color: #ff6347;
}
