/* *********************************************************
**
**
** PROJECT BRANDING STYLE
**
**
********************************************************* */

#overflower{
    overflow-x: hidden;
}

.frontpic-wrapper{
    margin-left: auto;
    margin-right:auto;
    width:100%;
    max-width:1920px;
    max-height:calc(100vh - 50px);
    overflow:hidden;
    position:relative;
    /*border: #cc0000 1px solid;*/
}

.frontpic-wrapper img{
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branding-mousedown{
    position:absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 20px;
    z-index: 2;
}

.branding-mousedown > img{
    max-height:30px;
}

.brandingtitle{
    font-family: cormorant-garamond, sofia-pro, sans-serif;
    font-weight: normal;
    color: #433f3c;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 20px;
}

.brandingtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 20%, #f4d03f 50%, #d4af37 80%, transparent 100%);
    border-radius: 2px;
}

h2{
    font-family: cormorant-garamond, sofia-pro, sans-serif;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #433f3c;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    border-radius: 1px;
}

/* Special styling for interior section H2 - center the gold line */
#interior h2::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Special styling for contact section H2 - center the gold line */
#contactus h2::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Special styling for branding wrapper paragraph - add centered gold line */
#branding-wrapper .centeralways p {
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

#branding-wrapper .centeralways p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    border-radius: 1px;
}

/* Responsive adjustments for branding wrapper gold line */
@media only screen and (min-width: 40em) {
    #branding-wrapper .centeralways p::after {
        width: 70px;
        height: 2px;
    }
}

@media only screen and (min-width: 64em) {
    #branding-wrapper .centeralways p::after {
        width: 80px;
        height: 3px;
    }
}

@media only screen and (min-width: 90em) {
    #branding-wrapper .centeralways p::after {
        width: 90px;
        height: 3px;
    }
}

.whitebg{
    background-color: white;
    position:relative;
    width:100%;
    max-width:1920px;
    margin-left:auto;
    margin-right:auto;
}

p{
    line-height:1.6;
    color: #433f3c;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-family: cormorant-garamond, sofia-pro, sans-serif;
}




#ligging > div > img{
    max-height:600px;
}





#ligging-wrapper, #exterior-wrapper, #interior-wrapper, #waarde-wrapper{
    background-color: #FFFFFF;
    width:100%;
    max-width:1280px;
    margin-left:auto;
    margin-right:auto;
}
#ligging, #exterior, #interior, #waarde{
    position:relative;
    width:100%;
}
#ligging > div.txtwrapper{
    grid-area: ala-txt;
}
#ligging > div.imgwrapper{
    grid-area: ala-img;
    padding: 0px;
}
#exterior > div.txtwrapper{
    grid-area: ext-txt;
}
#exterior > div.imgwrapper{
    grid-area: ext-img;
    padding: 0px;
}
/*
#interior > div.txtwrapper{
    grid-area: int-txt;
}
#interior > div.imgwrapper{
    grid-area: int-img;
    padding: 0px;
}
*/

#contactus{
    position:relative;
    width:100%;
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
}


#fontanavr{
    background-color: #314b74;
}

#fontanavr > div{
    position:relative;
    width:100%;
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
}

#fontanavr > div > a{
    color: white;
    display: block;
    padding: 30px;
    border: #FFFFFF 1px solid;
    text-align: center;
    font-size: 24px;
}

#fontanavr > div > a:hover{
    color: yellow;
    border: yellow 1px solid;
}




@media only screen {
    .valigncenterwrapper{
        display: block;
    }
    
    .valigncenter{
        display: block;
    }
    #ligging{
        display: grid;
        grid-template-columns: 100%;
        grid-template-areas: 
        "ala-img"
        "ala-txt";
    }
    #exterior{
        display: grid;
        grid-template-columns: 100%;
        grid-template-areas: 
        "ext-img"
        "ext-txt";
    }
    /*#interior{
        display: grid;
        grid-template-columns: 100%;
        grid-template-areas: 
        "int-img"
        "int-txt";
    }*/
    .interior-images{
        padding: 15px;
    }
    #ligging > div.txtwrapper, #exterior > div.txtwrapper, #interior > div.txtwrapper, .waardetext{
        padding: 15px 20px 15px 20px;
    }
    #contactus > div{
        padding: 15px 20px 15px 20px;
    }
    #fontanavr > div{
        padding: 20px;
    }
    .brandingtitle{
        font-size: 2rem;
    }
    .brandingtitle::after {
        width: 60px;
        height: 2px;
    }
    p{
        font-size: 1rem;
    }
    h2{
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    h2::after {
        width: 45px;
        height: 2px;
    }
}

