/* CHIC BOOTH - Main Styles CSS */
/* File: /assets/css/styles.css */

/* GBF Services Homepage CSS */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
	line-height: 1.6;
	color: #000000;
	background-color: #ffffff;
}

/* Header */
.header {
	background: linear-gradient(135deg, #000000 0%, #333333 100%);
	color: #ffffff;
	padding: 1rem 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: 900;
	color: #fecf6a;
	text-decoration: none;
}

.logo-img {
	width: 40px;
	height: 40px;
	border-radius: 4px;
}

.nav {
	display: flex;
	list-style: none;
}

.nav-item {
	margin-left: 2rem;
	position: relative;
}

.nav-link {
	color: #ffffff;
	text-decoration: none;
	font-weight: 400;
	transition: color 0.3s ease;
	padding: 0.5rem 0;
}

.nav-link:hover {
	color: #fecf6a;
}

.dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	background: #000000;
	min-width: 250px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	border-top: 2px solid #fecf6a;
	list-style: none;
	margin: 0;
	padding: 0;
	z-index: 1001;
}

.nav-item:hover .dropdown {
	opacity: 1;
	visibility: visible;
}

.dropdown-item {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #333333;
}

.dropdown-link {
	color: #ffffff;
	text-decoration: none;
	display: block;
	transition: color 0.3s ease;
}

.dropdown-link:hover {
	color: #fecf6a;
}


/* Hamburger to X animation */
.mobile-menu {
	display: none; /* Hide by default on desktop */
	flex-direction: column;
	cursor: pointer;
	transition: all 0.3s ease;
}

.mobile-menu span {
	width: 25px;
	height: 3px;
	background-color: #fecf6a;
	margin: 3px 0;
	transition: all 0.3s ease;
	transform-origin: center;
}

/* X transformation when active */
.mobile-menu.active span:nth-child(1) {
	transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active span:nth-child(2) {
	opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
	display: none;
	position: fixed;
	top: 70px;
	left: 0;
	width: 100%;
	background: #000000;
	border-top: 2px solid #fecf6a;
	z-index: 1000;
}

.mobile-nav.active {
	display: block;
}

.mobile-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-nav li {
	border-bottom: 1px solid #333333;
}

.mobile-nav a {
	display: block;
	padding: 1rem;
	color: #ffffff;
	text-decoration: none;
}

.mobile-nav a:hover {
	color: #fecf6a;
	background: rgba(254, 207, 106, 0.1);
}

.mobile-dropdown {
	display: none;
	background: #333333;
	padding-left: 1rem;
}

.mobile-dropdown.active {
	display: block;
}

.mobile-dropdown a {
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
	border-bottom: 1px solid #444444;
}

.mobile-dropdown-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mobile-dropdown-toggle .fa-chevron-down {
	font-size: 0.8rem;
	transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.open .fa-chevron-down {
	transform: rotate(180deg);
}

/* Hero Section */
.hero {
	background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grain" x="0" y="0" width="4" height="4" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="0.5" fill="%23fecf6a" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="%23000000"/><rect width="1200" height="600" fill="url(%23grain)"/></svg>');
	background-size: cover;
	background-position: center;
	min-height: 100vh;
	display: flex;
	align-items: center;
	text-align: center;
	color: #ffffff;
	position: relative;
	padding-top: 80px;
	overflow: hidden;
}

/* Add the gold shimmer overlay */
.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 50% 40%, rgba(254, 207, 106, 0.15) 0%, transparent 50%),
				radial-gradient(circle at 60% 60%, rgba(254, 207, 106, 0.1) 0%, transparent 50%),
				radial-gradient(circle at 40% 70%, rgba(254, 207, 106, 0.08) 0%, transparent 40%),
				linear-gradient(135deg, rgba(254, 207, 106, 0.05) 0%, transparent 50%, rgba(254, 207, 106, 0.03) 100%);
	pointer-events: none;
	animation: shimmer 8s ease-in-out infinite alternate;
}

/* Add subtle animation */
@keyframes shimmer {
	0% {
		opacity: 0.6;
		transform: translateX(-10px) translateY(-5px);
	}
	100% {
		opacity: 1;
		transform: translateX(10px) translateY(5px);
	}
}

/* Ensure hero content stays above the overlay */
.hero-container {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 2rem;
}

