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

html {
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  background-color: #d7ccc8;
  overflow: hidden;
}

.about {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1400px;
  width: 100%;
  height: 85vh;
  margin: 0 auto;
  padding: 50px 60px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.text-content {
  flex: 1;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-right: 20px;
  max-height: 100%;
}

.text-content h1 {
  font-family: 'BritannicBold';
  font-size: 3.2em;
  color: #3e2723;
  margin-bottom: 30px;
  line-height: 1.1;
}

.text-content p {
  font-family: 'Caladea', serif;
  font-size: 1.3em;
  color: #5d4037;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.text-content p:last-of-type {
  margin-bottom: 0;
}

.image-content {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100%;
}

.image-content img {
  width: 400px;
  height: 400px;
  max-width: 400px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 6px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  display: block;
}

.image-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1200px) {
  .about-container { 
    gap: 40px; 
    padding: 40px; 
  }

  .text-content h1 { 
    font-size: 2.6em; 
  }

  .text-content p { 
    font-size: 1.15em; 
  }

  .image-content img { 
    width: 350px; 
    height: 350px; 
    max-width: 350px; 
    max-height: 350px; 
  }
}

@media (max-width: 1024px) {
  .about-container { 
    gap: 30px; padding: 30px; 
  }

  .text-content h1 { 
    font-size: 2.2em; 
  }

  .text-content p { 
    font-size: 1.1em; 
  }

  .image-content img { 
    width: 300px; 
    height: 300px; 
    max-width: 300px; 
    max-height: 300px; 
  }
}

@media (max-width: 768px) {
  .about { 
    padding: 0 15px; 
  }

  .about-container { 
    flex-direction: column; 
    gap: 20px; 
    padding: 30px 20px; 
    height: 90vh; 
  }

  .text-content { 
    order: 2; 
    padding-right: 10px; 
    flex: 1; 
    min-height: 0; 
  }

  .text-content h1 { 
    font-size: 1.8em; 
    margin-bottom: 20px; 
    text-align: center; 
  }

  .text-content p { 
    font-size: 1em; 
    line-height: 1.6; 
    margin-bottom: 15px; 
    text-align: left; 
  }

  .image-content { 
    order: 1; 
    max-height: 200px; 
  }

  .image-content img { 
    width: 180px; 
    height: 180px; 
    max-width: 180px; 
    max-height: 180px; 
    border-width: 4px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); 
  }
}

@media (max-width: 480px) {
  .about-container { 
    padding: 25px 15px; 
  }

  .text-content h1 { 
    font-size: 1.6em; 
  }

  .text-content p { 
    font-size: 0.95em; 
  }

  .image-content img { 
    width: 150px; 
    height: 150px; 
    max-width: 150px; 
    max-height: 150px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); 
  }
}

@media (max-width: 768px) {
  .about {
    height: auto;         
    min-height: 100vh;   
    overflow-y: auto;    
    padding-bottom: 40px; 
  }

  .about-container {
    height: auto;        
    max-height: none;    
    overflow-y: auto;  
  }
}

@media (max-width: 768px) {
  body {
    overflow-y: auto;  
    height: auto;     
    min-height: 100vh; 
  }

  .about {
    height: auto;      
    min-height: 100vh;
    padding-bottom: 40px;
  }

  .about-container {
    height: auto;    
    max-height: none;
    overflow: visible; 
    flex-direction: column; 
  }
}
