/* Import Open Sauce One font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sauce+One:wght@300;400;600;700&display=swap');

/* Full-page layout */ 
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Open Sauce One', sans-serif; /* apply globally */
}

.container-fluid, .row.h-100 {
  height: 100vh;
}

/* Left side with image and overlay */
.left-side {
  background: url('../images/photo_bg.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  height: 100%;
}

.left-side .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(128, 0, 32, 0.65); /* wine overlay */
  z-index: 1;
}

/* Left text */
.left-content {
  position: relative;
  z-index: 2;
  text-align: right;
  padding-right: 2rem;
  font-family: 'Open Sauce One', sans-serif;
}

.left-content h2 {
  font-size: 3rem;
  font-weight: 600; /* less bold */
  line-height: 1.1;
}

.left-content h4 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.1;
  margin-top: 0.5rem;
}

/* Right side wine background */
.right-side {
  background-color: #800020; /* wine background */
  display: flex;
  justify-content: center; /* vertical center */
  align-items: center;     /* vertical center */
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  position: relative; /* for absolute positioning on phones */
}

/* Login content */
.login-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* horizontal center */
  text-align: center;
  font-family: 'Open Sauce One', sans-serif;
}

/* Google button: white default, wine hover */
.google-btn {
  width: 100%;
  max-width: 300px;
  border-radius: 50px;
  padding: 12px 20px; 
  font-weight: 500;
  font-size: 1.05rem;
  border: 2px solid #800020; 
  color: #800020; 
  background-color: #fff;
  transition: all 0.2s ease;
  white-space: nowrap; /* prevent text wrapping */
}

.google-btn:hover {
  background-color: #800020; /* wine background */
  color: #fff; /* white text */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Info text below button */
.login-content small {
  color: #fff;
  display: block;
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 1rem; 
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .left-content h2 { font-size: 2.7rem; }
  .left-content h4 { font-size: 2rem; }
}

/* Phones: absolute positioning for higher placement and larger fonts */
@media (max-width: 768px) {
  .left-content h2 { font-size: 2.6rem; }
  .left-content h4 { font-size: 1.8rem; }

  .left-side { height: 35vh; }
  .right-side { height: 65vh; }

  .login-content {
    position: absolute;
    top: 7.5rem; /* vertical placement */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 260px;
  }

  .google-btn { max-width: 260px; font-size: 1.1rem; padding: 12px 22px; }
  .login-content small { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .left-content h2 { font-size: 2.2rem; }
  .left-content h4 { font-size: 1.6rem; }

  .left-side { height: 30vh; }
  .right-side { height: 70vh; }

  .login-content {
    top: 7.5rem; /* vertical placement */
    max-width: 220px;
  }

  .google-btn { max-width: 220px; font-size: 1rem; padding: 11px 20px; }
  .login-content small { font-size: 1rem; }
}
