/* Main stylesheet for Startup Incubator Guide Website */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --coral: #FF6B6B;
  --turquoise: #4ECDC4;
  --off-white: #F7FFF7;
  --dark-text: #333333;
  --white: #FFFFFF;
  --light-gray: #f0f0f0;
  --medium-gray: #cccccc;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  color: var(--dark-text);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--coral);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--turquoise);
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background-color: var(--coral);
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--coral);
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--turquoise);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--coral);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav li {
  margin: 0 0 0 1.5rem;
}

nav a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--coral);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-text);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--turquoise) 0%, var(--coral) 100%);
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
}

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

.hero p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--white);
  color: var(--turquoise);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--white);
}

.btn:hover {
  background-color: transparent;
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 1rem;
}

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

/* Main Content */
main {
  padding: 4rem 0;
}

.section {
  margin-bottom: 4rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  display: inline-block;
}

.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
}

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

.card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
  height: 200px;
  background-color: var(--light-gray);
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 1.5rem;
}

.card h3 {
  margin-top: 0;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  color: var(--medium-gray);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.feature-icon {
  font-size: 3rem;
  color: var(--turquoise);
  margin-bottom: 1rem;
}

/* Sidebar */
.sidebar {
  background-color: var(--coral);
  color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.sidebar h3 {
  color: var(--white);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Sticky Note */
.sticky-note {
  background-color: var(--turquoise);
  color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  margin: 2rem 0;
  transform: rotate(-1deg);
  box-shadow: var(--box-shadow);
}

.sticky-note h3 {
  color: var(--white);
  margin-top: 0;
}

/* Quote */
.quote {
  font-style: italic;
  padding: 1.5rem;
  border-left: 4px solid var(--coral);
  margin: 2rem 0;
  background-color: var(--light-gray);
}

.quote-attribution {
  font-weight: 600;
  text-align: right;
  margin-top: 1rem;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

/* Footer */
footer {
  background-color: var(--dark-text);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--medium-gray);
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: var(--medium-gray);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--coral);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--turquoise);
  color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav {
    width: 100%;
    margin-top: 1rem;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav li {
    margin: 0.5rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
}