.hero h1 {
	font-size: 3.5rem;
	font-weight: 900;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero h2 {
	font-size: 1.5rem;
	font-weight: 300;
	margin-bottom: 2rem;
	color: #fecf6a;
}

.hero-text {
	font-size: 1.1rem;
	margin-bottom: 3rem;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	padding: 1rem 2rem;
	border: none;
	border-radius: 5px;
	text-decoration: none;
	font-family: 'Lato', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	transition: all 0.3s ease;
	cursor: pointer;
}

.btn-primary {
	background: #fecf6a;
	color: #000000;
}

.btn-primary:hover {
	background: #ffffff;
	color: #000000;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(254, 207, 106, 0.3);
}

.btn-secondary {
	background: transparent;
	color: #ffffff;
	border: 2px solid #fecf6a;
}

.btn-secondary:hover {
	background: #fecf6a;
	color: #000000;
}

/* Trust Indicators */
.trust-indicators {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
	gap: 3rem;
	flex-wrap: wrap;
}

.trust-item {
	text-align: center;
}

.trust-item strong {
	display: block;
	color: #fecf6a;
	font-size: 0.9rem;
}

/* Main Content */
.main {
	/* padding-top: 5rem; */
}

.section {
	padding: 5rem 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.section-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 900;
	margin-bottom: 1rem;
	color: #000000;
}

.section-subtitle {
	text-align: center;
	font-size: 1.2rem;
	color: #666666;
	margin-bottom: 3rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Value Proposition */
.value-prop {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 3rem;
	margin-top: 3rem;
}

.pillar {
	background: #ffffff;
	padding: 2.5rem;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
	border-top: 4px solid #fecf6a;
	transition: transform 0.3s ease;
}

.pillar:hover {
	transform: translateY(-5px);
}

.pillar-icon {
	width: 60px;
	height: 60px;
	background: #fecf6a;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.5rem;
	font-size: 1.5rem;
	color: #ffffff;
}

.pillar h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #000000;
}

.pillar p {
	color: #555555;
	line-height: 1.7;
}

/* Service Capabilities */
.services {
	background: #000000;
	color: #ffffff;
}

.services .section-title {
	color: #ffffff;
}

.services .section-subtitle {
	color: #cccccc;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.service-card {
	background: rgba(254, 207, 106, 0.1);
	padding: 2rem;
	border-radius: 10px;
	border: 1px solid #fecf6a;
	transition: all 0.3s ease;
}

.service-card:hover {
	background: rgba(254, 207, 106, 0.2);
	transform: translateY(-3px);
}

.service-card h4 {
	color: #fecf6a;
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.service-card p {
	color: #dddddd;
	line-height: 1.6;
}

.service-card-full {
    grid-column: 1 / -1;
    background: rgba(254, 207, 106, 0.15);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid #fecf6a;
    text-align: center;
    margin-top: 1rem;
}

.service-card-full h4 {
    color: #fecf6a;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card-full p {
    color: #dddddd;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.service-features {
	list-style: none;
	padding-left: 0;
}

.service-features li {
	padding: 0.3rem 0;
	position: relative;
	padding-left: 1.5rem;
	color: #dddddd;
}

.service-features li:before {
	content: "•";
	color: #fecf6a;
	font-weight: bold;
	position: absolute;
	left: 0;
}

/* Market Intelligence */
.market-intelligence {
	background: linear-gradient(135deg, #fefcf6 0%, #ffffff 100%);
}

.intelligence-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.intelligence-card {
	background: #ffffff;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 3px 15px rgba(0,0,0,0.1);
	border-left: 4px solid #fecf6a;
	transition: all 0.3s ease;
}

.intelligence-card:hover {
	background: rgba(254, 207, 106, 0.2);
	transform: translateY(-3px);
}

.intelligence-card h4 {
	color: #000000;
	font-size: 1.3rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.intelligence-card p {
	color: #555555;
	line-height: 1.7;
}

/* Professional Credibility */
.credibility {
	background: #f8f9fa;
}

.credibility-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.standards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.standard {
	background: #ffffff;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	text-align: center;
	transition: all 0.3s ease;
}

.standard:hover {
	transform: translateY(-3px);
}

.standard-icon {
	width: 50px;
	height: 50px;
	background: #fecf6a;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
	font-size: 1.5rem;
	color: #ffffff;
}

.standard h5 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 0.5rem;
}

.standard p {
	font-size: 0.9rem;
	color: #666666;
}

/* Final CTA */
.final-cta {
	background: linear-gradient(135deg, #000000 0%, #333333 100%);
	color: #ffffff;
	text-align: center;
}

.final-cta .section-title {
	color: #ffffff;
}

.final-cta .section-subtitle {
	color: #cccccc;
}

.cta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1.5rem;
	margin-top: 3rem;
}

/* Footer */
.footer {
	background: #000000;
	color: #ffffff;
	padding: 3rem 0 1rem;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h4 {
	color: #fecf6a;
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
	color: #cccccc;
	text-decoration: none;
	line-height: 1.6;
}

.footer-section a:hover {
	color: #fecf6a;
}

.footer-bottom {
	border-top: 1px solid #333333;
	padding-top: 1rem;
	text-align: center;
	color: #888888;
	font-size: 0.9rem;
}

/* GBF Cookie Notice Styles */
.gbf-cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    padding: 20px;
    display: none;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #fecf6a;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.gbf-cookie-notice.visible {
    opacity: 1;
    transform: translateY(0);
}

.gbf-cookie-notice.hiding {
    opacity: 0;
    transform: translateY(100%);
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-notice-text {
    flex: 1;
}

.cookie-notice-text p {
    margin: 0;
    color: #cccccc;
    line-height: 1.5;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}

.cookie-notice-text a {
    color: #fecf6a;
    text-decoration: none;
    font-weight: 700;
}

.cookie-notice-text a:hover {
    text-decoration: underline;
}

.cookie-notice-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Lato', Helvetica, Arial, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #fecf6a;
    color: #000000;
}

.cookie-btn-accept:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 207, 106, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #fecf6a;
}

.cookie-btn-decline:hover {
    background: #fecf6a;
    color: #000000;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav {
		display: none;
	}
	
	.mobile-menu {
		display: flex !important;
	}
	
	/* X transformation when active */
	.mobile-menu.active span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.mobile-menu.active span:nth-child(2) {
		opacity: 0;
	}

	.mobile-menu.active span:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}
	
	.logo {
		font-size: 1.2rem;
	}
	
	.logo-img {
		width: 32px;
		height: 32px;
	}
	
	.hero {
		padding-top: 60px;
		min-height: calc(100vh - 60px);
	}
	
	.hero h1 {
		font-size: 2rem;
		line-height: 1.3;
	}
	
	.hero h2 {
		font-size: 1.1rem;
	}
	
	.hero-text {
		font-size: 1rem;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 0.8rem;
	}
	
	.btn {
		width: 100%;
		max-width: 300px;
	}
	
	.trust-indicators {
		gap: 1.5rem;
		flex-direction: column;
		align-items: center;
		padding-bottom: 3rem;
	}
	
	.trust-item {
		text-align: center;
		min-width: 150px;
	}
	
	.pillars {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.service-grid {
		grid-template-columns: 1fr;
	}
	
	.intelligence-grid {
		grid-template-columns: 1fr;
	}
	
	.standards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.cta-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		justify-items: center;
	}
	
	.gbf-cookie-notice {
        padding: 15px;
    }
    
    .cookie-notice-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-notice-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .header-container {
		padding: 0 1rem;
	}
	
	.container {
		padding: 0 1rem;
	}
	
	.hero-container {
		padding: 1rem;
	}
	
	.hero h1 {
		font-size: 1.5rem;
		line-height: 1.4;
	}
	
	.hero h2 {
		font-size: 1rem;
	}
	
	.hero-text {
		font-size: 0.95rem;
	}
	
	.section-title {
		font-size: 1.8rem;
	}
	
	.trust-indicators {
		flex-direction: column;
		gap: 1rem;
		padding-bottom: 2rem;
	}
	
	.standards-grid {
		grid-template-columns: 1fr;
	}
	
	.pillar {
		padding: 2rem;
	}
	
	.cookie-notice-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .cookie-notice-text p {
        font-size: 14px;
    }
}


