/***** COLOR SCHEME *****/

:root {
  --primary-color: #473F34 ;
  --secondary-color: #8C9657;
  --text-color: #F0E5C7;
  --accent-color: #BCC977;
}

/***** GLOBAL / TYPOGRAPHY *****/

body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
}

h1, h2, p {
    margin: 0;
    font-weight: 300;
}

.logo, .cafe-name {
    font-family: 'Didot', Georgia, serif;
    font-size: 32px;
}

/***** LAYOUT ******/

header, footer, .hero-section, .testimonial-section {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.info-section, .cta-section {
    background-color: var(--text-color);
    color: var(--primary-color);
}

section {
    padding-bottom: 32px;
}

/***** UTILITIES *****/

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/***** HEADER *****/

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 16px;
}

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

.logo-color {
    color: var(--accent-color);
}

/***** HERO SECTION ******/

.hero-section {
    max-height: 450px;
}

.hero-container {
    position: relative;
    text-align: center;
}

.hero-container .hero-content {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.hero-container img {
    max-width: 90%;
    border-radius: 20px;
}

.hero-container h1 {
    font-size: 60px;
    font-weight: 500;
    margin-bottom: 32px;
}

.hero-container p {
    font-size: 24px;
    margin-bottom: 96px;
}

.hero-container button {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
    border: 2px solid var(--text-color);
    border-radius: 50px;
    font-size: 24px;
    padding: 10px 60px;
}

.hero-container button:hover {
    background-color:var(--primary-color);
}

.hero-content mark {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 10px;
}

.hero-section .img-credit {
    color: var(--primary-color);
    font-size: smaller;
    font-weight: 500;
    margin-right: 80px;
    text-align: right;
}

/***** INFO SECTION ******/

.info-section {
    padding: 32px;
    text-align: center;
}

.info-section h2 {
    font-size: 48px;
    font-weight: 500;
    margin-top: 128px;
    margin-bottom: 32px;
}

.featured-cafes {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.cafe img, .cafe p {
    width: 300px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.cafe-name {
    background-color: var(--accent-color);
    color: var(--primary-color);
    width: 300px;
    padding: 6px 4px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
}

/***** TESTIMONIAL SECTION ******/

.testimonial-section {
    padding: 64px 64px;
    font-style: italic;
}

.testimonial-section h2 {
    font-size: 36px;
}

.testimonial-section p {
    text-align: right;
}

/***** CALL-TO-ACTION SECTION ******/

.cta-section {
    padding: 32px;
    display: flex;
    justify-content: center;
}

.cta {
    display: flex;
    width: 60%;
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 32px;
    gap: 32px;
    margin: 16px 32px;
    border-radius: 10px;
    justify-content:space-around;
}

.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 20px;
    padding: 10px 40px;
    border-radius: 10px;
    border: none;
}

.cta-button:hover {
    /* background-color:var(--accent-color); */
    color: var(--accent-color);
}

/***** FOOTER SECTION ******/

footer {
    padding: 16px 32px;
    text-align: center;
}