@media only screen and (min-width: 40em) {
    .valigncenterwrapper{
        display: table;
    }
    
    .valigncenter{
        display: table-cell;
        vertical-align: middle;
    }
    #ligging{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-areas: 
        "ala-txt ala-img";
    }
    #exterior{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-areas: 
        "ext-img ext-txt";
    }
    .interior-images{
        padding: 20px;
    }
    /*#interior{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-areas: 
        "int-txt int-img";
    }*/
    #ligging > div.txtwrapper, #exterior > div.txtwrapper, #interior > div.txtwrapper, .waardetext{
        padding: 20px 30px 20px 30px;
    }
    .branding-mousedown{
        display: block;
    }
    #contactus > div{
        padding: 20px 30px 20px 30px;
    }
    #fontanavr > div{
        padding: 45px;
    }
    .brandingtitle{
        font-size: 2.8rem;
    }
    .brandingtitle::after {
        width: 70px;
        height: 3px;
    }
    p{
        font-size: 1.125rem;
    }
    h2{
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    h2::after {
        width: 55px;
        height: 2px;
    }
}

@media only screen and (min-width: 64em) {
    .valigncenterwrapper{
        display: table;
    }
    
    .valigncenter{
        display: table-cell;
        vertical-align: middle;
    }
    #ligging{
        display: grid;
        grid-template-columns: 60% 40%;
        grid-template-areas: 
        "ala-txt ala-img";
    }
    #exterior{
        display: grid;
        grid-template-columns: 60% 40%;
        grid-template-areas: 
        "ext-img ext-txt";
    }
    /*#interior{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-areas: 
        "int-txt int-img";
    }*/
    .interior-images{
        padding: 25px;
    }
    #ligging > div.txtwrapper, #exterior > div.txtwrapper, #interior > div.txtwrapper, .waardetext{
        padding: 30px 45px 30px 45px;
    }
    .branding-mousedown{
        display: block;
    }
    #contactus > div{
        padding: 20px 30px 20px 30px;
    }
    #fontanavr > div{
        padding: 60px;
    }
    .brandingtitle{
        font-size: 3.5rem;
    }
    .brandingtitle::after {
        width: 90px;
        height: 3px;
    }
    p{
        font-size: 1.25rem;
    }
    h2{
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    h2::after {
        width: 70px;
        height: 3px;
    }
}

@media only screen and (min-width: 90em) {
    .valigncenterwrapper{
        display: table;
    }
    
    .valigncenter{
        display: table-cell;
        vertical-align: middle;
    }
    #ligging{
        display: grid;
        grid-template-columns: 55% 45%;
        grid-template-areas: 
        "ala-txt ala-img";
    }
    #exterior{
        display: grid;
        grid-template-columns: 55% 45%;
        grid-template-areas: 
        "ext-img ext-txt";
    }
    /*#interior{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-areas: 
        "int-txt int-img";
    }*/
    .interior-images{
        padding: 30px;
    }
    #ligging > div.txtwrapper, #exterior > div.txtwrapper, #interior > div.txtwrapper, .waardetext{
        padding: 60px 90px 60px 90px;
    }
    .branding-mousedown{
        display: block;
    }
    #contactus > div{
        padding: 20px 30px 20px 30px;
    }
    #fontanavr > div{
        padding: 90px;
    }
    .brandingtitle{
        font-size: 4rem;
    }
    .brandingtitle::after {
        width: 100px;
        height: 4px;
    }
    p{
        font-size: 1.375rem;
    }
    h2{
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
    h2::after {
        width: 80px;
        height: 3px;
    }
}


/* *********************************************************
**
**
** BRANDING SLICED
**
**
********************************************************* */

#branding-wrapper{
    position:relative;
    width:100%;
    max-width:1280px;
    margin-left:auto;
    margin-right:auto;
    background-color: #FFFFFF;
}

