/* ========================================
   CONTACT PAGE
======================================== */


/* ========================================
   PAGE TITLE
======================================== */

.contact-title {

    width: 100%;

    padding: 40px 5%;

    background-color: #f8f8f8;

    border-bottom: 1px solid #ddd;

}


.contact-title p {

    margin: 0 0 5px 0;

    font-size: 16px;

    color: #666;

}


.contact-title h1 {

    margin: 0;

    font-size: 32px;

    color: #131312;

    letter-spacing: 2px;

}


/* Gold lines */

.contact-title-line {

    width: 250px;

    height: 3px;

    background-color: #C9A227;

    margin-top: 15px;

    position: relative;

}


.contact-title-line::before,
.contact-title-line::after {

    content: "";

    position: absolute;

    left: 0;

    width: 250px;

    height: 1px;

    background-color: #131312;

}


.contact-title-line::before {

    top: -7px;

}


.contact-title-line::after {

    top: 7px;

}



/* ========================================
   MAIN CONTACT AREA
======================================== */

.contact-container {

    width: 90%;

    max-width: 1100px;

    margin: 40px auto;

    display: grid;

    grid-template-columns: 1fr 1.4fr;

    gap: 50px;

}



/* ========================================
   CONTACT INFORMATION
======================================== */

.contact-information {

    width: 100%;

}


.contact-information h2,
.contact-form h2 {

    margin: 0 0 25px 0;

    font-size: 20px;

    color: #131312;

    letter-spacing: 1px;

}



/* ========================================
   CONTACT ITEM
======================================== */

.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 25px;

}


/* Icon */

.contact-icon {

    width: 45px;

    height: 45px;

    min-width: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 2px solid #C9A227;

    border-radius: 50%;

    background-color: #131312;

    color: #C9A227;

    font-size: 19px;

}


/* Text */

.contact-text {

    padding-top: 2px;

}


.contact-text h3 {

    margin: 0 0 5px 0;

    font-size: 16px;

    color: #131312;

}


.contact-text p {

    margin: 0;

    font-size: 14px;

    color: #666;

    line-height: 1.6;

}



/* ========================================
   SOCIAL MEDIA
======================================== */

.social-section {

    margin-top: 30px;

}


.social-section h3 {

    margin: 0 0 15px 0;

    font-size: 16px;

    color: #131312;

}


.social-links {

    display: flex;

    gap: 12px;

}


.social-links a {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background-color: #131312;

    border: 2px solid #131312;

    color: #ffffff;

    text-decoration: none;

    font-size: 18px;

    font-weight: bold;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;

}


.social-links a:hover {

    background-color: #C9A227;

    border-color: #C9A227;

    color: #131312;

    transform: translateY(-4px);

}



/* ========================================
   REVIEW FORM
======================================== */

.contact-form {

    width: 100%;

}


.contact-form form {

    width: 100%;

}


.form-group {

    width: 100%;

    margin-bottom: 15px;

}


/* ========================================
   INPUTS
======================================== */

.form-group input,
.form-group textarea {

    width: 100%;

    padding: 14px;

    border: 1px solid #ccc;

    background-color: #ffffff;

    color: #222;

    font-family: Arial, sans-serif;

    font-size: 14px;

    outline: none;

    border-radius: 0;

    box-sizing: border-box;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;

}


/* Focus */

.form-group input:focus,
.form-group textarea:focus {

    border-color: #C9A227;
    box-shadow:
        0 0 5px rgba(201, 162, 39, 0.25);

}


/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {

    color: #777;

}


/* Textarea */

.form-group textarea {

    min-height: 160px;

    resize: vertical;

}



/* ========================================
   STAR RATING
======================================== */

.rating-group {

    width: 100%;

    margin-bottom: 20px;

}


.rating-title {

    margin: 0 0 10px 0;

    font-size: 14px;

    color: #444;

}


/* Stars */

.star-rating {

    display: flex;

    flex-direction: row-reverse;

    justify-content: flex-end;

    gap: 5px;

}


/* Hide radio buttons */

.star-rating input {

    display: none;

}


