/*
 Theme Name:   Dayhim Studio Child
 Theme URI:    https://dayhimstudio.com
 Description:  Custom child theme for Dayhim Studio, built on Astra.
 Author:       Dayhim Studio
 Author URI:   https://dayhimstudio.com
 Template:     astra
 Version:      1.0.1
 Text Domain:  dayhim-child
*/

/* ==========================================================================
   1. Global Variables (matches Elementor Global Colors)
   ========================================================================== */
:root {
	--dayhim-primary: #0D0D14;   /* dark background */
	--dayhim-secondary: #C9A45C; /* gold */
	--dayhim-text: #F5F0E6;      /* cream text */
	--dayhim-accent: #E8C97A;    /* light gold / hover */
	--dayhim-font: 'Vazirmatn', Tahoma, sans-serif;
}

body {
	font-family: var(--dayhim-font);
	background-color: #ffffff;
	color: #1a1a1a;
}

/* ==========================================================================
   2. Header
   ========================================================================== */
.dayhim-header {
	background-color: var(--dayhim-primary);
	position: sticky;
	top: 0;
	z-index: 999;
	width: 100%;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.35);
}

.dayhim-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
}

.dayhim-logo a {
	color: var(--dayhim-secondary);
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.dayhim-logo img {
	max-height: 48px;
	width: auto;
}

.dayhim-nav {
	display: flex;
}

.dayhim-menu {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dayhim-menu li a {
	color: var(--dayhim-text);
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: color 0.25s ease;
	padding: 8px 0;
	position: relative;
}

.dayhim-menu li a:hover,
.dayhim-menu li.current-menu-item a {
	color: var(--dayhim-secondary);
}

.dayhim-menu li a::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0;
	height: 2px;
	background-color: var(--dayhim-secondary);
	transition: width 0.25s ease;
}

.dayhim-menu li a:hover::after {
	width: 100%;
}

/* Mobile menu toggle button (hidden on desktop) */
.dayhim-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.dayhim-menu-toggle span {
	width: 26px;
	height: 2px;
	background-color: var(--dayhim-secondary);
	display: block;
}

/* Responsive: collapse menu into toggle on small screens */
@media (max-width: 860px) {
	.dayhim-menu-toggle {
		display: flex;
	}

	.dayhim-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background-color: var(--dayhim-primary);
		flex-direction: column;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.dayhim-nav.dayhim-nav-open {
		max-height: 500px;
	}

	.dayhim-menu {
		flex-direction: column;
		gap: 0;
		padding: 10px 24px 20px;
	}

	.dayhim-menu li a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}
}

/* ==========================================================================
   3. Footer
   ========================================================================== */
.dayhim-footer {
	background-color: var(--dayhim-primary);
	padding: 50px 24px 30px;
	text-align: center;
	margin-top: 0;
}

.dayhim-footer-inner {
	max-width: 700px;
	margin: 0 auto;
}

.dayhim-footer-logo {
	color: var(--dayhim-secondary);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 6px;
}

.dayhim-footer-tagline {
	color: var(--dayhim-text);
	opacity: 0.7;
	font-size: 14px;
	margin-bottom: 20px;
}

.dayhim-footer-copy {
	color: var(--dayhim-text);
	opacity: 0.5;
	font-size: 13px;
	margin: 0;
}
