:root {
    --primary-color: #c9a86a;
    --secondary-color: #4a4a4a;
    --text-color: #333;
    --bg-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h2 {
    font-weight: 550;
}

.about-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.values-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.value-item {
    margin-bottom: 1rem;
    margin-left: -10px;
    margin-right: -10px;
    padding: 1rem;
    background-color: #dbdbdb;
    border-radius: 8px;
    min-width: 300px;
}

form {
    display: grid;
    gap: 1rem;
}

.success-message-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px);
}

.success-message {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffffff;
}

.field-validation-error {
    color: red;
    font-size: 0.7rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

    .contact-method svg {
        width: 24px;
        height: 24px;
        margin-right: 0.5rem;
    }

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 1rem;
}

.wrap {
    padding-top: 110px;
}

.logo {
    width: 200px;
    height: auto;
    animation: fadeInDown 3s ease-out, zoomIn 1.5s ease-out;
    transition: transform 0.3s ease-in-out;
}

    .logo:hover {
        transform: translateY(-5px);
    }

.nav-links {
    display: flex;
    list-style: none;
    margin: inherit;
    padding-right: 50px;
}

    .nav-links li {
        margin-left: 2rem;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--secondary-color);
        font-weight: bold;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--primary-color);
        }

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,-0.5)), url('../img/main.jpg');
    background-size: cover;
    background-position:center top;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.hero-content {
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out, zoomIn 1.5s ease-out;
    z-index: 3;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.5s both, slideInLeft 1.5s ease-out;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    animation: pulse 2s infinite, slideInRight 1.5s ease-out;
}

    .btn:hover {
        background-color: #b08d4f;
        color: #fff;
    }

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section-subtitle {
    text-align: left;
    font-size: 1.5rem;
    margin-left: 3rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

    .gallery-item a {
        color: inherit; /* blue colors for links too */
        text-decoration: inherit; /* no underline */
    }

    .gallery-item:hover {
        transform: translateY(-7px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
        background-color: #f0f0f0 !important;
    }

    .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.gallery-item-content {
    padding: 1rem;
}

.gallery-item h3 {
    margin-bottom: 0.5rem;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0px;
}

.image-container {
    margin: 10px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
}

    .image-container:hover {
        transform: scale(1.05);
    }

    .image-container img {
        width: 300px;
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
    }

    .image-container:hover img {
        transform: scale(1.1);
    }

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 3px;
    }

    .form-group textarea {
        height: 150px;
    }

.testimonial {
    background-color: #ffff;
    text-align: center;
}

.testimonial-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-nav {
    margin-top: 35px;
}

footer {
    background-color: #b08d4f;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .wrap {
        padding-top: 170px;
    }

    .form-container {
        padding: 0;
    }

    .social-icons {
        top: 60% !important;
    }

    .floating-objects {
        top: 80px !important;
    }

    .map-container {
        margin-left: -35px !important;
        margin-right: -40px !important;
    }

    .contact-info {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 400px) {
    .social-icons {
        top: calc(55% + 35px) !important;
    }

    .value-item {
        min-width: 240px !important;
    }

        .value-item h3 {
            font-size: 1.3rem !important;
        }

    .contact-info {
        margin-top: 20px !important;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.floating-objects {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-object {
    position: absolute;
    opacity: 0.6;
    animation: float 15s infinite linear;
    animation-delay: 0s;
}

.no-opacity {
    opacity: 0 !important;
}

.social-icons {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-social-icons {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .main-social-icons a {
        color: white !important;
    }

    .main-social-icons svg {
        width: 38px;
        height: 38px;
        fill: var(--text-color);
        transition: fill 0.3s ease;
    }

    .main-social-icons a:hover svg {
        color: white;
        fill: var(--primary-color);
    }

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .social-icon:hover {
        color: white;
        background-color: var(--primary-color);
    }

.map-container {
    margin-top: 20px;
    margin-left: -10px;
}

/* Animations */

@keyframes float {
    0% {
        transform: translateY(100%) rotate(0deg);
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
