/* Main stylesheet for Domain website */

/* Base Styles & Variables */
:root {
	--background: #0F0E17;
	--accent-1: #FF8906;
	--accent-2: #F25F4C;
	--text: #EDEDED;
	--heading: #FFFFFF;
	--container-width: 1200px;
	--border-radius: 8px;
}

/* Global Reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 40px;
}

section[id] {
	scroll-margin-top: 40px;
}

body {
	font-family: 'Arial', sans-serif;
	background-color: var(--background);
	color: var(--text);
	line-height: 1.6;
	font-size: 16px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading);
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
	position: relative;
}

h2:after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--accent-1);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--accent-2);
}

img {
	max-width: 100%;
	height: auto;
}

/* Container */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 1rem;
}

/* Buttons */
.btn {
	display: inline-block;
	background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
	color: var(--heading);
	padding: 0.8rem 2rem;
	border-radius: var(--border-radius);
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	color: var(--heading);
}

.btn-small {
	padding: 0.5rem 1.2rem;
	font-size: 0.875rem;
}

.btn-outline {
	background: transparent;
	border: 2px solid var(--accent-1);
	color: var(--accent-1);
}

.btn-outline:hover {
	background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
	color: var(--heading);
}

/* Header & Navigation */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgba(15, 14, 23, 0.95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.logo a {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--heading);
	text-transform: lowercase;
}

.menu {
	display: flex;
	list-style: none;
}

.menu li {
	margin-left: 1.5rem;
}

.menu a {
	color: var(--text);
	position: relative;
}

.menu a:hover {
	color: var(--accent-1);
}

.menu a:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
	transition: width 0.3s ease;
}

.menu a:hover:after {
	width: 100%;
}

/* Burger Menu (CSS Only) */
.menu-toggle {
	display: none;
}

.menu-icon {
	display: none;
	cursor: pointer;
	width: 30px;
	height: 20px;
	position: relative;
	z-index: 2;
}

.bar {
	display: block;
	width: 100%;
	height: 3px;
	background-color: var(--heading);
	position: absolute;
	left: 0;
	transition: all 0.3s ease;
}

.bar:nth-child(1) {
	top: 0;
}

.bar:nth-child(2) {
	top: 50%;
	transform: translateY(-50%);
}

.bar:nth-child(3) {
	bottom: 0;
}

/* Main Content Sections */
main {
	padding-top: 80px;
	/* To account for fixed header */
}

section {
	padding: 5rem 0;
}

/* Hero Section */
.hero {
	background-image: url('./img/DKRXn.jpg');
	background-size: cover;
	background-position: center;
	height: 100vh;
	display: flex;
	align-items: center;
	text-align: center;
	position: relative;
}

.hero:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 14, 23, 0.7);
}

.hero-content {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 0 1rem;
	position: relative;
	z-index: 1;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1.5rem;
	animation: fadeInUp 1s ease;
}

.hero p {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease 0.2s forwards;
	opacity: 0;
}

.hero .btn {
	animation: fadeInUp 1s ease 0.4s forwards;
	opacity: 0;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* About Section */
.about {
	background-color: rgba(255, 137, 6, 0.05);
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.about-image {
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	transform: rotate(2deg);
	transition: all 0.3s ease;
}

.about-image:hover {
	transform: rotate(0deg) scale(1.02);
}

/* Services Section */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.service-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: var(--border-radius);
	padding: 1.5rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
	background-color: rgba(255, 255, 255, 0.1);
}

.service-image {
	height: 200px;
	overflow: hidden;
	border-radius: var(--border-radius);
	margin-bottom: 1rem;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s ease;
}

.service-card:hover .service-image img {
	transform: scale(1.1);
}

/* Benefits Section */
.benefits {
	background-color: var(--background);
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
}

.benefit-card {
	text-align: center;
	padding: 2rem 1rem;
	border-radius: var(--border-radius);
	transition: all 0.3s ease;
}

.benefit-card:hover {
	background-color: rgba(255, 255, 255, 0.05);
}

.benefit-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	overflow: hidden;
}

.benefit-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Testimonials Section */
.testimonials {
	background-color: rgba(242, 95, 76, 0.05);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.testimonial-card {
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: var(--border-radius);
	padding: 2rem;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	position: relative;
}

.testimonial-card:before {
	content: '"';
	font-size: 5rem;
	color: var(--accent-1);
	position: absolute;
	top: -20px;
	left: 20px;
	opacity: 0.2;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 1.5rem;
}

.author-name {
	font-weight: 700;
	color: var(--heading);
	margin-bottom: 0.25rem;
}

.author-company {
	font-size: 0.875rem;
	opacity: 0.8;
}

/* Contact Section */
.contact {
	background-color: var(--background);
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.contact-details {
	list-style: none;
	margin-top: 1.5rem;
}

.contact-details li {
	margin-bottom: 1rem;
}

/* Form Styles */
.form-group {
	margin-bottom: 1.5rem;
}

label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
}

input,
select,
textarea {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--border-radius);
	background-color: rgba(255, 255, 255, 0.05);
	color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--accent-1);
}

