@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

@font-face {
   font-family: 'Gresham';
   src: url('../fonts/Gresham.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}

/* Remove blue focus outlines globally */
*:focus {
    outline: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

a {
   text-decoration: none;
   color: #5c4033;
}
a:hover{
   text-decoration: none;
   color: #5c4033;
}

/* Base styles */
html, body {
   font-family: 'Gresham', 'Oswald', sans-serif;
   font-weight: 200;
   text-align: center;
   text-transform: uppercase;
   background-image: url('../images/backgrounds/Warm.jpeg');
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
   background-repeat: no-repeat;
   color: #5c4033;
   min-height: 100vh;
   margin: 0;
   padding: 0;
}

header, main, footer {
   background: transparent;
}

form {
   font-family: 'Gresham', 'Oswald', sans-serif;
   font-weight: 200;
   text-align: center;
   text-transform: uppercase;
   color: #5c4033;
}

h1{
   padding: 10%;
   padding-bottom: 5%;
   font-size: 3rem;
   color: #5c4033;
}

h6{
   padding-bottom: 10%;
   font-size: 1.3rem;
   color: #5c4033;
}

label{
   font-size: 1.5rem;
   font-weight: 200;
   color: #5c4033;
   display: block;
   margin-top: 15px;
   text-align: center;
}

input[type=text], select, textarea {
   width: 95%;
   background: transparent;
   color: #5c4033;
   margin: 2%;
   padding: 2%;
   border: 1px solid rgba(92, 64, 51, 0.3);
   border-radius: 8px;
   box-sizing: border-box;
   resize: vertical;
   font-family: 'Gresham', 'Oswald', sans-serif;
   font-size: 1.3rem;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

select {
   appearance: none;
   -webkit-appearance: none;
   -moz-appearance: none;
   background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c4033' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
   background-repeat: no-repeat;
   background-position: right 12px center;
   background-size: 20px;
   padding-right: 40px;
   cursor: pointer;
}

select option {
   background: rgba(40, 35, 30, 0.98);
   color: #5c4033;
   padding: 10px;
   text-transform: none;
}

select option:disabled {
   color: rgba(92, 64, 51, 0.5);
   font-style: italic;
}

select:hover {
   background: rgba(255, 255, 255, 0.1);
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

select:focus {
   outline: none;
   border-color: rgba(92, 64, 51, 0.5);
   background-color: rgba(255, 255, 255, 0.15);
   background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c4033' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
   background-repeat: no-repeat;
   background-position: right 12px center;
   background-size: 20px;
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Placeholder styling */
input::placeholder,
textarea::placeholder {
   color: rgba(92, 64, 51, 0.5);
   text-transform: none;
   font-style: italic;
   font-weight: 200;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
   color: rgba(92, 64, 51, 0.5);
   text-transform: none;
   font-style: italic;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
   color: rgba(92, 64, 51, 0.5);
   text-transform: none;
   font-style: italic;
}

input[type=text]:hover, textarea:hover {
   background: rgba(255, 255, 255, 0.1);
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

input[type=text]:focus, textarea:focus {
   outline: none;
   border-color: rgba(92, 64, 51, 0.5);
   background: rgba(255, 255, 255, 0.15);
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
   color: #5c4033;
   background: transparent;
   padding: 12px 30px;
   border: 1px solid rgba(92, 64, 51, 0.3);
   border-radius: 8px;
   cursor: pointer;
   margin: 5%;
   font-family: 'Gresham', 'Oswald', sans-serif;
   font-size: 1.5rem;
   transition: all 0.3s ease;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* When moving the mouse over the submit button, add a darker color */
input[type=submit]:hover {
   color: #5c4033;
   background: rgba(139, 115, 85, 0.2);
   border-color: rgba(92, 64, 51, 0.5);
   box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

input[type=email] {
   width: 95%;
   background: transparent;
   color: #5c4033;
   margin: 2%;
   padding: 2%;
   border: 1px solid rgba(92, 64, 51, 0.3);
   border-radius: 8px;
   box-sizing: border-box;
   font-family: 'Gresham', 'Oswald', sans-serif;
   font-size: 1.3rem;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

input[type=email]:hover {
   background: rgba(255, 255, 255, 0.1);
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

input[type=email]:focus {
   outline: none;
   border-color: rgba(92, 64, 51, 0.5);
   background: rgba(255, 255, 255, 0.15);
   box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Navbar styles - matching Inside.css */
.navbar {
   background: rgba(0, 0, 0, 0.1);
   border-bottom: none;
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   padding: 5px 20px;
}

.navbar a{
   text-transform: uppercase;
   text-align: center;
   font-size: 1.5rem;
}

.btn-transperent, div.dropdown {
   padding: 5%;
}

.btn-transperent:hover {
   padding: 5%;
   background: rgba(139, 115, 85, 0.4);
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Dropdown */
.dropbtn {
   letter-spacing: 0.15rem;
   font-size: 1.5rem;
   font-family: 'Gresham', 'Oswald', sans-serif;
   text-transform: uppercase;
   background: transparent;
   color: #5c4033;
   padding: 5%;
   display: inline;
}

.dropdown {
   text-transform: uppercase;
   position: relative;
   display: inline-block;
}

.dropdown-content {
   text-transform: uppercase;
   display: none;
   position: absolute;
   top: 100%;
   left: 50%;
   transform: translateX(-50%);
   background: rgba(139, 115, 85, 0.4);
   z-index: 1000;
   border-radius: 8px;
   box-shadow: none;
}

.dropdown-content a {
   text-transform: uppercase;
   padding: 12px 16px;
   text-decoration: none;
   display: block;
   font-size: 1.3rem;
}

.dropdown-content a:hover {
   background: rgba(139, 115, 85, 0.5);
   border-radius: 8px;
}

div.dropdown:hover .dropdown-content {
   display: block;
}

div.dropdown:hover {
   background: rgba(139, 115, 85, 0.4);
   border-radius: 12px;
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Icon bar */
.icon-bar {
   display: flex;
   justify-content: center;
   gap: 20px;
   padding: 20px;
}

.icon-bar a {
   color: #5c4033;
   font-size: 1.5rem;
   transition: all 0.3s ease;
}

.icon-bar a:hover {
   transform: scale(1.2);
}

/* Tablet styles */
@media screen and (max-width: 960px){
   html, body{
      background-image: url('../images/backgrounds/Warm.jpeg');
      background-size: cover;
      background-position: center;
   }
   h1 {
      font-size: 2.2rem;
      padding: 15% 5% 0 5%;
   }
   h6 {
      font-size: 1.1rem;
      padding-bottom: 8%;
   }
   .navbar {
      flex-wrap: wrap;
      justify-content: space-between;
   }
   .navbar a {
      font-size: 1.2rem;
   }
   .dropbtn {
      font-size: 1.2rem;
   }
   .dropdown-content a {
      font-size: 1.1rem;
   }
   label {
      font-size: 1.3rem;
   }
   input[type=text],
   input[type=email],
   select,
   textarea {
      font-size: 1.1rem;
   }
   input[type=submit] {
      font-size: 1.3rem;
   }
}

/* Mobile styles */
@media screen and (max-width: 600px){
   h1 {
      font-size: 1.8rem;
      padding: 20% 3% 0 3%;
   }
   h6 {
      font-size: 0.95rem;
      padding-bottom: 6%;
   }
   .navbar {
      padding: 0 10px;
      justify-content: space-between;
   }
   .navbar a {
      font-size: 1rem;
      padding: 3%;
   }
   .btn-transperent, div.dropdown {
      padding: 3%;
   }
   .dropbtn {
      font-size: 1rem;
      padding: 3%;
   }
   .dropdown-content {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
   }
   .dropdown-content a {
      font-size: 0.95rem;
      padding: 10px 14px;
   }
   label {
      font-size: 1.1rem;
      margin-top: 12px;
   }
   input[type=text],
   input[type=email],
   select,
   textarea {
      font-size: 1rem;
      padding: 3%;
   }
   textarea {
      height: 150px !important;
   }
   input[type=submit] {
      font-size: 1.1rem;
      padding: 10px 25px;
      margin: 4%;
   }
   .icon-bar {
      gap: 15px;
      padding: 15px;
   }
   .icon-bar a {
      font-size: 1.3rem;
   }
}

/* Small mobile styles */
@media screen and (max-width: 400px){
   h1 {
      font-size: 1.5rem;
      padding: 25% 2% 0 2%;
   }
   h6 {
      font-size: 0.85rem;
   }
   .navbar a {
      font-size: 0.9rem;
   }
   .dropbtn {
      font-size: 0.9rem;
   }
   label {
      font-size: 1rem;
   }
   input[type=text],
   input[type=email],
   select,
   textarea {
      font-size: 0.9rem;
   }
   input[type=submit] {
      font-size: 1rem;
   }
}
