/* 
  FOOTER STYLES
*/
.site-footer 
{
	background-color: var(--footer-bg);
	color: var(--gw-platinum);
	padding: 3rem 0 1rem;
	font-size: 0.9rem;
	line-height: 1.6;
}

/* 
  FOOTER CONTAINER
*/
.footer-container 
{
	max-width: var(--footer-container-max-width); 
	margin: 0 auto; 
	display: grid; 
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 2rem;
	padding: 0 1rem; 
}

/* 
  COMPANY INFO SECTION
*/
.footer-company h3 
{
	font-size: 1.5rem;    
	margin-bottom: 1rem;     
	color: var(--gw-gold);        
	display: flex;
	flex-wrap: nowrap; 	
	white-space: nowrap; 	
}

.footer-logo 
{
	margin-top: 1rem;
    align-items: center;
}

.footer-logo img 
{
	height: 200px; 
	width: auto;
	max-width: 100%;
	display: block;
}

/* 
  NAVIGATION AND LINKS SECTIONS
*/
.footer-nav h4,
.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 
{
	color: var(--gw-gold);  
	font-size: 1.1rem;   
	margin-bottom: 1rem; 
	padding-bottom: 0.5rem;   
	border-bottom: 1px solid #ffffff1a; 
}

/* 
  NAVIGATION LISTS
*/
.footer-nav ul,
.footer-links ul 
{
	list-style: none;  
	padding: 0;   
	margin: 0;  
}

.footer-nav li,
.footer-links li 
{
	margin-bottom: 0.5rem; 
}

/* 
  FOOTER LINKS
*/
.footer-nav a,
.footer-links a,
.footer-contact a 
{
	color: var(--gw-platinum);      
	text-decoration: none;   
	transition: color 0.3s ease; 
}

.footer-nav a:hover,
.footer-links a:hover,
.footer-contact a:hover 
{
	color: var(--gw-gold);  
	border: 2px solid var(--gw-gold);
	padding: 5px;
	border-radius: 10px;
	text-decoration: none; 
    box-shadow: 0 0 10px rgba(170, 141, 90, 0.75);  
}

/* 
  CONTACT INFORMATION
*/
.footer-contact address 
{
	font-style: normal;   
	margin-bottom: 1rem; 
}

/* 
  SOCIAL MEDIA LINKS

*/
.social-links 
{
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.social-links a 
{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #2626261a; /* Add a subtle background */
	color: var(--text-light);
	transition: all 0.3s ease;
}

.social-links a:hover 
{
	background-color: #26262633;
	transform: translateY(-2px);
}

/* 
  NEWSLETTER FORM
  Styles for the email signup form.
  Creates a horizontal layout with connected input and button.
*/
.newsletter-form 
{
	display: flex;                          /* Creates a row layout */
	margin-top: 1rem;                       /* Space above the form */
}

.newsletter-form input 
{
	flex: 1;                                /* Takes up available space */
	padding: 0.6rem;                        /* Internal spacing */
	border: none;                           /* Removes default border */
	border-radius: var(--border-radius) 0 0 var(--border-radius); /* Rounds only left corners */
	font-size: 0.9rem;                      /* Slightly smaller text */
}

.newsletter-form button 
{
	padding: 0.6rem 1rem;                   /* Internal spacing */
	background-color: var(--primary-color); /* Primary brand color for button */
	color: var(--text-light);               /* Light text for contrast */
	border: none;                           /* Removes default border */
	border-radius: 0 var(--border-radius) var(--border-radius) 0; /* Rounds only right corners */
	cursor: pointer;                        /* Shows hand cursor on hover */
	transition: background-color 0.3s ease; /* Smooth hover effect */
}

.newsletter-form button:hover 
{
	background-color: var(--secondary-color); /* Secondary color on hover */
}

/* 
  COPYRIGHT BAR
  Styles for the bottom copyright section.
  The border-top creates a subtle separator from the main footer.
*/
.footer-bottom 
{
	margin-top: 2rem;                           /* Space above copyright section */
	text-align: center;                         /* Centers the text */
	padding-top: 1.5rem;                        /* Space above the text */
	border-top: 1px solid rgba(170, 141, 90, 0.75);          /* Subtle separator line */
	font-size: 0.8rem;                          /* Smaller text */
	color: var(--gw-gold);                              /* Gray text color (less emphasis) */
}

/* 
  RESPONSIVE ADJUSTMENTS
  Media queries adjust the footer layout on smaller screens.
  The grid changes from 4+ columns to 2 columns to 1 column.
*/
@media (max-width: 768px) 
{
	.footer-container 
	{
		grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
	}
	
	.footer-company 
	{
		grid-column: span 2;                  /* Company section spans both columns */
	}
}

@media (max-width: 480px) 
{
	.footer-container 
	{
		grid-template-columns: 1fr;           /* Single column on mobile */
	}
	
	.footer-company 
	{
		grid-column: span 1;                  /* Normal span on smallest screens */
	}
	
	/* Stack newsletter form vertically on smallest screens */
	.newsletter-form 
	{
		flex-direction: column;               /* Changes to vertical layout */
	}
	
	.newsletter-form input 
	{
		border-radius: var(--border-radius);  /* Rounds all corners */
		margin-bottom: 0.5rem;                /* Space between input and button */
	}
	
	.newsletter-form button 
	{
		border-radius: var(--border-radius);  /* Rounds all corners */
	}
}
/* 
  END OF FILE
  This comment marks the end of the CSS document.
*/