/* Custom Portraits Section */
.section_home_custom-portraits-1 {
  padding-top: 6rem;
}

/* Portfolio Image Styles */
.portfolio-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover; /* Ensures images cover the area without distortion */
  transition: transform 0.3s ease; /* Smooth hover effect */
  border-radius: 4px; /* Slightly rounded corners */
}

/* Hover effect for portfolio images */
.lightbox-link-3:hover .portfolio-image {
  transform: scale(1.02); /* Slight zoom on hover */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow on hover */
}

/* Grid layout for portfolio items */
.collection-item {
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .portfolio-image {
    height: 150px; /* Slightly smaller on mobile */
  }
}

/* Base styles */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -o-font-smoothing: antialiased;
}

/* Form styles */
.quick_form_14_css {
    background-color: rgb(0, 33, 40);
    z-index: 2;
    font-family: Arial;
    border: 1px solid rgb(255, 255, 255);
    overflow: hidden;
    width: 100%;
}

/* Cart styles */
.cart-hidden {
    display: none;
}

.cart-wrapper {
    display: none;
}

.cart-apple-pay-button {
    background-image: -webkit-named-image(apple-pay-logo-white);
    background-size: 100% 50%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

/* Form elements */
.form-checkbox {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.signup-form {
    opacity: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-center {
    text-align: center;
}

.newsletter-heading {
    font-size: 14px;
    font-family: Arial;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 15px 0px;
    width: 100%;
    display: block;
    background-color: rgb(192, 38, 44);
}

.relative-position {
    position: relative;
}

.signup-success-overlay {
    display: none;
    text-align: center;
    background-color: rgb(0, 0, 0);
    opacity: 0.5;
    z-index: 100;
    position: fixed;
    width: 100%;
    top: 0px;
    left: 0px;
    height: 988px;
}

.signup-success-message {
    position: absolute;
    width: 87%;
    background-color: white;
    padding: 3px;
    border: 3px solid rgb(194, 225, 154);
    margin-bottom: 10px;
    word-break: break-all;
    opacity: 1;
    display: none;
}

.icon-container {
    width: 20px;
    padding: 5px;
    display: table-cell;
}

.success-icon {
    width: 20px;
}

.message-container {
    display: table-cell;
}

.success-message {
    color: rgb(73, 140, 132);
    font-family: sans-serif;
    font-size: 14px;
    line-height: 30px;
    display: block;
}

.form-input-wrapper {
    position: relative;
    height: 40px;
    margin-top: 20px;
    display: inline-block;
    width: 100%;
}

.form-input {
    font-size: 14px;
    border-width: 2px;
    border-color: rgb(214, 205, 205);
    border-style: solid;
    width: 85%;
    height: 100%;
    z-index: 4;
    outline: none;
    padding: 5px 10px;
    margin: 10px 20px;
    box-sizing: border-box;
    color: rgb(113, 106, 106);
    text-align: left;
    font-family: Arial;
    background-color: transparent;
    border-radius: 5px;
}

.form-name-wrapper {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 20px 0 15px;
    display: inline-block;
}

.submit-button {
    text-align: center;
    width: 60%;
    height: 100%;
    z-index: 5;
    border: 0px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    outline: none;
    font-size: 14px;
    background-color: rgb(192, 38, 44);
    border-radius: 5px;
    margin: 0px auto;
    display: block;
}

/* Removed old Zoho optin CSS classes */

.signup-form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

#customForm {
    width: 100%;
    margin: 0 auto;
}

.quick_form_14_css[name="SIGNUP_BODY"] {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hide success messages by default */
.signup-success-message,
.success-message.w-form-done {
  display: none !important;
}

/* Only show success messages when form is submitted successfully */
.form-submitted .signup-success-message,
.form-submitted .success-message.w-form-done {
  display: block !important;
}

/* Media Queries */
@media only screen and (max-width: 200px) {
    .quick_form_14_css[name="SIGNUP_BODY"] {
        width: 100% !important;
        min-width: 100% !important;
        margin: 0px auto !important;
        padding: 0px !important;
    }
}

@media screen and (min-width: 320px) and (max-width: 580px) and (orientation: portrait) {
    .quick_form_14_css[name="SIGNUP_BODY"] {
        max-width: 300px !important;
        margin: 0px auto !important;
        padding: 0px !important;
    }
}

@media only screen and (max-device-width: 1024px) {
    .quick_form_14_css[name="SIGNUP_BODY"] {
        max-width: 500px !important;
        margin: 0px auto !important;
    }
}

@media only screen and (max-device-width: 1024px) and (orientation: landscape) {
    .quick_form_14_css[name="SIGNUP_BODY"] {
        max-width: 700px !important;
        margin: 0px auto !important;
    }
}

@media screen and (min-width: 475px) and (max-width: 980px) and (orientation: landscape) {
    .quick_form_14_css[name="SIGNUP_BODY"] {
        max-width: 400px !important;
        margin: 0px auto !important;
        padding: 0px !important;
    }
}
