* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background-color: #0a0a0a;
    border-bottom: 2px solid #ff0000;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px; 
}

.logo img {
    height: 100%; 
    width: auto; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff0000;
}

.opinion-main {
    background: url("images/backgroundtaco.jpg") center/cover no-repeat;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
    padding-bottom: 80px;
    min-height: 100vh;
}

.opinion-main::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.opinion-header-background {
    background-color: #000;
    padding: 40px 60px 20px;
    border-bottom: 2px solid #ff0000;
    position: relative;
    z-index: 2;
}

.back-btn {
    color: #fff;
    font-size: 2em;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s;
    margin-bottom: 20px;
}

.back-btn:hover {
    color: #ff0000;
}

.opinion-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #fff;
    text-align: center;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: none;
    display: block;
    width: 100%;
    position: relative;
    z-index: 2;
}

.opinion-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 40px auto;
    position: relative;
    z-index: 2;
    padding: 0 60px;
}

.form-wrapper {
    flex: 1;
    max-width: 500px;
}

.opinion-form {
    display: flex;
    flex-direction: column;
}

.opinion-form label {
    font-size: 1.1em;
    margin-bottom: 5px;
    font-weight: 600;
}

.opinion-form input,
.opinion-form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 1em;
    background-color: #fff;
    color: #000;
}

.opinion-form textarea {
    resize: none;
    height: 250px; 
}

.rating-stars {
    font-size: 2em;
    color: #ff0000; 
    margin: 10px 0 30px;
}

.rating-stars .star {
    cursor: pointer;
    margin-right: 5px;
    font-size: 1.2em;
}

.cta-btn {
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background 0.3s ease;
    display: inline-block;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
    text-align: center;
}

.submit-btn {
    background-color: #ff0000;
    color: #fff;
    margin-top: 10px; 
    width: 100%;
}

.submit-btn:hover {
    background-color: #e60000;
}

.media-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding-left: 100px;
    height: 480px;
}

.upload-icon-wrapper {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px; 
    height: 200px;
}

.upload-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.upload-btn {
    background-color: #ff0000;
    color: #fff;
    width: 100%;
    max-width: 200px; 
}

.upload-btn:hover {
    background-color: #e60000;
}

@media (max-width: 900px) {
    .opinion-header-background {
        padding: 30px 20px 15px;
    }

    .opinion-title {
        font-size: 2em;
    }

    .opinion-content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
        padding: 0 20px;
    }

    .form-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .media-upload {
        padding-left: 0;
        margin-top: 20px;
        height: auto;
    }

    .upload-btn {
        max-width: 300px;
    }
}

@media (max-width: 500px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.9em;
    }

    .opinion-header-background {
        padding: 20px 15px 10px;
    }

    .back-btn {
        font-size: 1.5em;
    }

    .opinion-title {
        font-size: 1.8em;
    }

    .opinion-form input,
    .opinion-form textarea {
        padding: 12px;
    }

    .rating-stars {
        font-size: 1.5em;
        margin-bottom: 20px;
    }

    .cta-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
}