/*
Theme Name: Gruppo Fonte Theme
Theme URI: https://gruppofonte.com
Author: Gruppo Fonte Trading Inc.
Description: Custom clean corporate theme for Gruppo Fonte Trading Inc.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: gruppo-fonte
*/

:root {
  --primary-green: #0d3b26;
  --dark-green-card: #08281a;
  --accent-gold: #c5a059;
  --gold-hover: #e5be75;
  --dark-bg: #05120c;
  --light-bg: #f8f9fa;
  --text-dark: #222222;
  --text-muted: #555555;
  --font-heading: "Cinzel", "Trajan Pro Bold", "Trajan Pro", serif;
  --font-body: "Lato", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4, 
.brand-title,
.connect-tag,
.connect-title,
.form-label,
.btn-submit {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Sticky Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(13, 59, 38, 0.98);
  backdrop-filter: blur(8px);
  z-index: 9999;
  border-bottom: 2px solid var(--accent-gold);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff;
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 3px;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(rgba(10, 20, 15, 0.78), rgba(13, 59, 38, 0.88)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 8rem 2rem 4rem;
}

.hero-content {
  max-width: 900px;
}

.hero-logo {
  width: 140px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.hero h1 {
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p.tagline {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--accent-gold);
  margin-bottom: 2rem;
  font-family: var(--font-body);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-green);
  color: #ffffff;
  border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
  background-color: var(--accent-gold);
  color: var(--primary-green);
}

.btn-secondary {
  background-color: var(--accent-gold);
  color: var(--primary-green);
  border: 1px solid var(--accent-gold);
  font-weight: bold;
}

.btn-secondary:hover {
  background-color: var(--gold-hover);
}

/* Base Layout Sections */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin: 0.5rem auto 2.5rem;
}

.about {
  background-color: #ffffff;
}

.about-content p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  text-align: justify;
}

.mission-vision {
  background-color: var(--light-bg);
}

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

.card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 6px;
  border-top: 4px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.value-item {
  padding: 1.5rem;
  border-left: 3px solid var(--primary-green);
  background: var(--light-bg);
}

.value-item h4 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

/* Key People Section */
.people {
  background-color: #fdfdfd;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  align-items: start;
}

.person-card-v2 {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.person-card-header {
  background-color: var(--primary-green);
  padding: 2rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.person-avatar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  overflow: hidden;
  flex-shrink: 0;
  background-color: #124d33;
}

.person-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.person-header-info {
  color: #ffffff;
}

.person-header-info h3 {
  font-size: 1.3rem;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.person-header-info p {
  color: var(--accent-gold);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

.person-card-body {
  padding: 2rem 1.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.person-card-body p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.person-card-body p:last-child {
  margin-bottom: 0;
}

.meta-list {
  list-style: square;
  padding-left: 1.2rem;
  margin-top: 1rem;
  color: var(--text-muted);
}

.meta-list li {
  margin-bottom: 0.3rem;
}

/* Business Section */
.business-block {
  margin-bottom: 2.5rem;
}

.subheading-green {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--primary-green);
}

.subheading-gold {
  margin-top: 0.3rem;
  font-weight: bold;
  color: var(--accent-gold);
}

.text-muted {
  color: var(--text-muted);
}

.text-italic-muted {
  margin-top: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
}

.highlight-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 6px;
}

.list-styled {
  list-style: none;
  margin-top: 1rem;
  padding: 0;
}

.list-styled li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.list-styled li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

/* Contact Us Section */
.connect-section {
  background-color: var(--dark-green-card);
  padding: 5rem 2rem;
}

.contact-card-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: #041a10;
  border: 1px solid rgba(197, 160, 89, 0.25);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* Contact Form 7 Styling */
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output {
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.85rem;
  padding: 10px;
  margin-top: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--accent-gold);
  background-color: rgba(197, 160, 89, 0.1);
}

.wpcf7 p {
  margin-bottom: 1.2rem;
}

.wpcf7 label {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  display: block;
  margin-bottom: 0.4rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  background-color: #08281a;
  border: 1px solid #103d28;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
  border-color: var(--accent-gold);
}

.wpcf7 input[type="submit"] {
  width: 100%;
  background-color: var(--accent-gold);
  color: #0d3b26;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.wpcf7 input[type="submit"]:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background: var(--dark-bg);
  color: #ffffff;
  text-align: center;
  padding: 3rem 2rem 1.5rem;
  border-top: 3px solid var(--accent-gold);
}

.footer-nav {
  margin-bottom: 1.8rem;
}

.footer-nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-links a {
  color: #dddddd;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

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

footer p {
  font-size: 0.9rem;
  color: #aaaaaa;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--accent-gold);
}

/* Responsive Media Queries */
@media (max-width: 850px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-green);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.2rem;
    display: none;
    border-bottom: 2px solid var(--accent-gold);
  }

  .nav-links.active {
    display: flex;
  }

  .person-card-header {
    flex-direction: column;
    text-align: center;
  }

  .contact-card-container {
    padding: 1.5rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .btn-group {
    flex-direction: column;
  }
}