#branding-text{
    position: relative;
}

#branding-image{ position:relative; }

.branding-overlay{ position: absolute; z-index:9999; }
.slice-sold-label{ background-color:red; color:white; padding:2px; font-size:13px; }
.has-tip { display: inline-block; border: 0px; font-weight: bold; cursor: pointer; }

@media only screen {
    .plus-sign{ 
        height:20px; 
        width:20px; 
        transition: all 0.3s ease;
    }
    .plus-sign:hover {
        transform: scale(1.2) rotate(90deg);
    }
    #branding-text{padding: 15px 20px 15px 20px;}
}
@media only screen and (min-width: 40em) {
    .plus-sign{ 
        height:30px; 
        width:30px; 
        transition: all 0.3s ease;
    }
    .plus-sign:hover {
        transform: scale(1.2) rotate(90deg);
    }
    #branding-text{padding: 20px 30px 20px 30px;}
}
@media only screen and (min-width: 64em) {
    .plus-sign{ 
        height:40px; 
        width:40px; 
        transition: all 0.3s ease;
    }
    .plus-sign:hover {
        transform: scale(1.15) rotate(90deg);
    }
    #branding-text{padding: 30px 45px 30px 45px;}
}
@media only screen and (min-width: 90em) {
    .plus-sign{ 
        height:40px; 
        width:40px; 
        transition: all 0.3s ease;
    }
    .plus-sign:hover {
        transform: scale(1.15) rotate(90deg);
    }
    #branding-text{padding: 60px 90px 60px 90px;}
}


#branding-6434{ top:46%; left:50%; }
#branding-6435{ top:39%; left:50%; }
#branding-6436{ top:30%; left:50%; }
#branding-6437{ top:19%; left:50%; }




.virtual-wrapper{
    position:relative;
    width:100%;
    max-width:1280px;
    margin-left:auto;
    margin-right:auto;
}


@media only screen {
	.virtual-wrapper{
        height: 480px;
    }
}
@media only screen and (min-width: 40em) {
	.virtual-wrapper{
        height: 600px;
    }
}
@media only screen and (min-width: 64em) {
	.virtual-wrapper{
        height: 800px;
    }
}

/* *********************************************************
**
**
** LUXURY CONTACT BUTTON STYLING
**
**
********************************************************* */

.btn-luxury-contact {
    display: inline-block;
    padding: 18px 45px;
    background: #ffffff;
    color: #333333;
    font-family: cormorant-garamond, sofia-pro, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #e8e8e8;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.btn-luxury-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
    z-index: 0;
}