/* Star appearance */

.star-rating label {

    font-size: 35px;

    color: #cccccc;

    cursor: pointer;

    transition:
        color 0.2s ease,
        transform 0.2s ease;

}


/* Hover */

.star-rating label:hover {

    color: #C9A227;

    transform: scale(1.1);

}


.star-rating label:hover ~ label {

    color: #C9A227;

}


/* Selected stars */

.star-rating input:checked ~ label {

    color: #C9A227;

}



/* ========================================
   SUBMIT REVIEW
======================================== */

.send-message {

    width: 100%;

    padding: 14px;

    border: 2px solid #131312;

    background-color: #131312;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 14px;

    font-weight: bold;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;

}


.send-message:hover {

    background-color: #C9A227;

    color: #131312;

    border-color: #C9A227;

    transform: translateY(-3px);

}

.review-message {
    padding: 12px 15px;
    margin-bottom: 20px;

    background-color: #f8f8f8;

    border-left: 4px solid #C9A227;

    color: #131312;

    font-size: 14px;
}

/* ========================================
   MOBILE
======================================== */

@media only screen and (max-width: 700px) {


    .contact-title {

        padding: 30px 6%;

    }


    .contact-title p {

        font-size: 14px;

    }


    .contact-title h1 {

        font-size: 27px;

    }


    .contact-title-line {

        width: 180px;

    }


    .contact-title-line::before,
    .contact-title-line::after {

        width: 180px;

    }


    /* Contact layout */

    .contact-container {

        width: 90%;

        margin: 30px auto;

        display: flex;

        flex-direction: column;

        gap: 40px;

    }


    /* Information */

    .contact-information {

        width: 100%;

    }


    .contact-information h2,
    .contact-form h2 {

        font-size: 18px;

    }


    /* Contact items */

    .contact-item {

        gap: 12px;

        margin-bottom: 22px;

    }


    .contact-icon {

        width: 40px;

        height: 40px;

        min-width: 40px;

        font-size: 17px;

    }


    .contact-text h3 {

        font-size: 15px;

    }


    .contact-text p {

        font-size: 13px;

    }


    /* Stars */

    .rating-title {

        font-size: 13px;

    }


    .star-rating label {

        font-size: 32px;

    }


    /* Form */

    .form-group input,
    .form-group textarea {

        padding: 13px;

    }


    /* Social */

    .social-section {

        margin-top: 25px;

    }

}

/* Customer Reviews Section */
.customer-reviews {
    width: 90%;
    max-width: 1100px;
    margin: 20px auto 60px;
    padding: 40px 0;
}

.reviews-heading {
    text-align: center;
    margin-bottom: 35px;
}

.reviews-heading > p {
    color: #777;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.reviews-heading h2 {
    color: #131312;
    font-size: 26px;
    letter-spacing: 1px;
}

.reviews-line {
    width: 80px;
    height: 3px;
    background: #C9A227;
    margin: 15px auto 0;
}

/* Review cards layout */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.review-card {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-top: 3px solid #C9A227;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
    min-width: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.review-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: #131312;
    color: #C9A227;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.reviewer-info h3 {
    color: #131312;
    font-size: 15px;
    margin: 0 0 5px;
    overflow-wrap: anywhere;
}

.reviewer-info p {
    color: #888;
    font-size: 12px;
    margin: 0;
}

.review-stars {
    color: #C9A227;
    font-size: 21px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.review-message {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    white-space: normal;
}

.no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    color: #777;
    padding: 30px;
    background: #f8f8f8;
}

/* Tablet */
@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .customer-reviews {
        width: 90%;
        padding: 25px 0;
    }

    .reviews-heading h2 {
        font-size: 21px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 20px;
    }
}

/* ========================================
   SMALL PHONE
======================================== */

@media only screen and (max-width: 400px) {


    .contact-title h1 {

        font-size: 24px;

    }


    .contact-container {

        width: 92%;

    }


    .social-links a {

        width: 38px;

        height: 38px;

        font-size: 16px;

    }


    .star-rating label {

        font-size: 28px;

    }

}