/* css/global.css */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;600&display=swap');

:root {
    --primary-gold: #D4AF37;
    --dark-charcoal: #121212;
    --off-white: #FAFAF7;
    --text-gray: #4A4A4A;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: var(--dark-charcoal);
    background-color: var(--off-white);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    margin-top: 0;
}

/* --- DYNAMIC NOTICE BAR --- */
.notice-bar {
    background-color: var(--primary-gold);
    color: #000;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* --- HEADER & NAV --- */
header {
    background: var(--dark-charcoal);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.top-bar {
    background: #000;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-contacts span,
.top-contacts a,
.top-socials a {
    display: inline-flex;
    align-items: center;
}

.top-bar a { 
    color: var(--primary-gold); 
    text-decoration: none; 
    margin-left: 20px; 
    transition: color 0.3s ease;
}

.top-bar a:hover { color: #fff; }

/* --- NEW ICON SCALING LOGIC --- */
.icon-img {
    height: 24px; /* Increased for better visibility */
    width: auto;
    margin-right: 10px;
    vertical-align: middle; /* Centers icon with text */
    transition: transform 0.3s ease;
}

.top-socials .icon-img {
    height: 30px; /* Increased for standalone header socials */
    margin-right: 0; 
}

.top-bar a:hover .icon-img,
.footer-section a:hover .icon-img {
    transform: scale(1.15); 
}

nav.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
}

nav.main-nav ul { 
    list-style: none; 
    display: flex; 
    margin: 0; 
    padding: 0; 
}

nav.main-nav ul li { margin: 0 25px; }

nav.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 5px;
    transition: 0.3s;
}

nav.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-gold);
    transition: all 0.3s ease;
}

nav.main-nav ul li a:hover::after { width: 100%; left: 0; }

/* Responsive Header Adjustments */
@media (max-width: 992px) {
    nav.main-nav ul li { margin: 0 10px; }
    nav.main-nav ul li a { font-size: 0.75rem; }
    .top-contacts span, .top-contacts a { display: block; margin: 8px 0; }
}

/* --- FOOTER --- */
footer { 
    background: var(--dark-charcoal); 
    color: #fff; 
    padding: 80px 10% 20px; 
}

.footer-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
}

.footer-section h3 { 
    color: var(--primary-gold); 
    text-transform: uppercase; 
    font-size: 1.2rem; 
    margin-bottom: 25px; 
    letter-spacing: 2px; 
}

.footer-section p, .footer-section a { 
    color: #aaa; 
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: color 0.3s; 
}

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

.hygiene-rating { 
    max-width: 180px; 
}

.footer-bottom { 
    text-align: center; 
    margin-top: 60px; 
    padding-top: 20px; 
    border-top: 1px solid #333; 
    font-size: 0.8rem; 
    color: #666; 
}

