/* ==========================================================================
   Akademi Grubu — landing page styles
   Single-page hub linking out to the group's 5 agencies. All text/links are
   edited via the block editor (Pages → Ana Sayfa) or the Customizer
   (footer contact info); this file only handles look & feel.
   ========================================================================== */

:root {
	--ag-ink: #3f3f3f;
	--ag-ink-soft: #6b6b6b;
	--ag-gold: #c9982f;
	--ag-gold-dark: #ab7f24;
	--ag-cream: #faf7f2;
	--ag-white: #ffffff;
	--ag-border: rgba(63, 63, 63, 0.08);
	--ag-shadow: 0 20px 45px -20px rgba(63, 63, 63, 0.22);
	--ag-radius: 20px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--ag-cream);
	color: var(--ag-ink);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

.ag-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.ag-main {
	flex: 1;
	padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
	font-family: 'Poppins', 'Inter', sans-serif;
	color: var(--ag-ink);
	margin: 0 0 0.5rem;
}

/* ---------------------------------------------------------------------- */
/* Eyebrow (small caps label used above headings)                        */
/* ---------------------------------------------------------------------- */

.ag-eyebrow {
	color: var(--ag-gold-dark);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	margin: 0 0 0.75rem;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */

.ag-hero {
	max-width: 780px;
	margin: 0 auto;
	padding: 4.5rem 0 3.5rem;
	text-align: center;
}

.ag-logo {
	margin: 0 auto 1.25rem !important;
	display: flex;
	justify-content: center;
}

.ag-logo img {
	width: 120px;
	height: auto;
	filter: drop-shadow(0 12px 24px rgba(63, 63, 63, 0.14));
}

.ag-title {
	font-size: clamp(1.9rem, 4.4vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.ag-subtitle {
	color: var(--ag-ink-soft);
	font-size: 1.05rem;
	max-width: min(62ch, 100%);
	width: 100%;
	margin: 1rem auto 0;
}

.ag-subtitle strong {
	color: var(--ag-ink);
	font-weight: 700;
}

/* ---------------------------------------------------------------------- */
/* Services section                                                       */
/* ---------------------------------------------------------------------- */

.ag-section-title {
	text-align: center;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	margin-bottom: 2.5rem;
}

.ag-group-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 auto 1.5rem;
	max-width: 1080px;
}

.ag-grid.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1080px;
	margin: 0 auto 3.5rem;
	gap: 1.5rem !important;
	align-items: stretch;
}

.ag-card.wp-block-column {
	background: var(--ag-white);
	border: 1px solid var(--ag-border);
	border-radius: var(--ag-radius);
	box-shadow: var(--ag-shadow);
	padding: 2.25rem 1.75rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	flex: 1 1 260px;
	min-width: 240px;
	max-width: 340px;
}

.ag-card.wp-block-column:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 55px -22px rgba(63, 63, 63, 0.3);
}

.ag-card-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(201, 152, 47, 0.12);
	margin: 0 0 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	line-height: 1;
}

.ag-card-tag {
	color: var(--ag-gold-dark);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	display: block;
	margin-bottom: 0.35rem;
}

.ag-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	line-height: 1.35;
}

.ag-card-desc {
	color: var(--ag-ink-soft);
	font-size: 0.92rem;
	flex: 1;
	margin: 0 0 1.5rem;
}

.ag-card-cta.wp-block-buttons {
	justify-content: center !important;
	margin: 0 !important;
}

.ag-btn .wp-block-button__link {
	background: transparent;
	color: var(--ag-gold-dark);
	border: 2px solid var(--ag-gold);
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.88rem;
	padding: 0.6rem 1.4rem;
	transition: background 0.2s ease, color 0.2s ease;
}

.ag-btn .wp-block-button__link:hover {
	background: var(--ag-gold);
	color: var(--ag-white);
}

/* ---------------------------------------------------------------------- */
/* About section                                                          */
/* ---------------------------------------------------------------------- */

.ag-about {
	max-width: 720px;
	margin: 0 auto;
	padding: 1rem 0 4rem;
	text-align: center;
}

.ag-about-title {
	font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.ag-about-text {
	color: var(--ag-ink-soft);
	font-size: 1rem;
	max-width: min(66ch, 100%);
	width: 100%;
	margin: 0.75rem auto 0;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */

.ag-footer {
	background: var(--ag-ink);
	color: rgba(255, 255, 255, 0.85);
	padding: 2.75rem 1.5rem 2rem;
	margin-top: auto;
}

.ag-footer-inner {
	max-width: 1080px;
	margin: 0 auto;
	text-align: center;
}

.ag-footer-contact {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2rem;
	margin-bottom: 1.5rem;
	font-size: 0.92rem;
}

.ag-footer-contact p {
	margin: 0;
}

.ag-footer-contact a {
	color: inherit;
	text-decoration: none;
}

.ag-footer-contact a:hover {
	color: var(--ag-gold);
}

.ag-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-footer-links a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-weight: 500;
}

.ag-footer-links a:hover {
	color: var(--ag-gold);
}

.ag-footer-sep {
	color: rgba(255, 255, 255, 0.3);
}

.ag-footer-copy {
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Generic page fallback (not used by the landing page itself)            */
/* ---------------------------------------------------------------------- */

.ag-main--page {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.ag-prose {
	max-width: 720px;
	margin: 0 auto;
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                             */
/* ---------------------------------------------------------------------- */

@media (max-width: 780px) {
	.ag-card.wp-block-column {
		flex-basis: 100%;
		max-width: 420px;
	}
}

@media (max-width: 599px) {
	.ag-hero {
		padding: 3rem 0 2rem;
	}

	.ag-card.wp-block-column {
		margin-bottom: 0 !important;
	}

	.ag-grid.wp-block-columns {
		gap: 1rem !important;
		margin-bottom: 2.5rem;
	}

	.ag-footer-contact {
		flex-direction: column;
		gap: 0.6rem;
	}
}