.btn-luxury-contact span {
    position: relative;
    z-index: 1;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-luxury-contact:hover {
    color: #333333;
    border: 2px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, 
                linear-gradient(135deg, #d4af37, #f4d03f, #d4af37) border-box;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.btn-luxury-contact:hover::before {
    left: 0;
}

.btn-luxury-contact:hover span {
    color: #333333;
}

.btn-luxury-contact:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media only screen and (max-width: 40em) {
    .btn-luxury-contact {
        padding: 16px 35px;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

@media only screen and (min-width: 64em) {
    .btn-luxury-contact {
        padding: 20px 50px;
        font-size: 18px;
        letter-spacing: 2px;
    }
}

/* *********************************************************
**
**
** FORM BUTTON STYLING (SAME AS LUXURY CONTACT)
**
**
********************************************************* */

input[type="submit"], 
input[type="button"], 
button[type="submit"],
.btn-submit {
    display: inline-block;
    padding: 18px 45px;
    background: #ffffff;
    color: #333333 !important;
    font-family: cormorant-garamond, sofia-pro, sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #e8e8e8;
    border-radius: 0;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

input[type="submit"]:hover, 
input[type="button"]:hover, 
button[type="submit"]:hover,
.btn-submit:hover {
    color: #333333 !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    background: linear-gradient(#ffffff, #ffffff) padding-box, 
                linear-gradient(135deg, #d4af37, #f4d03f, #d4af37) border-box;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

input[type="submit"]:active, 
input[type="button"]:active, 
button[type="submit"]:active,
.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Force text color to stay dark on all button states */
input[type="submit"], 
input[type="button"], 
button[type="submit"],
.btn-submit,
input[type="submit"]:hover, 
input[type="button"]:hover, 
button[type="submit"]:hover,
.btn-submit:hover,
input[type="submit"]:focus, 
input[type="button"]:focus, 
button[type="submit"]:focus,
.btn-submit:focus,
input[type="submit"]:active, 
input[type="button"]:active, 
button[type="submit"]:active,
.btn-submit:active {
    color: #333333 !important;
}

/* Responsive adjustments for form buttons */
@media only screen and (max-width: 40em) {
    input[type="submit"], 
    input[type="button"], 
    button[type="submit"],
    .btn-submit {
        padding: 16px 35px;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

@media only screen and (min-width: 64em) {
    input[type="submit"], 
    input[type="button"], 
    button[type="submit"],
    .btn-submit {
        padding: 20px 50px;
        font-size: 18px;
        letter-spacing: 2px;
    }
}

/* *********************************************************
**
**
** MODERN INTERIOR IMAGES GALLERY
**
**
********************************************************* */

.interior-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 20px;
    padding: 30px 0;
}

.interior-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.interior-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.interior-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.interior-gallery-item:hover img {
    transform: scale(1.05);
}

/* Different sizes for variety */
.interior-gallery-item:nth-child(3n+1) {
    grid-row: span 2;
}

.interior-gallery-item:nth-child(5n+1) {
    grid-column: span 2;
}

.interior-gallery-item:nth-child(7n+1) {
    grid-row: span 3;
}

/* Responsive adjustments */
@media only screen and (max-width: 40em) {
    .interior-gallery {
        grid-template-columns: 1fr;
        grid-gap: 15px;
        padding: 20px 0;
    }
    
    .interior-gallery-item:nth-child(3n+1),
    .interior-gallery-item:nth-child(5n+1),
    .interior-gallery-item:nth-child(7n+1) {
        grid-row: span 1;
        grid-column: span 1;
    }
}

@media only screen and (min-width: 40em) and (max-width: 64em) {
    .interior-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .interior-gallery-item:nth-child(5n+1) {
        grid-column: span 1;
    }
}

@media only screen and (min-width: 64em) {
    .interior-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 25px;
        padding: 40px 0;
    }
}

@media only screen and (min-width: 90em) {
    .interior-gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 30px;
        padding: 50px 0;
    }
}

/* Fancybox image links */
#ligging .imgwrapper a,
#exterior .imgwrapper a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#ligging .imgwrapper a:hover,
#exterior .imgwrapper a:hover {
    transform: scale(1.02);
}

#ligging .imgwrapper a::after,
#exterior .imgwrapper a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

#ligging .imgwrapper a:hover::after,
#exterior .imgwrapper a:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* Add cursor pointer and zoom icon overlay on hover */
#ligging .imgwrapper a,
#exterior .imgwrapper a {
    cursor: pointer;
}

#ligging .imgwrapper a:hover::before,
#exterior .imgwrapper a:hover::before {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Ensure images remain responsive within the links */
#ligging .imgwrapper a img,
#exterior .imgwrapper a img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Interior gallery fancybox links - already have hover effects, just ensure proper cursor */
.interior-gallery a {
    cursor: pointer;
}

/* *********************************************************
**
**
** LUXURY CONTACT FORM STYLING
**
**
********************************************************* */

/* Form container styling */
#contactus form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

/* Form field labels */
#contactus label {
    display: block;
    font-family: cormorant-garamond, sofia-pro, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    position: relative;
}

/* Input fields styling */
#contactus input[type="text"],
#contactus input[type="email"],
#contactus input[type="tel"],
#contactus input[type="number"],
#contactus textarea,
#contactus select {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-family: cormorant-garamond, sofia-pro, sans-serif;
    font-size: 1rem;
    color: #2c3e50;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    outline: none;
    box-sizing: border-box;
}

/* Input focus state */
#contactus input[type="text"]:focus,
#contactus input[type="email"]:focus,
#contactus input[type="tel"]:focus,
#contactus input[type="number"]:focus,
#contactus textarea:focus,
#contactus select:focus {
    border-color: #d4af37;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
    transform: translateY(-1px);
    background: #fdfdfd;
}

/* Input hover state */
#contactus input[type="text"]:hover,
#contactus input[type="email"]:hover,
#contactus input[type="tel"]:hover,
#contactus input[type="number"]:hover,
#contactus textarea:hover,
#contactus select:hover {
    border-color: #dee2e6;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

/* Placeholder styling */
#contactus input::placeholder,
#contactus textarea::placeholder {
    color: #8e9aaf;
    font-style: italic;
    opacity: 0.8;
}

