/* Restaurant Reservation — front-end styles */

.rr-wrap {
	--rr-bg: #141210;
	--rr-border: rgba(201, 151, 79, 0.35);
	--rr-gold: #c9974f;
	--rr-gold-light: #e0b06e;
	--rr-text: #d8d3cb;
	--rr-text-muted: #9a9488;

	display: grid;
	grid-template-columns: 1fr 1.15fr 1fr;
	gap: 28px;
	align-items: stretch;
	background: var(--rr-bg);
	padding: 56px 40px;
	color: var(--rr-text);
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	box-sizing: border-box;
}

.rr-wrap * {
	box-sizing: border-box;
}

.rr-col {
	border: 1px solid var(--rr-border);
	padding: 44px 34px;
}

/* Address + Opening Hours: centered both ways, as requested */
.rr-address,
.rr-hours {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.rr-heading {
	font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	font-size: 19px;
	margin: 0 0 26px;
	padding-bottom: 16px;
	position: relative;
	text-align: center;
	width: 100%;
}

.rr-heading::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 42px;
	height: 2px;
	background: var(--rr-gold);
}

.rr-address-lines,
.rr-contact {
	margin: 0 0 16px;
	line-height: 1.75;
	color: var(--rr-text);
	font-size: 14px;
}

.rr-contact {
	margin-bottom: 22px;
}

.rr-direction-link {
	color: var(--rr-gold);
	text-decoration: none;
	letter-spacing: 1.5px;
	font-size: 12px;
	text-transform: uppercase;
	border-bottom: 1px solid var(--rr-gold);
	padding-bottom: 3px;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.rr-direction-link:hover {
	color: var(--rr-gold-light);
	border-color: var(--rr-gold-light);
}

/* Book a Table form */
.rr-form-col {
	display: flex;
	flex-direction: column;
}

.rr-form {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.rr-field {
	margin-bottom: 22px;
	width: 100%;
}

.rr-field input,
.rr-field select {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	color: #efece5;
	font-size: 14px;
	font-family: inherit;
	padding: 8px 4px;
	text-align: left;
	outline: none;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.2s ease;
}

.rr-field input::placeholder {
	color: var(--rr-text-muted);
	text-align: left;
	opacity: 1;
}

.rr-field input:focus,
.rr-field select:focus {
	border-bottom-color: var(--rr-gold);
}

.rr-field select {
	cursor: pointer;
	padding-right: 22px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9974f'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 4px center;
}

.rr-field select option {
	background: #1c1a17;
	color: #efece5;
}

.rr-field input[type='date']::-webkit-calendar-picker-indicator,
.rr-field input[type='time']::-webkit-calendar-picker-indicator {
	filter: invert(64%) sepia(31%) saturate(638%) hue-rotate(349deg) brightness(96%);
	cursor: pointer;
}

.rr-submit {
	margin-top: 10px;
	background: var(--rr-gold);
	color: #1a1408;
	border: none;
	padding: 15px 20px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}

.rr-submit:hover {
	background: var(--rr-gold-light);
}

.rr-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.rr-message {
	margin-top: 16px;
	font-size: 13px;
	line-height: 1.6;
	min-height: 0;
}

.rr-message.rr-success {
	color: #8fc98f;
}

.rr-message.rr-error {
	color: #e08b8b;
}

.rr-hours-block {
	margin-bottom: 24px;
}

.rr-hours-block:last-child {
	margin-bottom: 0;
}

.rr-hours-title {
	color: var(--rr-gold);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
	margin: 0 0 8px;
}

.rr-hours-text {
	margin: 0;
	color: var(--rr-text);
	font-size: 14px;
	line-height: 1.75;
}

/* Responsive */
@media (max-width: 900px) {
	.rr-wrap {
		grid-template-columns: 1fr;
		padding: 32px 20px;
		gap: 20px;
	}

	.rr-col {
		padding: 36px 24px;
	}
}
