/* Twyford Cookers - Custom Styles */
/* Using UIKit Framework with custom brand colors */

:root {
  /* Brand Colors - Warm, traditional British feel */
  --tc-primary: #415567;
  --tc-primary-light: #5a7a94;
  --tc-primary-dark: #2c3c4a;
  --tc-accent: #c17f4a;
  --tc-accent-light: #d4996a;
  --tc-cream: #f5f0e8;
  --tc-cream-dark: #e8dfd2;
  --tc-charcoal: #2d2d2d;
  --tc-warm-white: #fdfcfa;
  --tc-copper: #b87333;
}

/* Typography */
body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--tc-charcoal);
  background: var(--tc-warm-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--tc-primary-dark);
}

/* Custom Navbar Styles */
.tc-navbar {
  background: var(--tc-warm-white);
  border-bottom: 1px solid var(--tc-cream-dark);
}

.tc-navbar .uk-navbar-nav > li > a {
  color: var(--tc-primary);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  text-transform: none;
  font-size: 1rem;
}

.tc-navbar .uk-navbar-nav > li > a:hover,
.tc-navbar .uk-navbar-nav > li.uk-active > a {
  color: var(--tc-accent);
}

.tc-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tc-primary-dark) !important;
  letter-spacing: 0.5px;
}

.tc-logo:hover {
  text-decoration: none;
  color: var(--tc-accent) !important;
}

/* Hero Sections */
.tc-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

.tc-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(45, 60, 74, 0.85) 0%, rgba(45, 60, 74, 0.6) 100%);
}

.tc-hero-content {
  position: relative;
  z-index: 1;
  color: var(--tc-warm-white);
  padding: 80px 0;
}

.tc-hero h1 {
  color: var(--tc-warm-white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.tc-hero .uk-text-lead {
  color: var(--tc-cream);
  font-size: 1.25rem;
  line-height: 1.8;
}

/* Buttons */
.tc-btn-primary {
  background: var(--tc-accent);
  color: var(--tc-warm-white);
  border: none;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.tc-btn-primary:hover {
  background: var(--tc-accent-light);
  color: var(--tc-warm-white);
  transform: translateY(-2px);
}

.tc-btn-outline {
  background: transparent;
  color: var(--tc-primary);
  border: 2px solid var(--tc-primary);
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  padding: 10px 26px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.tc-btn-outline:hover {
  background: var(--tc-primary);
  color: var(--tc-warm-white);
}

.tc-btn-light {
  background: var(--tc-warm-white);
  color: var(--tc-primary-dark);
  border: none;
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.tc-btn-light:hover {
  background: var(--tc-cream);
  color: var(--tc-primary-dark);
  transform: translateY(-2px);
}

/* Cards */
.tc-card {
  background: var(--tc-warm-white);
  border: 1px solid var(--tc-cream-dark);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.tc-card:hover {
  border-color: var(--tc-accent);
  box-shadow: 0 8px 30px rgba(65, 85, 103, 0.12);
  transform: translateY(-4px);
}

.tc-card-header {
  background: var(--tc-cream);
  padding: 20px 25px;
  border-bottom: 1px solid var(--tc-cream-dark);
}

.tc-card-body {
  padding: 25px;
}

/* Sections */
.tc-section {
  padding: 80px 0;
}

.tc-section-cream {
  background: var(--tc-cream);
}

.tc-section-primary {
  background: var(--tc-primary);
  color: var(--tc-warm-white);
}

.tc-section-primary h2,
.tc-section-primary h3 {
  color: var(--tc-warm-white);
}

/* Feature List */
.tc-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-feature-list li {
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  border-bottom: 1px solid var(--tc-cream-dark);
}

.tc-feature-list li:last-child {
  border-bottom: none;
}

.tc-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--tc-accent);
  border-radius: 50%;
  opacity: 0.8;
}

/* Divider */
.tc-divider {
  height: 3px;
  width: 60px;
  background: var(--tc-accent);
  margin: 20px 0;
}

.tc-divider-center {
  margin: 20px auto;
}

/* Footer */
.tc-footer {
  background: var(--tc-primary-dark);
  color: var(--tc-cream);
  padding: 60px 0 30px;
}

.tc-footer h5 {
  color: var(--tc-warm-white);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.tc-footer a {
  color: var(--tc-cream);
  transition: color 0.2s ease;
}

.tc-footer a:hover {
  color: var(--tc-accent-light);
  text-decoration: none;
}

.tc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-footer-links li {
  margin-bottom: 10px;
}

.tc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 30px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Content Styling */
.tc-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tc-cream-dark);
}

.tc-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--tc-primary);
}

.tc-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.tc-content ul,
.tc-content ol {
  margin-bottom: 1.5rem;
  padding-left: 25px;
}

.tc-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.tc-content a {
  color: var(--tc-accent);
  text-decoration: underline;
}

.tc-content a:hover {
  color: var(--tc-primary);
}

/* Image Styling */
.tc-img-rounded {
  border-radius: 4px;
}

.tc-img-shadow {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Breadcrumb */
.tc-breadcrumb {
  background: var(--tc-cream);
  padding: 15px 0;
  font-size: 0.9rem;
}

.tc-breadcrumb a {
  color: var(--tc-primary);
}

.tc-breadcrumb a:hover {
  color: var(--tc-accent);
}

/* Contact Form Placeholder */
.tc-form-placeholder {
  background: var(--tc-cream);
  border: 2px dashed var(--tc-cream-dark);
  padding: 40px;
  text-align: center;
  border-radius: 4px;
}

/* Testimonial */
.tc-testimonial {
  background: var(--tc-cream);
  padding: 30px;
  border-left: 4px solid var(--tc-accent);
  font-style: italic;
  margin: 30px 0;
}

/* Table Styling */
.tc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.tc-table th,
.tc-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--tc-cream-dark);
}

.tc-table th {
  background: var(--tc-cream);
  font-weight: 600;
  color: var(--tc-primary-dark);
}

.tc-table tr:hover {
  background: var(--tc-cream);
}

/* Responsive */
@media (max-width: 960px) {
  .tc-hero h1 {
    font-size: 2.2rem;
  }

  .tc-section {
    padding: 50px 0;
  }
}

@media (max-width: 640px) {
  .tc-hero {
    min-height: 400px;
  }

  .tc-hero h1 {
    font-size: 1.8rem;
  }

  .tc-hero-content {
    padding: 50px 0;
  }
}

/* Print Styles */
@media print {
  .tc-navbar,
  .tc-footer {
    display: none;
  }
}
