/* Search Page - c0 Baseline (styled + clean DOM + full a11y) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #ffffff;
  color: #202124;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: #f8f9fa;
  border-bottom: 1px solid #e8eaed;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #5f6368;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #1a73e8;
}

.nav-link:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn-primary {
  background: #1a73e8;
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: #1557b0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.btn-primary:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.btn-secondary {
  background: #f8f9fa;
  color: #3c4043;
  border: 1px solid #dadce0;
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: #f1f3f4;
  border-color: #c6c6c6;
}

.btn-secondary:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.btn-signin {
  padding: 8px 20px;
}

.btn-icon {
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6368;
  transition: background 0.2s;
}

.btn-icon:hover {
  background: #e8eaed;
}

.btn-icon:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* Main Content */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 40px;
}

/* Logo */
.logo-container {
  text-align: center;
  margin-bottom: 32px;
}

.logo {
  font-size: 64px;
  font-weight: 700;
  background: linear-gradient(135deg, #4285f4, #ea4335, #fbbc05, #34a853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
}

.logo-tagline {
  display: block;
  color: #5f6368;
  font-size: 14px;
  margin-top: 8px;
}

/* Search Form */
.search-form {
  width: 100%;
  max-width: 584px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 8px 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.search-box:hover,
.search-box:focus-within {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
  border-color: transparent;
}

.icon-search {
  color: #9aa0a6;
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #202124;
  background: transparent;
}

.search-input::placeholder {
  color: #9aa0a6;
}

.search-input:focus {
  outline: none;
}

.icon-voice {
  margin-left: 12px;
  color: #4285f4;
}

.search-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Quick Links */
.quick-links {
  margin-top: 48px;
  width: 100%;
  max-width: 584px;
}

.quick-links-title {
  font-size: 14px;
  font-weight: 500;
  color: #5f6368;
  margin-bottom: 16px;
  text-align: center;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.quick-link-card:hover {
  background: #e8eaed;
  transform: translateY(-2px);
}

.quick-link-card:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.quick-link-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  margin-bottom: 8px;
  color: #1a73e8;
}

.quick-link-label {
  font-size: 12px;
  color: #3c4043;
  font-weight: 500;
}

/* Footer */
.footer {
  background: #f2f2f2;
  padding: 16px 24px;
  border-top: 1px solid #e4e4e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-location {
  color: #70757a;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: #70757a;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #202124;
  text-decoration: underline;
}

.footer-link:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 600px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .logo {
    font-size: 48px;
  }
  
  .nav {
    display: none;
  }
}

