/* 
================================================================================
  NOVAE STUDIO - MAIN STYLESHEET
  
  COLOR PALETTE:
  - Dark Blue: #233245
  - Beige: #c5b5a7
  - Hover Beige: #ad9286
  - White: #ffffff
  
  FONTS:
  - Main font: Rutfle June 
  STRUCTURE:
  1. CSS Reset
  2. Font Declarations
  3. Global Styles
  4. Header & Navigation
  5. Hero Section
  6. Services Section
  7. Purpose Section
  8. Footer
  9. Portfolio Pages
  10. About Page
  11. Contact Page
  12. Responsive Design
================================================================================
*/

/* ============================================================================
   1. CSS RESET - Removes default browser styling
============================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
/* ===================================
   2. FONT DECLARATIONS
   =================================== */

@font-face {
    font-family: 'Rutfle June';
    src: url('../lettertypen/FONTSPRINGDEMO-JuneRegular.woff2') format('woff2'),
         url('../lettertypen/FONTSPRINGDEMO-JuneRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rutfle June';
    src: url('../lettertypen/FONTSPRINGDEMO-JuneBold.woff2') format('woff2'),
         url('../lettertypen/FONTSPRINGDEMO-JuneBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
/* ============================================================================
   3. GLOBAL STYLES
============================================================================ */
body {
  font-family: 'Rutle June', Arial, sans-serif;
  color: #233245;
  background-color: #f5f5f5;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container to limit max width */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Remove default list styling */
ul {
  list-style: none;
}

/* Remove default link styling */
a {
  text-decoration: none;
  color: inherit;
}

/* Image styling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================================
   4. HEADER & NAVIGATION
============================================================================ */
header {
  background-color: #233245;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo styling */
.logo img {
  height: 50px;
  width: auto;
}

/* Navigation menu */
header nav ul {
  display: flex;
  gap: 40px;
  align-items: center;
}

header nav ul li a {
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  font-weight: 500;
}

/* Navigation hover effect */
header nav ul li a:hover {
  color: #ad9286;
}

/* ============================================================================
   5. HERO SECTION (Home page)
============================================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 2;
  color: #233245;
  font-size: 120px;
  text-align: center;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 8px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  display: block;
  letter-spacing: 4px;
}

/* ============================================================================
   6. SERVICES SECTION (My Spaces)
============================================================================ */
.my-spaces {
  padding: 80px 40px;
  background-color: #ffffff;
}

.my-spaces h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  letter-spacing: 2px;
  font-weight: 300;
  text-transform: uppercase;
}

/* Grid layout for service items */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.space-item {
  text-align: center;
}

.space-item a {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.space-item a:hover {
  transform: translateY(-10px);
}

.space-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 4px;
}

.space-item h3 {
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 400;
  text-transform: uppercase;
}

/* ============================================================================
   7. PURPOSE SECTION
============================================================================ */
.purpose {
    padding: 80px 40px;
    background-color: #c5b5a7;
    color: #233245;
    text-align: center; 
}

.purpose h2 {
  font-size: 48px;
  margin-bottom: 40px;
  letter-spacing: 2px;
  font-weight: 300;
}

.purpose h2::before,
.purpose h2::after {
  font-weight: 300;
}

.purpose p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;  
    margin-right: auto; 
    letter-spacing: 0.5px;
}

/* ============================================================================
   8. FOOTER
============================================================================ */
footer {
  background-color: #233245;
  color: #ffffff;
  padding: 30px 40px;
  text-align: center;
}

footer p {
  font-size: 14px;
  letter-spacing: 1px;
}

main {
  flex: 1;
}

/* ============================================================================
   9. PORTFOLIO PAGES (Graphic Design, Artwork, 3D Design)
============================================================================ */
main h1 {
  text-align: center;
  font-size: 48px;
  padding: 60px 0 20px;
  letter-spacing: 3px;
  font-weight: 300;
  text-transform: uppercase;
}

.intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.intro p {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.5px;
}

/* Portfolio grid layout */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-item {
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.portfolio-item h2 {
  font-size: 20px;
  padding: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}

.portfolio-item p {
  padding: 0 20px 20px;
  font-size: 14px;
  color: #666;
}

/* Page navigation */
.page-navigation {
  text-align: center;
  padding: 60px 0;
}

.page-navigation a {
  display: inline-block;
  padding: 15px 40px;
  background-color: #233245;
  color: #ffffff;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.page-navigation a:hover {
  background-color: #ad9286;
}

/* ============================================================================
   10. ABOUT PAGE
============================================================================ */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.services {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.services h2 {
  font-size: 32px;
  margin-bottom: 30px;
  letter-spacing: 2px;
  font-weight: 300;
  text-transform: uppercase;
}

.services ul {
  list-style: none;
}

.services ul li {
  font-size: 18px;
  padding: 15px 0;
  border-bottom: 1px solid #e0e0e0;
  letter-spacing: 1px;
}

.services ul li:last-child {
  border-bottom: none;
}

/* ============================================================================
   11. CONTACT PAGE
============================================================================ */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* Form group styling */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Rutle June', Arial, sans-serif;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ad9286;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Submit button */
.contact-form button {
  width: 100%;
  padding: 18px;
  background-color: #233245;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: 'Rutle June', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #ad9286;
}

/* Contact info section */
.contact-info {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 300;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-info a {
  color: #233245;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #ad9286;
}

/* Social links */
.social-links ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.social-links ul li a {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.social-links ul li a:hover {
  color: #ad9286;
}

/* ============================================================================
   12. RESPONSIVE DESIGN
============================================================================ */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  header nav {
    padding: 0 20px;
  }
  
  header nav ul {
    gap: 25px;
  }
  
  .hero h1 {
    font-size: 80px;
  }
  
  .hero h1 em {
    font-size: 60px;
  }
  
  .spaces-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .purpose h2 {
    font-size: 36px;
  }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
  header nav {
    flex-direction: column;
    gap: 20px;
  }
  
  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .hero {
    height: 400px;
  }
  
  .hero h1 {
    font-size: 60px;
  }
  
  .hero h1 em {
    font-size: 45px;
  }
  
  .my-spaces,
  .purpose {
    padding: 60px 20px;
  }
  
  .spaces-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  main h1 {
    font-size: 36px;
    padding: 40px 0 20px;
  }
  
  .intro p {
    font-size: 16px;
  }
  
  .purpose h2 {
    font-size: 28px;
  }
  
  .purpose p {
    font-size: 15px;
  }
}

/* Small mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
  header nav ul {
    font-size: 12px;
    gap: 10px;
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .hero h1 em {
    font-size: 36px;
  }
  
  .my-spaces h2,
  main h1 {
    font-size: 28px;
  }
  
  .portfolio-item h2 {
    font-size: 18px;
  }
  
  .about-content p,
  .services ul li {
    font-size: 16px;
  }
}