/* ==========================================================================
   Layout utilities (added)
   ========================================================================== */

/* Force a two-column card grid (overrides the default auto-fit behaviour).
   Used for the Contact "Get In Touch" and Resources "Usage Guidelines" grids. */
.grid-2col {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
	.grid-2col {
		grid-template-columns: 1fr;
	}
}

/* Force a three-column pillar grid (homepage expertise section). */
.pillars-3 {
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
	.pillars-3 {
		grid-template-columns: 1fr;
	}
}

/* Centered portfolio grid: an incomplete final row stays centered on the page
   instead of being left-aligned (homepage "Our Commodity Trading Portfolio"). */
.service-grid.portfolio-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.portfolio-grid .service-card {
	flex: 0 1 340px;
}

@media (max-width: 768px) {
	.portfolio-grid .service-card {
		flex-basis: 100%;
	}
}

/* "Learn More" links inside light-background cards (pillars). */
.card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 1.5rem;
	font-weight: 700;
	color: #000000;
	text-decoration: none;
	transition: color 0.3s ease, gap 0.3s ease;
}

.card-link i {
	transition: transform 0.3s ease;
}

.card-link:hover {
	color: #c8971a;
}

.card-link:hover i {
	transform: translateX(4px);
}

/* Let pillars stack their content so a card-link can pin to the bottom,
   keeping the "Learn More" links aligned across cards of unequal height. */
.value-prop .pillar {
	display: flex;
	flex-direction: column;
}

.value-prop .pillar .card-link {
	margin-top: auto;
	align-self: flex-start;
}

/* Download / document link buttons (Gold page procedures section). */
.doc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.doc-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.1rem 1.25rem;
	background: rgba(254, 207, 106, 0.1);
	border: 1px solid #fecf6a;
	border-radius: 8px;
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	transition: all 0.3s ease;
}

.doc-link i {
	color: #fecf6a;
	font-size: 1.25rem;
}

.doc-link:hover {
	background: rgba(254, 207, 106, 0.2);
	transform: translateY(-3px);
}

.doc-link span {
	display: block;
	font-weight: 400;
	font-size: 0.85rem;
	color: #cccccc;
}


