* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;

    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.d-inline {
    display: inline;
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.items-center {
    align-items: center;
}

img {
    max-width: 100%;
    height: auto;
}

.mx-auto {
    margin-inline: auto;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.text-underline {
    text-decoration: underline;
}

.text-white {
    color: white;
}

#work {
    background: linear-gradient(rgba(250, 235, 215, 0.5), rgba(250, 235, 215, 0.5));
}

.gallery-cell {
    width: 100%;
    margin: auto;
    border-radius: 5px;
    margin-right: 10px;
}

.gallery-container {
    width: 100%;

    img {
        display: block;
        margin: auto;
        object-fit: fill;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.caption {
    width: fit-content;
    margin: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

header .nav-links a {
    color: #555;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .footer-nav-links a:hover {
    color: #e74c3c;
}

.is-selected {
    color: gray;
}

.cta-button {
    background: #e74c3c;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../img/ramonage2.jpg") no-repeat;
    background-size: cover;
    background-position: 0% 150%;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    padding: 0;
    font-size: 1.4rem;
    margin: 0 auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
}

/* About Section */
.about {
    max-width: 1200px;
    margin: auto;
    padding: 50px 50px;
}

.about h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about p {
    font-size: 1rem;
    color: #666;
    max-width: 1200px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card-xl, .service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover, .service-card-xl:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3, .service-card-xl h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p, .service-card-xl p {
    color: #666;
    line-height: 1.6;
}

.service-card-xl h3 {
    height: 80px;
}

/* Operations Section */

.operations {
    padding: 80px 0;
}

/* Reviews Section */
.reviews {
    padding: 80px 20px;
    background: #f8f9fa;
}

.reviews .gallery-cell {
    padding: 25px 80px;
    height: 150px;
    border: 1px solid #e74c3c;
}

.reviews .gallery-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.reviews .author {
    margin-top: 1.3rem;
    font-weight: bold;
}

.reviews span {
    font-weight: normal;
}

/* Contact Section */
.contact {
    background: #2c3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #e74c3c;
}

.contact-item p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.contact-item a {
    color: white;
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    display: block;
}

/* Footer */
footer {
    background: #1a252f;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer nav {
    display: flex;
    justify-content: space-between;
}

footer .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

footer .nav-links a {
    color: white;
}

strong  {
    font-weight: normal;
}

@media (max-width: 1050px) {
    .nav-links {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .about {
        text-align: center;
        img {
            display: none;
        }
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .reviews {
        display:none;
    }

    .operations {
        display: none;
    }

    .footer {
        flex-direction: column;
    }
}