/* Textarea specific styling */
#contactus textarea {
    min-height: 120px;
    resize: vertical;
    font-family: cormorant-garamond, sofia-pro, sans-serif;
    line-height: 1.6;
}

/* Select dropdown styling */
#contactus select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Required field indicator */
#contactus label.required::before {
    content: '* ';
    color: #d63384;
    font-weight: bold;
    margin-right: 3px;
}

/* Field wrapper styling */
#contactus .field-wrapper {
    position: relative;
    margin-bottom: 25px;
}

/* Floating label effect (if labels are positioned over inputs) */
#contactus .field-wrapper.floating label {
    position: absolute;
    top: 18px;
    left: 20px;
    background: #ffffff;
    padding: 0 8px;
    transition: all 0.3s ease;
    pointer-events: none;
    color: #8e9aaf;
}

#contactus .field-wrapper.floating input:focus + label,
#contactus .field-wrapper.floating input:not(:placeholder-shown) + label,
#contactus .field-wrapper.floating textarea:focus + label,
#contactus .field-wrapper.floating textarea:not(:placeholder-shown) + label {
    top: -8px;
    font-size: 0.85rem;
    color: #d4af37;
    font-weight: 600;
}

/* Error state styling */
#contactus input.error,
#contactus textarea.error,
#contactus select.error {
    border-color: #dc3545;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.15);
}

#contactus .error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: -15px;
    margin-bottom: 15px;
    font-style: italic;
}

/* Success state styling */
#contactus input.success,
#contactus textarea.success,
#contactus select.success {
    border-color: #28a745;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.15);
}

/* Center the contact section content */
#contactus > div {
    text-align: center;
}

#contactus h2 {
    text-align: center;
    margin-bottom: 1rem;
}

#contactus p {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media only screen and (max-width: 40em) {
    #contactus form {
        padding: 20px;
        margin: 0 15px;
    }
    
    #contactus label {
        font-size: 1rem;
    }
    
    #contactus input[type="text"],
    #contactus input[type="email"],
    #contactus input[type="tel"],
    #contactus input[type="number"],
    #contactus textarea,
    #contactus select {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
}

@media only screen and (min-width: 64em) {
    #contactus form {
        padding: 40px;
    }
    
    #contactus label {
        font-size: 1.2rem;
    }
    
    #contactus input[type="text"],
    #contactus input[type="email"],
    #contactus input[type="tel"],
    #contactus input[type="number"],
    #contactus textarea,
    #contactus select {
        padding: 18px 24px;
        font-size: 1.1rem;
    }
}

/* Classy bounce animation for branding-mousedown */
.branding-mousedown {
    animation: classyBounce 2.5s ease-in-out infinite;
}

@keyframes classyBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    10% {
        transform: translate(-50%, -8px);
    }
    30% {
        transform: translate(-50%, -4px);
    }
    40% {
        transform: translate(-50%, -2px);
    }
    60% {
        transform: translate(-50%, -1px);
    }
}

/* Hover effect for branding-mousedown */
.branding-mousedown:hover {
    animation-play-state: paused;
    transform: translate(-50%, -3px);
    transition: transform 0.3s ease;
}

/* Plus-sign hover animations */
.plus-sign {
    transition: all 0.3s ease;
    filter: brightness(1);
}

.plus-sign:hover {
    transform: scale(1.2) rotate(90deg);
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
}

.branding-overlay:hover .plus-sign {
    animation: plusPulse 0.6s ease-in-out;
}

@keyframes plusPulse {
    0% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.3) rotate(45deg);
        filter: brightness(1.3) drop-shadow(0 3px 12px rgba(212, 175, 55, 0.6));
    }
    100% {
        transform: scale(1.2) rotate(90deg);
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
    }
}

/* Responsive plus-sign sizes with enhanced hover effects */