/* ====================
   GLOBAL STYLES
   ==================== */
:root {
	--color-bg-dark: #111317;
	--color-bg-light: #1a1d22;
	--color-text-primary: #f0f0f0;
	--color-text-secondary: #a0a0a0;
	--color-accent: #00bfff;
	--font-family-heading: 'Plus Jakarta Sans', sans-serif;
	--font-family-body: 'Inter', sans-serif;
}
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font-family-body);
	background-color: var(--color-bg-dark);
	color: var(--color-text-primary);
	font-size: 16px;
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
ul {
	list-style: none;
}
a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}
h1,
h2,
h3 {
	font-family: var(--font-family-heading);
	font-weight: 700;
}
.main {
	flex-grow: 1;
}
body.no-scroll {
	overflow: hidden;
}

/* ====================
   LOGO
   ==================== */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-family-heading);
	font-size: 24px;
	font-weight: 700;
	color: var(--color-accent);
}
.logo:hover {
	color: var(--color-text-primary);
}
.logo__icon {
	width: 32px;
	height: 32px;
}

/* ====================
   HEADER
   ==================== */
.header {
	padding: 20px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: rgba(17, 19, 23, 0.8);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-bg-light);
}
.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Desktop Navigation */
.nav--desktop {
	display: none;
} /* Hidden on mobile */
.nav__list {
	display: flex;
	gap: 30px;
}
.nav__link {
	font-size: 16px;
	font-weight: 500;
	position: relative;
	padding: 5px 0;
}
.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-accent);
	transition: width 0.3s ease;
}
.nav__link:hover::after {
	width: 100%;
}
.nav__link:hover {
	color: var(--color-text-primary);
}

/* Burger Button */
.header__burger-btn {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1010; /* Highest z-index */
}
.header__burger-btn span {
	width: 100%;
	height: 3px;
	background-color: var(--color-text-primary);
	border-radius: 5px;
	transition: all 0.3s linear;
}
.header__burger-btn.is-active span:nth-child(1) {
	transform: rotate(45deg) translate(7px, 7px);
}
.header__burger-btn.is-active span:nth-child(2) {
	opacity: 0;
}
.header__burger-btn.is-active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation Panel */
.mobile-nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--color-bg-dark);
	z-index: 1005; /* Above content, below burger */
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translateX(100%);
	transition: transform 0.4s ease-in-out;
}
.mobile-nav.is-active {
	transform: translateX(0);
}
.mobile-nav .nav__list {
	flex-direction: column;
	align-items: center;
	gap: 40px;
}
.mobile-nav .nav__link {
	font-size: 24px;
}

/* ====================
   FOOTER (Existing code, no changes)
   ==================== */
.footer {
	padding: 60px 0;
	background-color: var(--color-bg-light);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__container {
	display: grid;
	gap: 40px;
	grid-template-columns: 1fr;
}
.footer__title {
	font-size: 18px;
	margin-bottom: 20px;
	color: var(--color-text-primary);
}
.footer__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.footer__link {
	color: var(--color-text-secondary);
}
.footer__link:hover {
	color: var(--color-accent);
	text-decoration: underline;
}
.footer__description {
	margin-top: 15px;
	color: var(--color-text-secondary);
	max-width: 250px;
}
.footer__link--icon {
	display: flex;
	align-items: center;
	gap: 10px;
}
.footer__link--icon i {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--color-accent);
}

/* ====================
   BUTTONS (Existing code, no changes)
   ==================== */
.button {
	display: inline-block;
	padding: 14px 32px;
	font-family: var(--font-family-body);
	font-size: 16px;
	font-weight: 500;
	text-align: center;
	color: var(--color-bg-dark);
	background-color: var(--color-accent);
	border: 2px solid var(--color-accent);
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.button:hover {
	background-color: transparent;
	color: var(--color-accent);
	transform: translateY(-3px);
}

/* ====================
   HERO SECTION (Existing code, no changes)
   ==================== */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 85px);
	padding: 80px 0;
	text-align: center;
	overflow: hidden;
}
.hero__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}
.hero__container {
	position: relative;
	z-index: 2;
}
.hero__content {
	max-width: 750px;
	margin: 0 auto;
}
.hero__title {
	font-size: 36px;
	line-height: 1.2;
	margin-bottom: 20px;
	background: linear-gradient(
		90deg,
		var(--color-text-primary),
		var(--color-accent)
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}
.hero__description {
	font-size: 18px;
	color: var(--color-text-secondary);
	margin-bottom: 40px;
}

/* ====================
   SECTION STYLES (Existing code, no changes)
   ==================== */
.section {
	padding: 80px 0;
}
.section__header {
	text-align: center;
	max-width: 650px;
	margin: 0 auto 60px;
}
.section__title {
	font-size: 32px;
	margin-bottom: 15px;
}
.section__subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
	line-height: 1.7;
}