/* Custom select styling */
select {
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

/* Style for option backgrounds in select */
select option {
	background-color: var(--background);
	color: var(--text);
}

/* Checkbox styling */
.checkbox-group {
	display: flex;
	align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
	width: auto;
	margin-right: 10px;
	margin-top: 5px;
}

/* FAQ Section (CSS Only Accordion) */
.faq-item {
	margin-bottom: 1rem;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-question {
	position: relative;
	padding: 1rem;
	background-color: rgba(255, 255, 255, 0.05);
	color: var(--heading);
	font-weight: 600;
	cursor: pointer;
	display: block;
	width: 100%;
	text-align: left;
}

.faq-question:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.faq-question::after {
	content: '+';
	position: absolute;
	right: 1rem;
	transition: transform 0.3s ease;
}

.faq-checkbox {
	display: none;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	background-color: rgba(255, 255, 255, 0.02);
	padding: 0 1rem;
}

.faq-checkbox:checked~.faq-answer {
	max-height: 500px;
	padding: 1rem;
}

.faq-checkbox:checked~.faq-question::after {
	transform: rotate(45deg);
}

/* Footer */
.footer {
	background-color: rgba(15, 14, 23, 0.9);
	padding: 3rem 0 1rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.footer-logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--heading);
	margin-bottom: 1rem;
}

.footer h3 {
	font-size: 1.2rem;
	margin-bottom: 1.25rem;
	position: relative;
}

.footer h3:after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
}

.contact-list,
.quick-links,
.legal-links {
	list-style: none;
}

.contact-list li,
.quick-links li,
.legal-links li {
	margin-bottom: 0.75rem;
}

.copyright {
	text-align: center;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	opacity: 0.7;
	font-size: 0.875rem;
}

/* Cookie Consent */
.cookie-consent {
	position: fixed;
	bottom: -100%;
	left: 0;
	width: 100%;
	background-color: rgba(15, 14, 23, 0.95);
	padding: 1.5rem;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
	z-index: 9999;
	transition: bottom 0.5s ease;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.cookie-consent.active {
	bottom: 0;
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--container-width);
	margin: 0 auto;
}

.cookie-content p {
	margin-right: 1rem;
	margin-bottom: 0;
}

/* Policy Pages */
.policy-section {
	padding: 8rem 0 5rem;
}

.policy-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 3rem;
	background-color: rgba(255, 255, 255, 0.03);
	border-radius: var(--border-radius);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-content h1 {
	text-align: center;
	margin-bottom: 2rem;
}

.policy-content h2 {
	margin-top: 2rem;
}

.policy-content ul,
.policy-content ol {
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

/* Thank You Page */
.gracias-section {
	padding: 8rem 0 5rem;
}

.gracias-content {
	max-width: 800px;
	margin: 8rem auto 5rem;
	padding: 3rem;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.03);
	border-radius: var(--border-radius);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.gracias-buttons {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* Responsive Design */
@media (max-width: 992px) {
	.hero h1 {
		font-size: 2.5rem;
	}

	.about-content {
		grid-template-columns: 1fr;
	}

	.about-image {
		order: -1;
		margin-bottom: 2rem;
	}
}

@media (max-width: 768px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	section {
		padding: 3rem 0;
	}

	/* Burger Menu for Mobile */
	.menu-icon {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 70%;
		height: 100vh;
		background-color: var(--background);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: right 0.3s ease;
		z-index: 1;
		padding-top: 80px;
	}

	.menu {
		flex-direction: column;
		padding: 2rem;
	}

	.menu li {
		margin: 0 0 1.5rem 0;
	}

	.menu-toggle:checked~.nav {
		right: 0;
	}

	.menu-toggle:checked~.menu-icon .bar:nth-child(1) {
		transform: rotate(45deg) translate(5px, 6px);
	}

	.menu-toggle:checked~.menu-icon .bar:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle:checked~.menu-icon .bar:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -6px);
	}

	.cookie-content {
		flex-direction: column;
	}

	.cookie-content p {
		margin-right: 0;
		margin-bottom: 1rem;
		text-align: center;
	}

	.policy-content,
	.gracias-content {
		padding: 1.5rem;
	}

	.gracias-buttons {
		flex-direction: column;
	}

	.gracias-buttons .btn {
		width: 100%;
		margin-bottom: 1rem;
	}
}