/* 
 * Main stylesheet for domain accounting website
 * Colors:
 * - Main background: #0B0B0C
 * - Accent: #FEC260
 * - Secondary background: #202020
 * - Text: #FFFFFF, #DDDDDD
 */

/* Global styles */
* {
	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: #0B0B0C;
	color: #FFFFFF;
	line-height: 1.6;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

a {
	color: #FEC260;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #D87D0D;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-bottom: 1rem;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	position: relative;
	padding-bottom: 0.5rem;
}

h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, #FEC260, #D87D0D);
}

p {
	margin-bottom: 1rem;
	color: #DDDDDD;
}

/* Buttons */
.btn {
	display: inline-block;
	background: linear-gradient(90deg, #FEC260, #D87D0D);
	color: #0B0B0C;
	padding: 12px 30px;
	border-radius: 5px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	border: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 15px rgba(254, 194, 96, 0.5);
	color: #0B0B0C;
}

/* Header */
header {
	background-color: rgba(11, 11, 12, 0.95);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	font-size: 1.8rem;
	font-weight: bold;
	color: #FEC260;
}

/* Navigation */
.nav-menu {
	display: flex;
}

.nav-menu li {
	list-style: none;
	margin-left: 25px;
}

.nav-menu a {
	color: #FFFFFF;
	font-weight: 500;
	position: relative;
}

.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #FEC260, #D87D0D);
	transition: width 0.3s ease;
}

.nav-menu a:hover::after {
	width: 100%;
}

/* Mobile menu */
.hamburger {
	display: none;
	cursor: pointer;
}

.hamburger span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #FEC260;
	margin: 5px 0;
	transition: all 0.3s ease;
}

/* Hero section */
.hero {
	height: 90vh;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: center;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	animation: fadeInUp 1s ease;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	animation: fadeInUp 1s ease 0.2s forwards;
	opacity: 0;
}

.hero .btn {
	animation: fadeInUp 1s ease 0.4s forwards;
	opacity: 0;
}

/* About section */
.about {
	padding: 5rem 0;
	background-color: #202020;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 30px;
}

.about-text {
	flex: 1;
}

.about-image {
	flex: 1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.about-image:hover img {
	transform: scale(1.05);
}

/* Services section */
.services {
	padding: 5rem 0;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 3rem;
}

.service-card {
	background-color: #202020;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card-image {
	width: 100%;
	height: 180px;
	overflow: hidden;
}

.service-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
	transform: scale(1.05);
}

.service-card-content {
	padding: 25px;
}

.service-card h3 {
	color: #FEC260;
	margin-bottom: 15px;
}

/* Why Choose Us section */
.why-us {
	padding: 5rem 0;
	background-color: #202020;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 3rem;
}

.feature {
	padding: 0 0 25px;
	background-color: #0B0B0C;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease;
	overflow: hidden;
}

.feature:hover {
	transform: translateY(-5px);
}

.feature-image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	margin-bottom: 20px;
}

.feature-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.feature:hover .feature-image img {
	transform: scale(1.05);
}

.feature-content {
	padding: 0 25px;
}

/* Testimonials section */
.testimonials {
	padding: 5rem 0;
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 3rem;
}

.testimonial {
	background-color: #202020;
	padding: 25px;
	border-radius: 10px;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.testimonial::before {
	content: '"';
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 5rem;
	opacity: 0.2;
	color: #FEC260;
	line-height: 1;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
}

.testimonial-author {
	font-weight: bold;
	color: #FEC260;
}

/* FAQ section */
.faq {
	padding: 5rem 0;
	background-color: #202020;
}

.faq-container {
	margin-top: 3rem;
}

.faq-item {
	margin-bottom: 15px;
}

.faq-question {
	display: none;
}

.faq-label {
	display: block;
	padding: 15px;
	background-color: #0B0B0C;
	color: #FFFFFF;
	font-weight: bold;
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
}

.faq-label:hover {
	background-color: #151515;
}

.faq-label::after {
	content: '+';
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
	background-color: #151515;
	border-radius: 0 0 5px 5px;
}

.faq-answer-content {
	padding: 15px;
}

.faq-question:checked~.faq-answer {
	max-height: 500px;
}

.faq-question:checked~.faq-label::after {
	content: '-';
}

/* Contact section */
.contact {
	padding: 5rem 0;
}

.contact-form {
	max-width: 600px;
	margin: 3rem auto 0;
	background-color: #202020;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}

.form-control {
	width: 100%;
	padding: 12px;
	background-color: #151515;
	border: 1px solid #333;
	border-radius: 5px;
	color: #FFFFFF;
	font-size: 1rem;
}

.form-control:focus {
	outline: none;
	border-color: #FEC260;
	box-shadow: 0 0 5px rgba(254, 194, 96, 0.5);
}

.checkbox-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.checkbox-group input {
	margin-right: 10px;
	margin-top: 5px;
}

/* Footer */
footer {
	background-color: #0B0B0C;
	padding: 3rem 0 1rem;
	border-top: 1px solid #333;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 3rem;
}

.footer-column h3 {
	color: #FEC260;
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.footer-links li {
	margin-bottom: 10px;
	list-style: none;
}

.footer-contact li {
	margin-bottom: 15px;
	list-style: none;
	display: flex;
	align-items: flex-start;
}

.copyright {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid #333;
	font-size: 0.9rem;
	color: #777;
}

/* Policy pages */
.policy-page {
	padding: 5rem 0;
}

.policy-container {
	background-color: #202020;
	padding: 40px;
	border-radius: 10px;
	border: 1px solid #333;
	max-width: 800px;
	margin: 0 auto;
}

.policy-container h1 {
	color: #FEC260;
	margin-bottom: 30px;
}

.policy-container h2 {
	margin-top: 30px;
}

.policy-container p {
	margin-bottom: 15px;
}

.policy-container ul {
	margin-bottom: 20px;
	padding-left: 20px;
}

.policy-container li {
	margin-bottom: 10px;
}

/* Thank you page */
.thank-you-page {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 200px);
}

.thank-you-container {
	background-color: #202020;
	padding: 40px;
	border-radius: 10px;
	border: 1px solid #333;
	max-width: 600px;
	margin: 5rem auto;
	text-align: center;
}

/* Cookie popup */
.cookie-popup {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 400px;
	background-color: #202020;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: none;
}

.cookie-popup p {
	margin-bottom: 15px;
}

.cookie-popup-buttons {
	display: flex;
	justify-content: flex-end;
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Media Queries */
@media screen and (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.hero h1 {
		font-size: 2.8rem;
	}

	.about-content {
		flex-direction: column;
	}
}

@media screen and (max-width: 768px) {
	.nav-menu {
		position: fixed;
		top: 70px;
		right: -100%;
		flex-direction: column;
		background-color: #0B0B0C;
		width: 100%;
		height: calc(100vh - 70px);
		padding: 20px 0;
		transition: right 0.3s ease;
	}

	.nav-menu.active {
		right: 0;
	}

	.nav-menu li {
		margin: 15px 0;
		text-align: center;
	}

	.hamburger {
		display: block;
	}

	input:checked~.hamburger span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	input:checked~.hamburger span:nth-child(2) {
		opacity: 0;
	}

	input:checked~.hamburger span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -8px);
	}

	input:checked~.nav-menu {
		right: 0;
	}

	.hero h1 {
		font-size: 2.3rem;
	}

	.hero {
		height: 80vh;
	}
}

@media screen and (max-width: 576px) {
	.container {
		width: 95%;
		padding: 0 10px;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	.policy-container,
	.thank-you-container {
		padding: 25px;
	}
}