/* ====================
   WORK SECTION (Existing code, no changes)
   ==================== */
.work__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}
.work-card {
	background-color: var(--color-bg-light);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid transparent;
	transition: transform 0.3s ease, border-color 0.3s ease;
}
.work-card:hover {
	transform: translateY(-8px);
	border-color: var(--color-accent);
}
.work-card__icon {
	width: 50px;
	height: 50px;
	margin-bottom: 20px;
	color: var(--color-accent);
}
.work-card__icon i {
	width: 100%;
	height: 100%;
}
.work-card__title {
	font-size: 22px;
	margin-bottom: 10px;
}
.work-card__description {
	color: var(--color-text-secondary);
}

/* ====================
   MEDIA QUERIES
   ==================== */
/* Tablet */
@media (min-width: 768px) {
	.header__burger-btn {
		display: none;
	}
	.nav--desktop {
		display: flex;
	}
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
	.hero__title {
		font-size: 52px;
	}
	.hero__description {
		font-size: 20px;
	}
	.section {
		padding: 100px 0;
	}
	.section__title {
		font-size: 42px;
	}
	.work__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}
/* Desktop */
@media (min-width: 1024px) {
	.footer__container {
		grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
		gap: 60px;
	}
}

/* ====================
   CREATIVE SECTION (TABS)
   ==================== */
.creative-tabs {
	background-color: var(--color-bg-light);
	border-radius: 16px;
	padding: 20px;
}

.creative-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.creative-tabs__button {
	flex: 1;
	padding: 12px 15px;
	font-size: 14px;
	font-weight: 500;
	font-family: var(--font-family-body);
	background-color: transparent;
	color: var(--color-text-secondary);
	border: 1px solid var(--color-bg-dark);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.creative-tabs__button:hover {
	color: var(--color-text-primary);
	background-color: rgba(255, 255, 255, 0.05);
}

.creative-tabs__button.is-active {
	color: var(--color-text-primary);
	background-color: var(--color-accent);
	border-color: var(--color-accent);
}

.creative-tabs__button i {
	width: 18px;
	height: 18px;
}

.creative-tabs__panel {
	display: none;
	animation: fadeIn 0.5s ease;
}

.creative-tabs__panel.is-active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.panel-content {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	align-items: center;
}

.panel-content__image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
}

.panel-content__text h3 {
	font-size: 24px;
	margin-bottom: 15px;
}

.panel-content__text p {
	color: var(--color-text-secondary);
}

/* Responsive adjustments for Creative Section */
@media (min-width: 768px) {
	.creative-tabs__button {
		font-size: 16px;
	}

	.creative-tabs {
		padding: 40px;
	}

	.panel-content {
		grid-template-columns: 1fr 1.2fr;
	}
}

/* ====================
   LEARNING SECTION (ACCORDION)
   ==================== */
.accordion {
	max-width: 800px;
	margin: 0 auto;
	border-top: 1px solid var(--color-bg-light);
}

.accordion__item {
	border-bottom: 1px solid var(--color-bg-light);
}

.accordion__header {
	width: 100%;
	background-color: transparent;
	border: none;
	padding: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	font-family: var(--font-family-body);
	font-size: 18px;
	font-weight: 500;
	color: var(--color-text-primary);
	cursor: pointer;
}

.accordion__header:hover {
	color: var(--color-accent);
}

.accordion__icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	margin-left: 20px;
	transition: transform 0.3s ease-in-out;
}

.accordion__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out;
}

.accordion__text {
	padding: 0 20px 20px;
	color: var(--color-text-secondary);
	line-height: 1.7;
}

/* Active state for Accordion */
.accordion__item.is-active .accordion__header {
	color: var(--color-accent);
}

