/* ============================================
   MODERN FOOTER OVERRIDE - Bloom Flower Wall
   ============================================ */

/* Footer container */
#footer {
	background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
	border-radius: 0 0 20px 20px;
	box-shadow: none;
	padding: 1rem 0;
}

/* Section padding */
#footer > section {
	padding: 3rem 3rem 2rem 3rem;
	border-left: solid 1px rgba(0, 0, 0, 0.08);
}

#footer > section:first-child {
	border-left: 0;
}

/* Labels */
#footer label {
	color: #4a4a4a;
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
	display: block;
}

/* Inputs, selects, textareas */
#footer input[type="text"],
#footer input[type="password"],
#footer input[type="email"],
#footer input[type="date"],
#footer select,
#footer textarea {
	border: 1.5px solid #ddd;
	border-radius: 12px;
	padding: 0.85rem 1rem;
	font-size: 0.85rem;
	background: #fff;
	color: #333;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	width: 100%;
	outline: none;
}

#footer input[type="text"]:focus,
#footer input[type="password"]:focus,
#footer input[type="email"]:focus,
#footer input[type="date"]:focus,
#footer select:focus,
#footer textarea:focus {
	border-color: rgba(120, 170, 143, 0.72);
	box-shadow: 0 0 0 3px rgba(116, 168, 140, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
}

#footer select {
	cursor: pointer;
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23bbb' /%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: calc(100% - 1rem) center;
	background-size: 1rem;
	padding-right: 2.5rem;
}

#footer select option {
	background-color: #fff;
	color: #333;
}

/* Textarea */
#footer textarea {
	min-height: 100px;
	resize: vertical;
}

/* Form field spacing */
#footer form > .fields > .field {
	margin-bottom: 0.25rem;
}

/* Submit button */
#footer input[type="submit"],
#footer input[type="reset"],
#footer input[type="button"],
#footer button,
#footer .button {
	background: linear-gradient(135deg, rgba(133, 182, 154, 0.92) 0%, rgba(111, 164, 137, 0.9) 50%, rgba(88, 140, 114, 0.88) 100%);
	color: #fff !important;
	border: none;
	border-radius: 12px;
	padding: 0 2.5rem;
	height: 3.2rem;
	line-height: 3.2rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	box-shadow: 0 4px 15px rgba(116, 168, 140, 0.28);
	transition: all 0.3s ease;
	cursor: pointer;
}

#footer input[type="submit"]:hover,
#footer input[type="reset"]:hover,
#footer input[type="button"]:hover,
#footer button:hover,
#footer .button:hover {
	background: linear-gradient(135deg, rgba(109, 161, 133, 0.94) 0%, rgba(92, 145, 118, 0.92) 50%, rgba(72, 120, 97, 0.9) 100%);
	box-shadow: 0 6px 20px rgba(116, 168, 140, 0.36);
	transform: translateY(-2px);
	color: #fff !important;
}

/* Right side - contact info */
#footer > section.split.contact > section {
	padding: 2rem 3rem;
	border-top: solid 1px rgba(0, 0, 0, 0.06);
}

#footer h3 {
	color: #555;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-weight: 700;
}

#footer p, #footer a {
	color: #666;
	font-size: 0.85rem;
}

#footer a {
	border-bottom: none;
	transition: color 0.3s ease;
}

#footer a:hover {
	color: rgba(95, 146, 119, 0.92) !important;
}

/* Social icons */
#footer ul.icons.alt li .icon:before {
	box-shadow: inset 0 0 0 2px #ddd;
	border-radius: 50%;
	transition: all 0.3s ease;
}

#footer ul.icons.alt li a.icon:hover:before {
	box-shadow: inset 0 0 0 2px rgba(111, 164, 137, 0.9);
	color: rgba(95, 146, 119, 0.92);
}

/* Popup modernization */
.popup .popup-box {
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.popup .popup-box button {
	background: linear-gradient(135deg, rgba(133, 182, 154, 0.92) 0%, rgba(96, 148, 121, 0.88) 100%);
	border-radius: 10px;
	color: #fff;
}

/* Mobile responsive */
@media screen and (max-width: 980px) {
	#footer {
		border-radius: 0;
	}

	#footer > section {
		padding: 2.5rem 2rem;
		border-left: none;
		border-top: solid 1px rgba(0, 0, 0, 0.08);
	}

	#footer > section:first-child {
		border-top: 0;
	}
}

@media screen and (max-width: 480px) {
	#footer > section {
		padding: 2rem 1.5rem;
	}

	#footer input[type="submit"] {
		width: 100%;
	}
}

/* Fix: placeholder opcija u select elementu */
#footer select option[disabled] {
	color: #999;
}

#footer select:invalid,
#footer select option[value=""][disabled][selected] {
	color: #999;
}

#footer select {
	color: #333;
}

#footer select option {
	color: #333;
}

/* Fix: select height */
#footer select {
	height: auto;
	min-height: 3rem;
	line-height: 1.4;
}
