/*
Theme Name: GIF - Global Innovation Finance
Theme URI: https://globalinnovationfinance.com
Author: GIF
Description: One-page corporate landing theme for Global Innovation Finance. Tailwind-based layout with hero, solutions, and contact sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gif-theme
*/

body {
	font-family: 'Inter', sans-serif;
	scroll-behavior: smooth;
}

/* Nav bar — exact match to index.html (fallback if Tailwind CDN misses custom opacity) */
.gif-site-nav {
	background-color: rgba(10, 25, 47, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* WordPress admin bar: keep nav below toolbar when logged in */
.admin-bar .gif-site-nav {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .gif-site-nav {
		top: 46px;
	}
}

/* Brand colors — fallback so theme matches index.html even if Tailwind is delayed */
.bg-brand-navy {
	background-color: #0a192f;
}

.bg-brand-navy\/95 {
	background-color: rgba(10, 25, 47, 0.95);
}

.bg-brand-teal {
	background-color: #14b8a6;
}

.bg-brand-royal {
	background-color: #2563eb;
}

.text-brand-navy {
	color: #0a192f;
}

.text-brand-teal {
	color: #14b8a6;
}

.text-brand-royal {
	color: #2563eb;
}

.gradient-text {
	background: linear-gradient(to right, #14b8a6, #38bdf8);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-bg {
	background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%);
}

.glass-card {
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

/* WordPress primary menu in header */
nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

nav .menu a {
	color: #d1d5db;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}

nav .menu a:hover {
	color: #fff;
}

/* Nav row — full height, vertical center */
.gif-site-nav > div {
	align-items: center;
	min-height: 5rem;
}

.gif-nav-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 5rem;
	line-height: 0;
}

.custom-logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 5rem;
	line-height: 0;
}

.custom-logo-link img {
	max-height: 4rem;
	max-width: 12rem;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center center;
}

/* Nav logo — local giflogo.webp, fit and center in nav */
.gif-nav-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 4.5rem;
	flex-shrink: 0;
	line-height: 0;
}

.gif-nav-logo img {
	display: block;
	height: 4.5rem;
	width: auto;
	max-height: 100%;
	object-fit: contain;
	object-position: center center;
}