.accordion__item.is-active .accordion__icon {
	transform: rotate(45deg);
}

/* ====================
   CONTACT SECTION
   ==================== */
.contact__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 60px;
	margin-top: 60px;
}

.contact__info-title {
	font-size: 24px;
	margin-bottom: 10px;
}

.contact__info-text {
	color: var(--color-text-secondary);
	margin-bottom: 30px;
}

.contact__info-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.contact__info-list li {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 16px;
}

.contact__info-list i {
	width: 22px;
	height: 22px;
	color: var(--color-accent);
}

.contact__info-list a:hover {
	text-decoration: underline;
	color: var(--color-accent);
}

/* Form Styles */
.contact__form-wrapper {
	background-color: var(--color-bg-light);
	padding: 30px;
	border-radius: 16px;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-label {
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--color-text-secondary);
}

.form-input {
	width: 100%;
	padding: 12px 16px;
	background-color: var(--color-bg-dark);
	border: 1px solid #333;
	border-radius: 8px;
	color: var(--color-text-primary);
	font-size: 16px;
	font-family: var(--font-family-body);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.form-input.is-invalid {
	border-color: #e74c3c;
}

/* Checkbox */
.form-group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
}

.form-checkbox {
	appearance: none;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 3px;
	background-color: var(--color-bg-dark);
	border: 1px solid #333;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-checkbox:checked {
	background-color: var(--color-accent);
	border-color: var(--color-accent);
}

.form-checkbox:checked::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 12px;
	border: solid var(--color-bg-dark);
	border-width: 0 3px 3px 0;
	transform: translate(-50%, -60%) rotate(45deg);
}

.form-checkbox-label {
	font-size: 14px;
	color: var(--color-text-secondary);
	cursor: pointer;
}

.form-checkbox-label a {
	color: var(--color-accent);
	text-decoration: underline;
}

.contact-form__button {
	margin-top: 10px;
}

/* Success Message */
.form-message {
	text-align: center;
	padding: 40px 20px;
}
.form-message__icon {
	color: #2ecc71;
	margin-bottom: 20px;
}
.form-message__icon i {
	width: 60px;
	height: 60px;
}
.form-message__title {
	font-size: 24px;
	margin-bottom: 10px;
}
.form-message__text {
	color: var(--color-text-secondary);
}

/* Responsive */
@media (min-width: 992px) {
	.contact__layout {
		grid-template-columns: 1fr 1.2fr;
	}
	.contact__form-wrapper {
		padding: 40px;
	}
}

/* ====================
   COOKIE POP-UP
   ==================== */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--color-bg-light);
	border-top: 1px solid #333;
	padding: 20px 0;
	z-index: 1100;
	transform: translateY(120%);
	transition: transform 0.5s ease-in-out;
}

.cookie-popup.is-visible {
	transform: translateY(0);
}

.cookie-popup__container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	text-align: center;
}

.cookie-popup__text {
	color: var(--color-text-secondary);
}

.cookie-popup__text a {
	color: var(--color-accent);
	text-decoration: underline;
}

.cookie-popup__button {
	padding: 8px 24px;
	flex-shrink: 0;
}

/* Responsive */
@media (min-width: 768px) {
	.cookie-popup__container {
		flex-direction: row;
		text-align: left;
	}
}

/* ====================
   PAGES (PRIVACY, TERMS, ETC.)
   ==================== */

.pages {
	padding: 60px 0;
}

/* Limit text width for better readability */
.pages .container {
	max-width: 800px;
}

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 30px;
	line-height: 1.3;
	color: var(--color-text-primary);
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 40px;
	margin-bottom: 20px;
	line-height: 1.4;
	color: var(--color-text-primary);
}

.pages p {
	margin-bottom: 20px;
	color: var(--color-text-secondary);
	line-height: 1.7;
}

.pages ul {
	list-style: disc;
	padding-left: 25px;
	margin-bottom: 20px;
	color: var(--color-text-secondary);
}

.pages li {
	margin-bottom: 10px;
	line-height: 1.7;
}

.pages a {
	color: var(--color-accent);
	text-decoration: underline;
	transition: color 0.3s ease;
}

.pages a:hover {
	color: var(--color-text-primary);
}

.pages strong {
	color: var(--color-text-primary);
	font-weight: 500;
}
