:root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
    color: var(--text);
    line-height: 1.6;
    background-color: #f9f9f9;
}

.hero-image{
    background-image: url('Gallery/claudio-schwarz-q8kR_ie6WnI-unsplash.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    width: auto;
    height: auto; /* Full viewport height */
    overflow: hidden;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.card-container_home {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start; /* Center the cards horizontally */
  margin-top: 50px; /* Add some space above the container */
  margin-bottom: 50px; /* Add some space below the container */
  width: 50%;
  margin-left: 10%; /* Align to the right */
  margin-right: 0; /* Align to the right */
  height: auto;
}

.card-container_second{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end; /* Center the cards horizontally */
  margin-bottom: 50px; /* Add some space below the container */
  width: 50%;
  margin-left: 40%; /* Align to the right */
  margin-right: 0; /* Align to the right */
  height: auto;
}

.card_home {
  width: 1080px; /* Example fixed width */
  height: 720px; /* Example fixed height */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden; /* Ensures image corners match card corners */
}

.card-container_third{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: right; /* Center the cards horizontally */
  margin-bottom: 50px; /* Add some space below the container */
  width: 50%;
  margin-left: 25%; /* Align to the right */
  margin-right: 0; /* Align to the right */
  height: auto;
}

.card-container_fourth{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: left; /* Center the cards horizontally */
  width: 50%;
  margin-bottom: 50px;
  margin-left: 25%; /* Align to the right */
  margin-right: 0; /* Align to the right */
  height: auto;
}

.card .video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1 ; /* Sets a fixed 16:9 aspect ratio for the video area */
  overflow: hidden; /* Ensures video corners match card corners */
}

.card .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Video will fill the area and crop as needed */
  display: block;
}

.card .video-wrapper_2 {
  position: relative;
  left: 0%;
  width: 100%;
  aspect-ratio: 1 / 1; /* Sets a fixed 4:3 aspect ratio for the video area */
  overflow: hidden; /* Ensures video corners match card corners */
}

.card .video-wrapper_2 video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Video will fill the area and crop as needed */
  display: block;
}

/* Styles for the content overlay */
.hero-content {
  position: relative;
  color: white; /* Example text styling */
  text-align: center;
  padding: 150px 20px; /* Example padding */
}

.hero-content h1 {
  font-size: 100px;
  margin-bottom: 100px;
  color: #141414;
}

.hero-content p {
  font-size: 70px;
  color: #008CBA;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Card grid layout */
.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Individual card styling */
.card {
  width: 560px;/*Examplefixedwidth*/
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.card:hover img {
    transform: scale(1.05);
}

/* Image container and fitting */
.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Sets a fixed square aspect ratio for the image area */
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Images will fill the square area and crop as needed */
  display: block;
}

/* Card content styling */
.card-content {
  padding: 1rem;
}

.about-us{
    top: 50px;
    padding: 0px 35px;
    background-color: beige;
    text-align: center;
    margin-top: 20px;
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
    color: grey;
}

.about-us h1 {
    color: #141414;
    margin-bottom: 20px;
}

.contact-container {
    background-color: #141414;
    padding: 50px 35px;
    text-align: center;
}

.contact-container h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-container p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #cccccc;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 16px;
}

.contact-form button {
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #3498db;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #2980b9;
}
.container {
  position: relative;
  width: 50%;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
}

.container:hover .overlay {
  width: 100%;
}

.overlay-text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

.btn-whatsapp {
    background-color: #25D366;
    margin-left: 15px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f5f5f5;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.values {
    margin-top: 30px;
}

.value-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.value-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    color: #25D366 !important;
    font-weight: 600;
}

.whatsapp-link i {
    margin-right: 8px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Responsive */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        display: none;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-whatsapp {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-card, .testimonial-card {
        padding: 20px;
    }
}