/* Albert's Bar Marketing Strategy Website */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #f39c12;
  --success-color: #27ae60;
  --background-color: #ecf0f1;
  --text-color: #2c3e50;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.header-content {
  position: relative;
  z-index: 1;
}

.header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.header .location {
  font-size: 1rem;
  opacity: 0.8;
}

/* Navigation */
.nav {
  background: white;
  padding: 1rem 0;
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.nav-item {
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-item:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

/* Sections */
.section {
  padding: 3rem 0;
  margin: 2rem 0;
}

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

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--accent-color);
  margin: 1rem auto;
  border-radius: 2px;
}

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

.card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border-left: 5px solid var(--accent-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

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

.card p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Interactive Elements */
.calculator {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  margin: 2rem 0;
}

.calculator h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--accent-color);
}

.btn {
  background: var(--secondary-color);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: var(--hover-shadow);
}

.btn-primary {
  background: var(--primary-color);
}

.btn-primary:hover {
  background: #1a252f;
}

.btn-success {
  background: var(--success-color);
}

.btn-success:hover {
  background: #219a52;
}

/* Results Display */
.results {
  background: linear-gradient(135deg, var(--success-color), #2ecc71);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-top: 1.5rem;
  text-align: center;
}

.results h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.results .big-number {
  font-size: 3rem;
  font-weight: bold;
  margin: 1rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.results .breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.results .breakdown-item {
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Competitor Analysis */
.competitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.competitor-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.competitor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary-color);
}

.competitor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.competitor-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.competitor-type {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.strength-weakness {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.strengths, .weaknesses {
  padding: 1rem;
  border-radius: 8px;
}

.strengths {
  background: rgba(39, 174, 96, 0.1);
  border-left: 4px solid var(--success-color);
}

.weaknesses {
  background: rgba(231, 76, 60, 0.1);
  border-left: 4px solid var(--secondary-color);
}

.strengths h5, .weaknesses h5 {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.strengths ul, .weaknesses ul {
  list-style: none;
  font-size: 0.9rem;
}

.strengths li::before {
  content: '✓ ';
  color: var(--success-color);
  font-weight: bold;
}

.weaknesses li::before {
  content: '✗ ';
  color: var(--secondary-color);
  font-weight: bold;
}

/* Strategy Timeline */
.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  width: 45%;
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -30px;
  border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -30px;
  border-right-color: white;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid white;
  box-shadow: var(--card-shadow);
}

/* Charts and Visualizations */
.chart-container {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  margin: 2rem 0;
}

.progress-bar {
  background: #ecf0f1;
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 30px;
  background: linear-gradient(90deg, var(--success-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  transition: width 1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }
  
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    padding-left: 50px;
  }
  
  .timeline-content {
    width: 100%;
  }
  
  .timeline-content::before {
    display: none;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .strength-weakness {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Interactive Hover Effects */
.interactive-element {
  cursor: pointer;
  transition: all 0.3s ease;
}

.interactive-element:hover {
  transform: scale(1.05);
}

/* Success Indicators */
.success-metric {
  background: linear-gradient(135deg, var(--success-color), #2ecc71);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  margin: 1rem 0;
}

.success-metric .metric-value {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.success-metric .metric-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Call-to-Action Sections */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
</style>